OpenWRT + OpenVPN problem

Posted On // Leave a Comment

Hello friends! I have a problem. I have a OpenWRT router with a 3g dongle, and I want to use OpenVPN. When the VPN is up, I can ping from the router, but from the other clients I can't even access the internet. The routes


Without VPN (working OK):



route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.64.64.64 0.0.0.0 UG 0 0 0 3g-3g
10.64.64.64 * 255.255.255.255 UH 0 0 0 3g-3g
192.168.5.0 * 255.255.255.0 U 0 0 0 br-lan

With OpenVPN



route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.2.3.9 128.0.0.0 UG 0 0 0 tun0
default 10.64.64.64 0.0.0.0 UG 0 0 0 3g-3g
10.2.3.1 10.2.3.9 255.255.255.255 UGH 0 0 0 tun0
10.2.3.9 * 255.255.255.255 UH 0 0 0 tun0
10.64.64.64 * 255.255.255.255 UH 0 0 0 3g-3g
128.0.0.0 10.2.3.9 128.0.0.0 UG 0 0 0 tun0
187.176.xxx.xxx 10.64.64.64 255.255.255.255 UGH 0 0 0 3g-3g
192.168.5.0 * 255.255.255.0 U 0 0 0 br-lan

Where 10.2.3.1 is the VPN IP (the internal one).


Any clue on how to fix it? Thanks!


http://ift.tt/1dvHQ0Z

0 comments:

Post a Comment