Re: Share VPN connection
On Nov 30, 2013, at 20:59 , Ron Leach <ronleach@tesco.net> wrote:
> [snipped the ifconfig listing when VPN is up]
>
> Might the default route need to point to the VPN, instead of the physical eth0 IP address? I'm not expert on VPNs at all, but I have encountered routing problems in LANs with multiple uplinks and gateways, which might be somewhat similar to this situation.
>
> What does
> # route
> say when the VPN is up?
>
> Just a thought; I may be off the track here, but could be worth a check.
>
> regards, Ron
Thanks for your help Ron. Without the VPN, route gives :
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default livebox.home 0.0.0.0 UG 0 0 0 eth1
10.42.0.0 * 255.255.255.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
With the VPN, route gives :
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default * 0.0.0.0 U 0 0 0 ppp0
10.42.0.0 * 255.255.255.0 U 0 0 0 eth0
strong-mf35.rel 192.168.1.1 255.255.255.255 UGH 0 0 0 eth1
strong-mf35.rel 192.168.1.1 255.255.255.255 UGH 0 0 0 eth1
129.189.255.173 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
Francois
Reply to: