[lug] routing problems
hugh at math.byu.edu
Tue Aug 1 18:43:12 MDT 2000
I am trying to set up a vpn using ppp over ssh.
I am able to make the connection and the two boxen twixt which is the
ssh tunnel can ping each other on the non-Internet routed interface, but
I can't get them to ping something on the lan side. So let me try to
illustrate a little better,
vpn1 eth0: connects to Internet
ssh tunnel with ppp
vpn2 eth0: connects to Internet
the route command that I run on vpn2 is
/sbin/route add -net 192.168.1.0/24 gw 192.168.1.254
when I check the routing table the relevant line is
192.168.1.254 * 255.255.255.255 UH 0 0 0
If I try and ping lan1 from vpn2, it tries to go out over the Internet.
Same sort of setup on vpn1 with the same sort of results.
I know it must be a simple command, but I can't figure it out.
More information about the LUG