I have a Linux box that establishes a StrongSwan VPN connection. As I understand it, this creates a virtual IP address where packets are routed to so they get into the tunnel. I have other Linux boxes on the same subnet. I would like packets that originate from other machines on the network to be routed to the VPN box and get into the tunnel. I can get packets to the VPN box, but how do I actually get the packets into the tunnel via the virtual IP address?
Is this possible using the routing table on the VPN box to direct incoming packets into the tunnel or can I use iptables to do this routing? Any help in directing me to the right tool or concept would be appreciated, thanks.