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

[EMAIL PROTECTED] -> [EMAIL PROTECTED]:
Enter IPSec secret for [EMAIL PROTECTED]:
Enter password for [EMAIL PROTECTED]:
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.
========================================
[EMAIL PROTECTED] 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
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to