View Single Post
SubCore's Avatar
Posts: 850 | Thanked: 626 times | Joined on Sep 2009 @ Vienna, Austria
#10
Originally Posted by pioupus View Post
When i do this:
Code:
route add default gw <eth_gateway> dev tap0
it tells me
Code:
route: SIOCADDRT: Network is unreachable
It really seems kind of strange.

does anybody ahve an idea?
i assume you don't actually use "<eth_gateway>", but it's ip address in the command.
is tap0 already set-up and active? you should be able to ping the eth_gateway once openvpn has started the tap0 interface.

also, in your original config, you have different nets for your lan and your openvpn clients. if your eth_gateway is in a different subnet than your openvpn clients, you have to set the route to that subnet first.
__________________
"What we perceive is not nature itself, but nature exposed to our method of questioning."
-- Werner Karl Heisenberg