All traffic is passed through OpenVPN although not requested

Posted by BFH on Ask Ubuntu See other posts from Ask Ubuntu or by BFH
Published on 2014-06-05T02:32:01Z Indexed on 2014/06/05 3:38 UTC
Read the original article Hit count: 168

Filed under:
|
|
|

I have a bash script on a Ubuntu box which searches for the fastest openvpn server, connects, and binds one program to the tun0 interface. Unfortunately, all traffic is being passed through the VPN. Does anybody know what's going on?

The relevant line follows:

openvpn --daemon --config $cfile --auth-user-pass ipvanish.pass --status openvpn-status.log

There don't seem to be any entries in iptables when I enter sudo iptables --list.

The config files look like this:

client
dev tun
proto tcp
remote nyc-a04.ipvanish.com 443
resolv-retry infinite
nobind
persist-key
persist-tun
persist-remote-ip
ca ca.ipvanish.com.crt
tls-remote nyc-a04.ipvanish.com
auth-user-pass
comp-lzo
verb 3
auth SHA256
cipher AES-256-CBC
keysize 256
tls-cipher DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:AES256-SHA

© Ask Ubuntu or respective owner

Related posts about networking

Related posts about 13.10