Basically, I want to use both connections for internet simultaneously. Its like, if I want to download without using openvpn, I use
Code:
curl --interface eth0 www.google.com
And if I want to do it with openvpn, I do
Code:
curl --interface tun0 www.google.com
Route table before connecting to VPN;
Code:
Destination Gateway Genmask Flags Metric Ref Use Iface
10.100.98.0 * 255.255.255.0 U 1 0 0 eth0
default 10.100.98.4 0.0.0.0 UG 0 0 0 eth0
With VPN using this configuration
http://dl.dropbox.com/u/7728421/torvpn-shadyabhi.ovpn
Code:
Destination Gateway Genmask Flags Metric Ref Use Iface
10.10.0.1 10.10.54.230 255.255.255.255 UGH 0 0 0 tun0
10.10.54.230 * 255.255.255.255 UH 0 0 0 tun0
free-vpn.torvpn 10.100.98.4 255.255.255.255 UGH 0 0 0 eth0
10.100.98.0 * 255.255.255.0 U 1 0 0 eth0
default 10.10.54.230 0.0.0.0 UG 0 0 0 tun0
After connecting to VPN by doing $sudo openvpn torvpn-shadyabhi.ovpn my all internet traffic goes through VPN gateway. But, I want a way so that I can use both eth0 and tun0 simultaneously.
Any ideas on how can I accomplish that?