Quick update here everyone. Well, im not sure exactly what the issue was but I resolved it. Basically, I backed up my old nat.conf file and created a new nat.conf from scratch. (I use vi)
This is all I added in my nat.conf file: #declare interfaces ext_if = "dc0" nat on $ext_if from 192.168.1.0/24 to any -> $ext_if I dont receive a error now when I run pfctl -N /etc/nat.conf !! woo hoo! However, i've run into my next snag. My internal LAN pc's can ping my gateway, however, I cant seem to ping out to the internet. I get destination unreachable. It's a IP that does reply as double checked earlier today. (From my work) Now I need to figure out whats going on. Any suggestions on where to begin? I appreciate everyones input. Really did get me through this. Jason -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jason Williams Sent: Thursday, August 15, 2002 4:40 PM To: [EMAIL PROTECTED] Subject: RE: NAT problems Hello Daniel. Quick question within regards to the command that you suggest I run. Dont mean to sound like a complete idiot, but what am I exactly looking for here? I see the output, im just trying to decypher it now. Thanks again. Jason -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel Hartmeier Sent: Wednesday, August 14, 2002 11:59 PM To: [EMAIL PROTECTED] Subject: Re: NAT problems On Wed, Aug 14, 2002 at 11:17:48PM -0700, Jason Williams wrote: > ext_if = "dc0" > nat on $ext_if from 192.168.1.0/24 to any -> $ext_if That looks fine and should load. The only explanation I can think of is that you have some non-printable characters in there, like a trailing carriage-return (introduced by editing with a foreign editor). Run head -n 8 /etc/nat.conf | tail -n 1 | hexdump -C to verify. Daniel
