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 64.233.167.104
> Same for IRC, xhat wouldnt connect to eu.undernet.org but it would connect to
> 195.68.221.221 ...wierd, huh?
it sounds like you don't have the proper DNS servers set on your client
machine.
> 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*
anything, right?
-j
--
"Kids, you tried your best and you failed miserably. The lesson is,
never try."
--The Simpsons