All traffic is passed through OpenVPN although not requested
- by BFH
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