Page 1 of 1

2 different VPN Tunnels over 2 different interfaces

Posted: Fri Mar 01, 2013 1:29 pm
by marcel.kaus
Hi there,

i was trying to establish 2 different vpn connections from a Client System.
The thing is that the 2 different connections should go over 2 different device, eth0 and usb0 ( umts modem ).
The OpenVPN server is reachable over both interfaces. But both tunnels are established only over one interface.
How do i tell OpenVPN what interface it should use to establish the connection?

my .conf looks like this

Code: Select all

#Client Configfile

dev tun0

remote foo.bar

port 1194
proto udp

script-security 2

ifconfig 10.1.1.1 10.1.1.254
secret static.key
Thanks

Re: 2 different VPN Tunnels over 2 different interfaces

Posted: Fri Mar 01, 2013 1:58 pm
by maikcat
hi there,

not an openvpn's issue,but routing one...

create static routes to your router so it can route
traffic to your servers accordingly..

Michael.