Re: pf.conf newbie help
From: Dennis Russo (denrusso_at_yahoo.com)
Date: 08/25/04
- Next message: Dave Uhring: "Re: pf.conf newbie help"
- Previous message: erik van westen: "Re: pf.conf newbie help"
- In reply to: Dave Uhring: "Re: pf.conf newbie help"
- Next in thread: Dave Uhring: "Re: pf.conf newbie help"
- Reply: Dave Uhring: "Re: pf.conf newbie help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 25 Aug 2004 06:04:44 -0700
> How are you sure? Does its /etc/resolv.conf look like this?
>
> [root]# cat /etc/resolv.conf
> lookup file bind
> nameserver 127.0.0.1
I actually don't use my DNS server for that box (the obsd box
performing the NAT - only the machines behind it on my home network
use it), but I did change the resolv.conf file to read what you have
listed.
>
> If you are in an ssh session to the server does it resolve openbsd.org?
>
> [root]# host openbsd.org
> openbsd.org has address 199.185.137.3
Once I made the above change, I ran the above command and received the
same output (199.185.137.3). I am also currently logged into the
machine from outside my network using the domain name (not the IP).
> > When I comment out everything
> > except the nat and add pass in all/pass out all rules, it works great
> > (both for computers accessing the web from behind the obsd box and
> > computers trying to access from the internet). I don't want to
> > firewall packets from my LAN, I want to firewall packets to my LAN.
>
> You should not have any 'pass in' or 'pass out' rules with $IntIF as one
> of the arguments to the rules, except for:
>
> pass in on $IntIF all
> pass out on $IntIF all
When I'm not filtering any packets, I only have my nat line along
with:
pass in all
pass out all
This seems to work (gives me NAT along with the use of my DNS server).
Of course, this isn't the safest route, and I would like to secure
the connection...
cheers,
dr
- Next message: Dave Uhring: "Re: pf.conf newbie help"
- Previous message: erik van westen: "Re: pf.conf newbie help"
- In reply to: Dave Uhring: "Re: pf.conf newbie help"
- Next in thread: Dave Uhring: "Re: pf.conf newbie help"
- Reply: Dave Uhring: "Re: pf.conf newbie help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|