ipfw + natd - not sharing internet for LAN users

Micheal Patterson micheal at tsgincorporated.com
Tue Mar 9 09:18:43 PST 2004





----- Original Message ----- 
From: "Prodigy" <prodigy at punktas.lt>
To: "freebsd-questions" <freebsd-questions at freebsd.org>
Sent: Tuesday, March 09, 2004 10:53 AM
Subject: ipfw + natd - not sharing internet for LAN users


<snip>

> # ipfw show
> 65535 1546 115746 allow ip from any to any
>

This is your problem. Even though you're running NATD, you need to divert
all traffic to NATD in the firewall.

Try adding a divert entry to your firewall like this:

ipfw add 100 divert natd all from any to any via ed1

Then check /etc/services and make sure that there's an entry for natd:

natd            8668/divert # Network Address Translation


--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.



More information about the freebsd-questions mailing list