Score:0

L2TP VPN with 2 network interfaces

az flag

I came up with this idea to use an AWS EC2 with two ethernet interfaces for an L2TP/IPSec VPN. One interface (eth0) will be receiving L2TP/IPSec connections (and ssh connections) from clients while the other (eth1) will be acting as the primary VPN interface. The point is that I could use the eth1 interface and it's identity to browse the internet while eth0 is only used to connect to the VPN; it's never known to the public.

I have tried routing it with iptables, done some research on using the ip route and ip rule commands, and messed with the settings of xl2tpd, pppd, and IPsec. Nothing has worked properly.

I'm using this script on GitHub to setup the VPN. https://github.com/hwdsl2/setup-ipsec-vpn

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.