On Wed, Oct 27, 2004 at 04:21:36PM -0400, Lester wrote:
> Hi all
> New to Open BSD and PF
>
> Trying to set up nat for a 10.x.x.x/24 public 1.2.3.4
> Below is my rule set for NAT only
> I am enabling PF for nat only .. pfctl -eN
> however it is not working ,
> I get no results with pfctl -s state
> pfctl -s nat does show the rule set correctly
> TCP dump on the xl1 shows that the interface is receiving traffic ...
> what I am I missing
>
> Thanks for any insight
did you enable IP Forwarding:
sysctl -w net.inet.ip.forwarding=1
see /etc/sysctl.conf for preserving this across reboots.
-j
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
The water was not fit to drink. To make it palatable, we had to add
whiskey. By diligent effort, I learned to like it.
-- Winston Churchill
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~