scrub on xn0 all fragment reassemble scrub on xn1 all fragment reassemble anchor "openvpn/*" all anchor "ipsec/*" all block drop in log quick inet from 169.254.0.0/16 to any label "Block IPv4 link-local" block drop in log quick inet from any to 169.254.0.0/16 label "Block IPv4 link-local" block drop in log inet all label "Default deny rule IPv4" block drop out log inet all label "Default deny rule IPv4" block drop in log inet6 all label "Default deny rule IPv6" block drop out log inet6 all label "Default deny rule IPv6" pass quick inet6 proto ipv6-icmp all icmp6-type unreach keep state pass quick inet6 proto ipv6-icmp all icmp6-type toobig keep state pass quick inet6 proto ipv6-icmp all icmp6-type neighbrsol keep state pass quick inet6 proto ipv6-icmp all icmp6-type neighbradv keep state pass out quick inet6 proto ipv6-icmp from fe80::/10 to fe80::/10 icmp6-type echorep keep state pass out quick inet6 proto ipv6-icmp from fe80::/10 to fe80::/10 icmp6-type routersol keep state pass out quick inet6 proto ipv6-icmp from fe80::/10 to fe80::/10 icmp6-type routeradv keep state pass out quick inet6 proto ipv6-icmp from fe80::/10 to fe80::/10 icmp6-type neighbrsol keep state pass out quick inet6 proto ipv6-icmp from fe80::/10 to fe80::/10 icmp6-type neighbradv keep state pass out quick inet6 proto ipv6-icmp from fe80::/10 to ff02::/16 icmp6-type echorep keep state pass out quick inet6 proto ipv6-icmp from fe80::/10 to ff02::/16 icmp6-type routersol keep state pass out quick inet6 proto ipv6-icmp from fe80::/10 to ff02::/16 icmp6-type routeradv keep state pass out quick inet6 proto ipv6-icmp from fe80::/10 to ff02::/16 icmp6-type neighbrsol keep state pass out quick inet6 proto ipv6-icmp from fe80::/10 to ff02::/16 icmp6-type neighbradv keep state pass in quick inet6 proto ipv6-icmp from fe80::/10 to fe80::/10 icmp6-type echoreq keep state pass in quick inet6 proto ipv6-icmp from fe80::/10 to fe80::/10 icmp6-type routersol keep state pass in quick inet6 proto ipv6-icmp from fe80::/10 to fe80::/10 icmp6-type routeradv keep state pass in quick inet6 proto ipv6-icmp from fe80::/10 to fe80::/10 icmp6-type neighbrsol keep state pass in quick inet6 proto ipv6-icmp from fe80::/10 to fe80::/10 icmp6-type neighbradv keep state pass in quick inet6 proto ipv6-icmp from ff02::/16 to fe80::/10 icmp6-type echoreq keep state pass in quick inet6 proto ipv6-icmp from ff02::/16 to fe80::/10 icmp6-type routersol keep state pass in quick inet6 proto ipv6-icmp from ff02::/16 to fe80::/10 icmp6-type routeradv keep state pass in quick inet6 proto ipv6-icmp from ff02::/16 to fe80::/10 icmp6-type neighbrsol keep state pass in quick inet6 proto ipv6-icmp from ff02::/16 to fe80::/10 icmp6-type neighbradv keep state pass in quick inet6 proto ipv6-icmp from fe80::/10 to ff02::/16 icmp6-type echoreq keep state pass in quick inet6 proto ipv6-icmp from fe80::/10 to ff02::/16 icmp6-type routersol keep state pass in quick inet6 proto ipv6-icmp from fe80::/10 to ff02::/16 icmp6-type routeradv keep state pass in quick inet6 proto ipv6-icmp from fe80::/10 to ff02::/16 icmp6-type neighbrsol keep state pass in quick inet6 proto ipv6-icmp from fe80::/10 to ff02::/16 icmp6-type neighbradv keep state pass in quick inet6 proto ipv6-icmp from :: to ff02::/16 icmp6-type echoreq keep state pass in quick inet6 proto ipv6-icmp from :: to ff02::/16 icmp6-type routersol keep state pass in quick inet6 proto ipv6-icmp from :: to ff02::/16 icmp6-type routeradv keep state pass in quick inet6 proto ipv6-icmp from :: to ff02::/16 icmp6-type neighbrsol keep state pass in quick inet6 proto ipv6-icmp from :: to ff02::/16 icmp6-type neighbradv keep state block drop log quick inet proto tcp from any port = 0 to any label "Block traffic from port 0" block drop log quick inet proto udp from any port = 0 to any label "Block traffic from port 0" block drop log quick inet proto tcp from any to any port = 0 label "Block traffic to port 0" block drop log quick inet proto udp from any to any port = 0 label "Block traffic to port 0" block drop log quick inet6 proto tcp from any port = 0 to any label "Block traffic from port 0" block drop log quick inet6 proto udp from any port = 0 to any label "Block traffic from port 0" block drop log quick inet6 proto tcp from any to any port = 0 label "Block traffic to port 0" block drop log quick inet6 proto udp from any to any port = 0 label "Block traffic to port 0" block drop log quick from to any label "Block snort2c hosts" block drop log quick from any to label "Block snort2c hosts" block drop in log quick proto tcp from to (self) port = ssh label "sshguard" block drop in log quick proto tcp from to (self) port = http label "GUI Lockout" block drop in log quick from to any label "virusprot overload table" block drop in log on ! xn0 inet from 192.168.12.0/24 to any ----------------------------------------------------------------- block drop in log inet from 192.168.12.9 to any block drop in log on xn0 inet6 from fe80::4823:2eff:fe17:c614 to any block drop in log on ! xn1 inet from 192.168.0.0/22 to any block drop in log inet from 192.168.1.9 to any block drop in log on xn1 inet6 from fe80::54bb:62ff:fef9:c5af to any pass in quick on xn1 inet proto udp from any port = bootpc to 255.255.255.255 port = bootps keep state label "allow access to DHCP server" pass in quick on xn1 inet proto udp from any port = bootpc to 192.168.1.9 port = bootps keep state label "allow access to DHCP server" pass out quick on xn1 inet proto udp from 192.168.1.9 port = bootps to any port = bootpc keep state label "allow access to DHCP server" pass in on lo0 inet all flags S/SA keep state label "pass IPv4 loopback" pass out on lo0 inet all flags S/SA keep state label "pass IPv4 loopback" pass in on lo0 inet6 all flags S/SA keep state label "pass IPv6 loopback" pass out on lo0 inet6 all flags S/SA keep state label "pass IPv6 loopback" pass out inet all flags S/SA keep state allow-opts label "let out anything IPv4 from firewall host itself" pass out inet6 all flags S/SA keep state allow-opts label "let out anything IPv6 from firewall host itself" pass out route-to (xn0 192.168.12.1) inet from 192.168.12.9 to ! 192.168.12.0/24 flags S/SA keep state allow-opts label "let out anything from firewall host itself" pass in quick on xn1 proto tcp from any to (xn1) port = http flags S/SA keep state label "anti-lockout rule" anchor "userrules/*" all block return in quick on xn0 reply-to (xn0 192.168.12.1) inet proto tcp from any to label "USER_RULE" block return in quick on xn0 reply-to (xn0 192.168.12.1) inet proto udp from any to label "USER_RULE" pass in log quick on xn1 inet from 192.168.12.10 to any flags S/SA keep state label "USER_RULE: Regra Fácil: Liberado pela Visualização de Log..." pass in quick on xn1 inet all flags S/SA keep state label "USER_RULE: Default allow LAN to any rule" pass quick on xn0 inet proto tcp from 192.168.12.0/24 to 192.168.13.156 flags any keep state (sloppy) label "pass traffic between statically routed subnets" pass quick on xn0 inet from 192.168.12.0/24 to 192.168.13.156 flags S/SA keep state (sloppy) label "pass traffic between statically routed subnets" pass quick on xn0 inet proto tcp from 192.168.13.156 to 192.168.12.0/24 flags any keep state (sloppy) label "pass traffic between statically routed subnets" pass quick on xn0 inet from 192.168.13.156 to 192.168.12.0/24 flags S/SA keep state (sloppy) label "pass traffic between statically routed subnets" pass quick on xn1 inet proto tcp from 192.168.0.0/22 to 192.168.100.0/24 flags any keep state (sloppy) label "pass traffic between statically routed subnets" pass quick on xn1 inet from 192.168.0.0/22 to 192.168.100.0/24 flags S/SA keep state (sloppy) label "pass traffic between statically routed subnets" pass quick on xn1 inet proto tcp from 192.168.100.0/24 to 192.168.0.0/22 flags any keep state (sloppy) label "pass traffic between statically routed subnets" pass quick on xn1 inet from 192.168.100.0/24 to 192.168.0.0/22 flags S/SA keep state (sloppy) label "pass traffic between statically routed subnets" pass quick on xn1 inet proto tcp from 192.168.0.0/22 to 192.20.20.0/24 flags any keep state (sloppy) label "pass traffic between statically routed subnets" pass quick on xn1 inet from 192.168.0.0/22 to 192.20.20.0/24 flags S/SA keep state (sloppy) label "pass traffic between statically routed subnets" pass quick on xn1 inet proto tcp from 192.20.20.0/24 to 192.168.0.0/22 flags any keep state (sloppy) label "pass traffic between statically routed subnets" pass quick on xn1 inet from 192.20.20.0/24 to 192.168.0.0/22 flags S/SA keep state (sloppy) label "pass traffic between statically routed subnets" pass quick on xn1 inet proto tcp from 192.168.0.0/22 to 192.30.30.0/24 flags any keep state (sloppy) label "pass traffic between statically routed subnets" pass quick on xn1 inet from 192.168.0.0/22 to 192.30.30.0/24 flags S/SA keep state (sloppy) label "pass traffic between statically routed subnets" pass quick on xn1 inet proto tcp from 192.30.30.0/24 to 192.168.0.0/22 flags any keep state (sloppy) label "pass traffic between statically routed subnets" pass quick on xn1 inet from 192.30.30.0/24 to 192.168.0.0/22 flags S/SA keep state (sloppy) label "pass traffic between statically routed subnets" anchor "tftp-proxy/*" all