VPNC seems to connect, but cannot ping any IPs

Jim Stapleton stapleton.41 at gmail.com
Mon May 14 13:25:37 UTC 2007


Looking at this a bit more, I think I should be able to simply modify
a line on here to get it to work... Which of these would work the
best?

From:
$ ifconfig "$TUNDEV" inet "$INTERNAL_IP4_ADDRESS" $ifconfig_syntax_ptp
"$INTERNAL_IP4_ADDRESS" netmask 255.255.255.255 mtu 1412 up

To:

Do I create a loopback at 127.0.0.2 before hand or not?
$ ifconfig "$TUNDEV" inet 127.0.0.2 $ifconfig_syntax_ptp
"$INTERNAL_IP4_ADDRESS" netmask 255.255.255.255 mtu 1412 up

this isntead uses my local net IP instead of a loopback
$ ifconfig "$TUNDEV" inet 192.168.1.84 $ifconfig_syntax_ptp
"$INTERNAL_IP4_ADDRESS" netmask 255.255.255.255 mtu 1412 up


Thanks again,
-Jim Stapleton

On 5/14/07, Jim Stapleton <stapleton.41 at gmail.com> wrote:
> which version had a good source? I tried two versions with similar errors?
>
> Thanks,
> -Jim Stapleton
>
> On 5/13/07, Jax <cybercorecentre at gmail.com> wrote:
> > Jim Stapleton wrote:
> > > 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.
> > >
> > Not problem until you use udp for communication and the ports open on
> > the fw which are required for ipsec.
> > > Since this is $GATE --> $GATE, I suspect that is my problem.
> > >
> > Yeah the new vpncs start script has bugs like this. I also had to remove
> > code from it so I suggest you to rewrite it as you need or put back the
> > previous version from source.
> >
> > Jax
> >
>


More information about the freebsd-net mailing list