[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

routing tables, vpn, etc.



Hi guys,

I've just got set up w/ a vpn for work at home, but I don't really like how
it's knocking out my normal network functionality... normally my routing 
tables are like this (my home box's normal ip is 192.168.0.6)

192.168.0.0  *           255.255.255.0  U   0   0   0  eth0
default      192.168.0.1 0.0.0.0        UG  0   0   0  eth0

Anyway, after i hook up the vpn (which creates cipsec0 as a networking
device, address: 10.3.36.11), my routing tables look like this:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
vpn.flyingj.com 192.168.0.1     255.255.255.255 UGH   0      0        0 eth0
10.0.0.0        *               255.0.0.0       U     0      0        0 cipsec0
default         10.3.16.11      0.0.0.0         UG    0      0        0 cipsec0

So what I'd really like to be able to do is still access computers on my home
LAN, not route my internet over the vpn, etc.  I'm assuming that's just
a simple matter of modifying the routing tables, but I'm not cool enough to do
it, (I tried adding a line that was something like:

Destination    Gateway         Genmask     ... .. .. . ..iface
192.168.0.0    *               255.255.255.0             eth0

but that didn't seem to work.  Any ideas?  Is this even possible?

Thanks,
Cameron Matheson



Reply to: