How to route my traffic through the VPN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello there,
I'm having trouble trying to connect through openconnect VPN on Ubuntu 14.04.
What I basically need is to route my HTTP\S traffic in such way that my public IP will be the VPN address.
I'm connecting using the "network-manager-openconnect".
Here is my route table after I connect to the VPN:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.0.0.138      0.0.0.0         UG    0      0        0 wlan0
10.0.0.0        0.0.0.0         255.0.0.0       U     9      0        0 wlan0
10.100.100.0    0.0.0.0         255.255.255.0   U     0      0        0 vpn0
xx.yy.zz.cc    10.0.0.138      255.255.255.255 UGH   0      0        0 wlan0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 vpn0
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 vpn0

Where xx.yy.zz.cc is the IP of the VPN server.
When I go to "what is my ip" service, I get the same old IP instead of the VPN's one.
I downloaded the last version of the script from here: http://www.infradead.org/openconnect/vpnc-script.html, nothing changed.
I have no idea what should I do in order to route my traffic through the VPN, does anyone know what cause the problem?

Thanks



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux