Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

How do I set up a virtual network interface in Ubuntu so that OpenSWAN will happily forward packets between a remote mobile subnet and sockets on the local virtual device?

This is my infrastructure:

mobile subnet <=> modem <=> L2TP/IPSec VPN tunnel <=> linux server (ubuntu)

I see that OpenSWAN supports IPSec VPN tunnels. But the problem is I don't want to connect the tunnel on the server side to my company's physical network. I want the server side to be sandboxed -- perhaps linked to a virtual network interface and subnet -- so that scripts running on the linux server can communicate with the mobile subnet, but rogue devices on the mobile subnet can't touch other company resources.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.