Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2001 16:56:17 -0500
From:      Bill Moran <wmoran@mail.iowna.com>
To:        Trevin Chow <tmchow@sfu.ca>
Cc:        questions@FreeBSD.ORG
Subject:   Re: NAT doesn't work with my firewall rules?
Message-ID:  <3A676681.A7EB136B@mail.iowna.com>
References:  <5.0.2.1.2.20010118130802.02bfc808@mail.brightmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Trevin Chow wrote:
> Here's a SNIPPET of my rules leading up to the divert nat rule and a few
> rules after:

From "snippet", I would assume that there are more rules? Hopefully,
because what you've got below would block just about everything (if the
last rule is "deny all from any to any" - which it usually is) Post the
full ruleset to the list.
Also, what IP pool are you using on the internal interfaces?

> 
> ------
> allow ip from any to any via lo0
> divert 8668 ip from any to any via dc0
> deny ip from any to 127.0.0.0/8
> deny ip from 192.168.0.0/24 to any in recv dc0
> deny ip from 209.53.0.0/18 to any in recv fxp0
> deny ip from 209.53.0.0/18 to any in recv fxp1
> deny ip from 192.168.0.0/16 to any in recv dc0
> deny ip from 172.16.0.0/12 to any in recv dc0
> deny ip from 224.0.0.0/4 to any
> deny ip from 10.0.0.0/8 to any in recv dc0
> allow ip from any to any out xmit dc0
> allow ip from any to any via fxp0
> ------


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?3A676681.A7EB136B>