0

Ubuntu Server 12.04 IPSec/L2TP VPN Server w/ Two NICs

view story
linux-howto

http://serverfault.com – I'm trying to setup a Ubuntu 12.04 IPSec/L2TP VPN server and have gotten caught in a snag. The LAN that I want to have access to through the VPN is in one subnet and I have NO access to any of the firewalls or even a public IP. I am trying to circumvent this by adding a second NIC. The second NIC is directly connected to the internet with a public and static IP address. The VPN clients will connect through the second NIC. How can I have all traffic that is put through the IPSec VPN be sent to the second NIC? Visually: [Internet]=======[NIC2 (WAN)]==[Ubuntu Server]==[NIC1 (LAN)]======Target Su (HowTos)