[plug] vpn breaks home network

Ian Kent raven at themaw.net
Wed Dec 12 00:23:46 WST 2007


On Tue, 2007-12-11 at 23:57 +1100, Rob Dunne wrote:
> Hi Matt,
> 
> what I am doing now is
> 
> plastic: route -n
> Destination     Gateway         Genmask      Flags Metric Ref Use Iface
> 150.229.98.10   192.168.1.254   255.255.255.255 UGH   0    0   0 eth0
> 130.155.80.0    0.0.0.0         255.255.255.0   U     0    0   0 cipsec0
> 0.0.0.0         130.155.80.7    0.0.0.0         UG    0    0   0 cipsec0
> 
> sudo route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0
> sudo route add default gw 192.168.1.254
> sudo route del default gw 130.155.80.7 cipsec0
> 
> route -n
> Destination     Gateway         Genmask    Flags Metric Ref   Use face
> 150.229.98.10   192.168.1.254   255.255.255.255 UGH   0    0   0 eth0
> 130.155.80.0    0.0.0.0         255.255.255.0   U     0    0   0 cipsec0
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0    0   0 eth0
> 0.0.0.0         192.168.1.254   0.0.0.0         UG    0    0   0 eth0
> 
> ping 192.168.1.13  # no joy
> 
> Have I misunderstood something? Are the commands in the right order?
> I will come back and have another go at this tomorrow

Why don't you just do what Matt suggested, twice, after enabling the
vpn, and nothing else!

route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0

Ian





More information about the plug mailing list