k-h a server I'm connecting to pushes redirect-gateway to me. I don't want to route all traffic through it only the remote subnet. Actually that's just the start. I really want to only route all traffic to and from a certain port through the VPN. I can do that but it's hard if all the traffic is going through the tunnel. Can I disable the redirect-gateway? It's well done, as if they were using "redirect-gateway def1". I'm running ubuntu lucid and I think I can make a port route table if I can figure out how to stop the redirect-gateway.
maikcat hi there, the most easiest thing to do is to talk with openvpn admin so that remove the redirect gateway.. alternative you can remove the default gateway route from your routing table after the connection is established by using a script. michael.
maikcat if you want to access the remote subnet you still need to pass routes by hand... in any case i believe a script is needed. michael
Bebop k-h wrote if I can figure out how to stop the redirect-gateway Solved: janjust wroteroute-nopull