View Single Post
Posts: 306 | Thanked: 106 times | Joined on Feb 2010
#40
Bit more information. After the openvpn connection has been made, the client N900 route looks like this:

Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.8.0.5        0.0.0.0         255.255.255.255 UH    0      0        0 tun0

10.8.0.1        10.8.0.5        255.255.255.255 UGH   0      0        0 tun0

86.9.87.233     192.168.1.254   255.255.255.255 UGH   0      0        0 wlan0

192.168.1.0     10.8.0.5        255.255.255.0   UG    0      0        0 tun0

192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0

0.0.0.0         10.8.0.5        128.0.0.0       UG    0      0        0 tun0

128.0.0.0       10.8.0.5        128.0.0.0       UG    0      0        0 tun0

0.0.0.0         192.168.1.254   0.0.0.0         UG    0      0        0 wlan0
and the asterisk/openvpn server looks like
Code:
#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.8.0.2        0.0.0.0         255.255.255.255 UH    0      0        0 tun0

10.8.0.0        10.8.0.2        255.255.255.0   UG    0      0        0 tun0

192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0

127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo

0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0