Choose source interface for PPTP VPN on Ubuntu
Posted
by
Emyl
on Super User
See other posts from Super User
or by Emyl
Published on 2013-11-09T17:36:57Z
Indexed on
2013/11/10
10:01 UTC
Read the original article
Hit count: 176
I have an Ubuntu Virtualbox guest with two network interface, eth0 (NAT) and eth1 (bridged).
I want to connect to a PPTP VPN using eth1, but I don't know how to specify which interface to use. If i just try:
sudo pon myvpn nodetach
It fails with:
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
Modem hangup
Connection terminated.
Looking at routes with route
seems to indicate that eth0
is being used:
x.x.x.x.no 10.0.2.2 255.255.255.255 UGH 0 0 0 eth0
© Super User or respective owner