Date: Sun, 13 May 2007 20:56:56 -0400 From: "Jim Stapleton" <stapleton.41@gmail.com> To: Freebsd-net@freebsd.org Subject: VPNC seems to connect, but cannot ping any IPs Message-ID: <80f4f2b20705131756r71850240w3577992241fb4259@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I'm using VPNC (security/vpnc) to get into my works VPN, but I'm having an odd problem I do not know where to look next. I am behind a nat/router, which I unfortantely cannot move out from behind for a while. While I suspect that may be the issue, I'm not sure what else to do. I appear to connect but I cannot ping any host on the network (my desktop at work, the server I adminstrate, either of the DNS servers on the network, etc.) VPNC connects as follows. I've replaced the IP addresses listed with shell variable names. Anything witht he same name has the same IP, differing names suggest differing IPs. The IPs with a .## after were mostly .0, but one with another number, so I decided I ought keep the last byte "unmasked". ======================================== sudo vpnc --gateway $SERVER --id $GROUPID --username=$USERNAME sjss@elrond -> root@elrond: Enter IPSec secret for $GROUPID@$SERVER: Enter password for $USERNAME@$SERVER: Connect Banner: | Welcome to the OIT/VPN network for users at KRC add host $SERVER: gateway 192.168.1.1 add net $A.0: gateway $GATE add net $B.0: gateway $GATE add net $C.0: gateway $GATE add net $D.64: gateway $GATE add net $E.0: gateway $GATE add net $F.0: gateway $GATE add net $G.0: gateway $GATE add net $H.0: gateway $GATE add net $I.0: gateway $GATE add net $J.0: gateway $GATE add net $K.0: gateway $GATE VPNC started in background (pid: 4412)... ======================================== Here's my ifconfig, some things are local and don't need to be masked. The masked IP address matches to the gate above. ======================================== sjss@elrond 20:54:11 (0) ~/vpn > ifconfig nve0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 192.168.1.84 netmask 0xffffff00 broadcast 192.168.1.255 inet 192.168.1.85 netmask 0xffffffff broadcast 192.168.1.85 ether 00:13:d4:2e:2f:62 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1412 inet $GATE --> $GATE netmask 0xffffffff Opened by PID 4531 ======================================== Since this is $GATE --> $GATE, I suspect that is my problem. Any suggestion of how I can/should fix this? I'm not sure/can't figure out what I did wrong. Thank you, -Jim Stapleton
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80f4f2b20705131756r71850240w3577992241fb4259>