Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 1998 19:09:39 +0100 (CET)
From:      Paul Dekkers <psd@cgu.nl>
To:        FreeBSD Mailinglist <freebsd-questions@FreeBSD.ORG>
Subject:   natd: what's wrong?
Message-ID:  <Pine.BSF.3.96.981123190257.6208A-100000@chippie.cgu>

next in thread | raw e-mail | index | archive | help
Hi

I have a setup more or less like this:
              _____
  clients -- |ed1  |
192.168.5.x  |     |
             |__xl0| -- internet (public address)

with the following ifconfig's on the server:
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet (public address) netmask 0xffffff00 broadcast XXX.XXX.XXX.255
        inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.5.1 netmask 0xffffff00 broadcast 192.168.5.255

Now I have the following firewall:
00100 divert 8668 ip from 192.168.0.0/16 to any via (public address)
65535 allow ip from any to any

and natd running with:
natd -a (public address)

But; it doesn't work?! What's wrong?

I have the following items in my kernel:
options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_FORWARD
options         "IPFIREWALL_VERBOSE_LIMIT=100"
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         IPDIVERT  
options         IPFILTER  
options         IPFILTER_LOG

Paul

--
Paul Dekkers 
E-Mail: <P.Dekkers@cgu.nl>
To err is human, to moo bovine


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981123190257.6208A-100000>