[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: my firewall
On Wed, Jan 19, 2005 at 02:07:10PM -0700, R T wrote:
> Hello folks. Thanks to everyone who responded to my problem. The laptop can use the internet now, however it wont resolve host names properly. For example, it wouldnt connect to www.google.ca but it would to 188.8.131.52
> Same for IRC, xhat wouldnt connect to eu.undernet.org but it would connect to 184.108.40.206 ...wierd, huh?
it sounds like you don't have the proper DNS servers set on your client
> Heres the pf.conf Im using:
> # Gatewolf pf rules
> ext_if = "xl0"
> int_if = "ep1"
> nat on $ext_if from 192.168.1.2 to any -> ($ext_if)
any reason you're only NAT-ing for a single IP?
> block in log all
> block out log all
> pass in quick on lo0 all
> pass out quick on lo0 all
> pass in quick on $int_if from any to any
> pass out quick on $int_if from any to any
> pass quick all
you *do* realize that your firewall doesn't actually *firewall*
"Kids, you tried your best and you failed miserably. The lesson is,