Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 1998 19:14:02 -0600
From:      Edwin Culp <eculp@webwizard.org.mx>
To:        austin wood <awood@plasm.net>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: NATD Question
Message-ID:  <3637C15A.60F64D7B@webwizard.org.mx>
References:  <Pine.BSF.4.02A.9810281446260.29577-100000@proto.plasm.net>

next in thread | previous in thread | raw e-mail | index | archive | help
austin wood wrote:

> I have a modem connection and I'm sharing it with my LAN.  I (almost)
> succesfully configured natd and/or ipfw to act as a gateway.  The setup
> looks like this:
>
> ---------------   Modem      ----------------  10BaseT  ---------------
> |   Internet  |--------------| FreeBSD Box  |-----------| Other Boxes |
> ---------------              ----------------           ---------------
>
> There is actually a hub bettween the FreeBSD Box and the Other Boxes.  The
> problem is that I when I use a web browser on one of the "Other Boxes", it
> get's stuck on "Waiting for reply".  However, this only happens on about
> 20% of the websites.  Most of the time it works fine.  Here are 2 of the non
> working web sites:
>
>         http://www.idsoftware.com/
>         http://www.futurestep.com/
>

I'm using natd and they both come up fine, although I'm not using a ppp link,
but one ip for a network.  On ppp links, I like to use ppp -ddial -alias for my
connections and not use natd on my, in this case, tun0.  I also sometimes use
kernel pppd between the office for my home network and use proxyarp in the
options file.  I haven't had any problems with that either.  It just grabs the
MAC off my ethernet card and goes to work:-)

As far as configuration, you might try the firewall_enable="YES"
firewall_type="open" natd_enable="YES" natd_interface=ppp0 in your rc.conf
which is similar to what you have.

I would still go with ppp -alias :-)  the famous "kiss" concept :-)

Good luck,

ed


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3637C15A.60F64D7B>