On Sat, 1 Sep 2001, Kenneth W Cochran wrote:

> Hello:
> 
> How do I "properly" set up NAT on a system that "transmits" and
> "receives" on different interfaces?
>
> Briefly - Machine A receives on fxp0 & transmits on ppp0. I'd like to
> use a 2nd Ethernet on Machine A (fxp1) for the "NAT"ed/masqueraded
> network.
> 
[snip]
> 
> I'm thinking something needs to be tweaked in the ipfw and/or
> natd-config(s).  Suggestions?  Also, where would be the best place(s)
> to put these "customizations" (for example, so as to not be any more
> "disruptive" than necessary to the base-OS configs)?

        In /etc/rc.conf:

        firewall_enable="YES"
        gateway_enable="YES"
        natd_enable="YES"
        natd_interface="ppp0"

Nick Rogness <[EMAIL PROTECTED]>
 - Keep on Routing in a Free World...
  "FreeBSD: The Power to Serve!"


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to