thedude
November 11th, 2004, 18:02
Upgraded to 3.6 Get this error every time I want check my ruleset
puffy# pfctl -f /etc/pf.conf
pfctl: /etc/pf.os: No such file or directory
Here's my pf.conf. Also, NONE of my machine scna see each othrer on the network. Getting frustrated :(
Interfaces
external = "vr0"
internal = "xl0"
private = "{10.0.0.0/8, 127.0.0.0/8, 172.16.0.0/12, 192.168.0.0/24, 192.168.1.0/24, 255.255.255.255/32}"
#Scrub
scrub in all fragment reassemble
scrub out all
#Nat
nat on $external from 192.168.2/24 to any ->$external
#That which is not expressly permitted is denied
block in on $external all
#Block non-routable addresses
block in quick on $external from $private to any
block out quick on $internal from any to $private
#Block and reset connection on auth requests
block return-rst in on $external proto tcp from any to any port =auth flags S/S
#block all outgoing except traffice I've initiated from behind
#the firewall and are keeping state on = all legit traffic
pass out on $external inet proto tcp all flags S/SA keep state
pass out on $external inet proto { udp, icmp } all keep state
~
puffy# pfctl -f /etc/pf.conf
pfctl: /etc/pf.os: No such file or directory
Here's my pf.conf. Also, NONE of my machine scna see each othrer on the network. Getting frustrated :(
Interfaces
external = "vr0"
internal = "xl0"
private = "{10.0.0.0/8, 127.0.0.0/8, 172.16.0.0/12, 192.168.0.0/24, 192.168.1.0/24, 255.255.255.255/32}"
#Scrub
scrub in all fragment reassemble
scrub out all
#Nat
nat on $external from 192.168.2/24 to any ->$external
#That which is not expressly permitted is denied
block in on $external all
#Block non-routable addresses
block in quick on $external from $private to any
block out quick on $internal from any to $private
#Block and reset connection on auth requests
block return-rst in on $external proto tcp from any to any port =auth flags S/S
#block all outgoing except traffice I've initiated from behind
#the firewall and are keeping state on = all legit traffic
pass out on $external inet proto tcp all flags S/SA keep state
pass out on $external inet proto { udp, icmp } all keep state
~