You are not logged in.
Hi,
I have a problem with the routes after correct authentication with an openvpn server.
My home router is at 192.168.0.1 and my IP is 192.168.0.x
The network behind the openvpn server is 192.168.80.0/24 and let's say the public IP is 99.99.99.99
Ok, now on "Routes I checked both":
*Ignore automatically obtained routes
*Use this connection only for resources on it's network
this is the routing table after the authentication:
# ip route
default via 192.168.1.1 dev wlan0 proto static
99.99.99.99 via 192.168.1.1 dev wlan0 proto static
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.100 metric 2
192.168.80.0/24 dev tap0 proto kernel scope link src 192.168.80.248 [my tap0 IP address]
Now normally the default gateway should be last if I'm not wrong and another "thing" is that the public IP route should not be there (never seen such a thing) as you can understand, when I try to reach some host on 80.0/24 network the packets are going through the default gateway:
here the route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
99.99.99.99 192.168.1.1 255.255.255.255 UGH 0 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
192.168.80.0 0.0.0.0 255.255.255.0 U 0 0 0 tap0
What's wrong? , how can I fix the routing table?
I'm using network manager of course.
Offline
Please this is really urgent, I need this openvpn for work, any idea?
Offline