@0 block out log on tun0 all @0 block in log on tun0 all @0 block return-rst out log on tun0 proto tcp all @0 block return-rst in log on tun0 proto tcp all @0 block return-icmp out log on tun0 proto udp all @0 block return-icmp in log on tun0 proto udp all @0 block out log quick on tun0 inet from ! 157.161.48.183/32 to any @0 block in quick on tun0 inet from any to 255.255.255.255/32 @0 block in log quick on tun0 inet from 10.0.0.0/8 to any @0 block in log quick on tun0 inet from 172.16.0.0/12 to any @0 block in log quick on tun0 inet from 192.168.0.0/16 to any @0 block in log quick on tun0 inet from 255.255.255.255/32 to any @0 pass out on tun0 inet proto icmp all icmp-type echoreq code 0 keep state @0 pass in on tun0 inet proto icmp all icmp-type echoreq code 0 keep state @0 pass out on tun0 proto udp all keep state @0 pass in on tun0 proto udp from any to any port = domain keep state @0 pass out on tun0 proto tcp all keep state @0 pass in on tun0 proto tcp from any to any port = ssh keep state @0 pass in on tun0 proto tcp from any to any port = smtp keep state @0 pass in on tun0 proto tcp from any to any port = domain keep state @0 pass in on tun0 proto tcp from any to any port = auth keep state