[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 3.2 NAT set up problems
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: 3.2 NAT set up problems
- From: Greg Thomas <getbsd_(_at_)_sbcglobal_(_dot_)_net>
- Date: Sat, 4 Jan 2003 12:11:53 -0800
On Saturday, Jan 4, 2003, at 05:47 US/Pacific, cmustard wrote:
I have just set up NAT on a 3.2 box. There are some changes to setting
NAT this release which i thought i understood but apparently did not.
I am also running dhcp to the internal network. The dhcpd server seems
be working fine because everybody is recieving an ip and can ping all
boxes on the internal network. The problem is no one can ping anything
outside the internal network.
Here are some details:
/etc/sysctl.conf -> net.inet.ip.forwarding = 1
/etc/rc.conf -> pf=YES
/etc/pf.conf -> nat on vr1 from 10.0.0.0/8 to any -> 192.168.0.1 ->
pass in all, pass out all
# vr1 is external nic connected to hub which is connected to the
I'm used to a /etc/nat.conf and a /etc/mygate, neither of which is in
release. I would appreciate any insight anyone could provide.
You're right about nat.conf since it's all in pf.conf now but I believe
/etc/mygate is still required.