Page 1 of 1

route traffic of one network adapters, two connected

Posted: Tue Jan 10, 2012 5:04 am
by elios115
i am just a newbie here hopefully i ll be able to get help.
i have two network adapters on my computer.both wireless connecting to the same network.
i m a client of a vpn service using ovpn since i am in a country where almost everything is blocked.
the server side of the vpn redirects all client network traffic when connected.
how can i redirect the traffic of one of the two wireless adapters through the vpn tunnel without the other one.
will bridging the adapter needed to be tunneled with the tap adapter created by the ovpn connection will do?
thank you for your help

Re: route traffic of one network adapters, two connected

Posted: Wed Jan 11, 2012 9:33 am
by elios115
anybody??
after some research i found that using
push route [ipaddress to skip] 255.255.255.0 gateway(which is the ip of my router)
eg push route 192.168.2.3 255.255.255.0 192.168.2.1

but its not working taking into consideration that 192.168.2.3 is the of the network that i dont want its traffic to be redirected the tunnel.
if the server side use push "redirect-gateway def1" will the upper push route override the server one?