How do I stop OpenVPN from using every interface?

1

I've previously dealt with PPTP, which would give me the ppp0 interface that I could bind services to. However, OpenVPN covers all interfaces. How can I make it only work on a single interface, thus allowing the rest of the network to work without going via OpenVPN? I'm using a tun device.

Thanks!

FLX

Posted 2013-03-01T02:38:57.407

Reputation: 319

Answers

1

Google is your friend - https://kindlund.wordpress.com/2007/11/19/configuring-multiple-default-routes-in-linux/ - basically (from the mouthes of the OpenVPN guys), the solution has not within OpenVPN, its with routing. You have not specified your OS or exactly what you are trying to do though, so its difficult to provide specifics here. [ You can influence routing from the OpenVPN config, but until we know what you are trying to achieve - including configs and route tables we can't provide specifics ]

davidgo

Posted 2013-03-01T02:38:57.407

Reputation: 49 152

This was enough info, I'm on Ubuntu 12.04 LTS and figured it out from there :) Thanks! – FLX – 2013-03-03T08:21:57.473

2Could you maybe provide the details? I'm in a similar boat and would like to know what you did. – dirtside – 2013-10-14T00:18:41.987