Well, this should be fairly straight-forward but I'm apparently overlooking something. LAN clients have access to the internet because placing an IP in the browser window of LAN client shows the web page, as does pinging-by-IP to outside server from LAN client. However, trying the web-site name does not work.
My pf.conf is fairly simple and has code below. DNS Traffic should be forwarded to ADSL modem which has IP 192.168.1.1. The LAN gateway its self has no DNS problems and has in /etc/rc.conf
. The LAN clients on the other hand, get defaultrouter setting as $int_if
I am not getting any log output about the error, despite having "set debug loud". I must be forgetting something obvious.
My pf.conf is fairly simple and has code below. DNS Traffic should be forwarded to ADSL modem which has IP 192.168.1.1. The LAN gateway its self has no DNS problems and has in /etc/rc.conf
Code:
defaultrouter="192.168.1.1"
Code:
################ Translation ###############################
nat on $ext_if from ($int_if:network) to any -> $ext_if
################ Filtering ##################################
block in log on $ext_if
pass in quick on $int_if from any to any # no reason to restrict LAN
pass out
pass in quick on $ext_if inet proto {tcp udp} from any to $int_if port 53
I am not getting any log output about the error, despite having "set debug loud". I must be forgetting something obvious.