I'm trying to build a vpn from home to work using ppp tuneled over ssh. I'm able to get the ppp link up, and ssh to the IP address of the ppp session at home, but I must have something wrong in the routeing, as I can't even telent to it by it's address on the home LAN (the box running ppp that is).
Here's what I've got. ppp.conf on home mahcine: wvpn: set timeout 6000 enable proxy set ifaddr 192.168.0.1 192.168.1.1 add 192.168.1.1/24 HISADDR add! XXX.85.0.0 255.255.0.0 192.168.1.1 ppp.conf on work machine (originates link) wvpn: set timeout 6000 set ifaddr 127.1.1.1/0 127.1.1.2/0 add 0 0 127.1.1.2 set dial set device "!runsocks ssh [EMAIL PROTECTED]" And here are the routes at home with this up: Script started on Mon Mar 8 15:31:20 2004 ]0;[EMAIL PROTECTED];/home/[EMAIL PROTECTED]:/home/stan $ netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 205.159.77.234 UGSc 66 5295 ed0 127.0.0.1 127.0.0.1 UH 2 28543 lo0 XXX.85 192.168.1.1 UGSc 0 3 ed0 XXX.85.109/24 192.168.0.1 UGSc 0 11 ed0 192.168.1 192.168.1.1 UGSc 1 0 ed0 192.168.1.1 192.168.0.1 UH 1 163 tun1 205.159.77 link#1 UC 10 0 ed0 205.159.77.58 link#1 UHLW 1 3 ed0 205.159.77.60 00:50:ba:52:af:24 UHLW 1 584094 ed0 927 205.159.77.224 00:50:ba:52:69:f1 UHLW 7 481149818 lo0 205.159.77.225 00:20:af:a7:49:5e UHLW 1 2770016 ed0 137 205.159.77.228 00:50:ba:52:6a:22 UHLW 1 7243508 ed0 1063 205.159.77.231 00:50:ba:52:ac:0c UHLW 0 8128510 ed0 1197 205.159.77.232 00:10:60:c2:c3:b7 UHLW 2 102804 ed0 578 205.159.77.234 00:90:27:a5:7d:ba UHLW 64 1954368 ed0 811 205.159.77.237 00:50:ba:52:ac:0d UHLW 1 7457855 ed0 1181 205.159.77.255 ff:ff:ff:ff:ff:ff UHLWb 1 10722 ed0 ]0;[EMAIL PROTECTED];/home/[EMAIL PROTECTED]:/home/stan $ Script done on Mon Mar 8 15:31:28 2004 And on the machine at work: Script started on Mon Mar 8 15:31:41 2004 ]0;[EMAIL PROTECTED];/home/[EMAIL PROTECTED]:/home/stan $ netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 170.85.109.1 UGSc 6 19 ed1 127.0.0.1 127.0.0.1 UH 1 262 lo0 XXX.85.109/25 link#3 UC 4 0 ed1 XXX.85.109.1 00:e0:16:75:06:84 UHLW 6 1 ed1 1125 XXX.85.109.104 00:e0:98:04:28:0c UHLW 2 2 lo0 XXX.85.109.109 00:60:97:15:e8:da UHLW 0 335 ed1 811 XXX.85.109.127 ff:ff:ff:ff:ff:ff UHLWb 2 191 ed1 192.168.0.1 192.168.1.1 UH 1 237 tun0 205.159.77 192.168.1.1 UGSc 0 20 ed1 ]0;[EMAIL PROTECTED];/home/[EMAIL PROTECTED]:/home/stan $ Script done on Mon Mar 8 15:31:48 2004 What am I doing wrong? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"