Hello,
I've been trying out to set up a OpenVPN becuse my internet connection has an proxy with basic authentication and only let's through TCP data, thus, not letting me torrent nor play online games, I believe setting it up would solve the problem and I've been told that VPN tunnels all traffic, still, I haven't been able to.
I've been looking some guides, and tried different solutions.
Here's my config.opvn from
http://www.vpnbook.com/ with some added options such as the proxy
client
dev tun3
proto tcp
remote VPN_GATEWAY 80
remote VPN_name 80
resolv-retry infinite
nobind
persist-key
persist-tun
auth-nocache
auth-user-pass pass
comp-lzo
verb 3
http-proxy-retry
http-proxy proxy_IP proxy_PORT stdin basic
cipher AES-128-CBC
fast-io
pull
route-delay 2
redirect-gateway
<ca>
#Certificate
</ca>
<cert>
#certificate
</cert>
<key>
#Key
</key>
I run it with:
sudo openvpn --cd /opt/vpnbook --config config.ovpn
Where I get this relevenat lines:
Fri Dec 11 22:34:44 2015 NOTE: unable to redirect default gateway -- Cannot read current default gateway from system
Fri Dec 11 22:34:44 2015 /sbin/ip route add 10.12.0.1/32 via 10.12.0.25
Fri Dec 11 22:34:44 2015 WARNING: External program may not be called unless '--script-security 2' or higher is enabled. See --help text or man page for detailed info.
Fri Dec 11 22:34:44 2015 WARNING: Failed running command (--route-up): external program fork failed
Fri Dec 11 22:34:44 2015 Initialization Sequence Completed
$ ip route show
10.12.0.1 via 10.12.0.25 dev tun3
10.12.0.25 dev tun3 proto kernel scope link src 10.12.0.26
proxy_IP via 192.168.1.1 dev eth0 proto static
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.120 metric 1
Please throw some light on this issue, I hope to hear from you,
kind regards