iface vpn-radius housebdry vpn sgo
iface vpn-chiark sgo
iface vpn-national upn
+ iface vpn-mdwdev upn
iface vpn-+ vpn
defhost telecaster
iface eth0 jump colo
addr 172.29.198.160/27 2001:ba8:1d9:a000::/64
via colohub
host national 1 ::1:1
+ host mdwdev 2 ::2:1
## Linode hosts.
defhost national
### Locally-bound packet inspection.
clearchain inbound
+clearchain inbound-untrusted
## Track connections.
commonrules inbound
openports inbound
## Inspect inbound packets from untrusted sources.
+run ip6tables -A inbound -s 2001:8b0:c92:8000::/49 -g inbound-untrusted
+run ip6tables -A inbound -s 2001:ba8:1d9:8000::/49 -g inbound-untrusted
+run ip46tables -A inbound-untrusted -g forbidden
run ip46tables -A inbound -g forbidden
run ip46tables -A INPUT -m mark --mark $from_scary/$MASK_FROM -g inbound
run ip46tables -A INPUT -m mark --mark $from_untrusted/$MASK_FROM -g inbound
+run iptables -A inbound -s 172.29.198.0/24 -j inbound-untrusted
## Allow responses from the scary outside world into the untrusted net, but
## don't let untrusted things run services.