one weird trick to circumvent network filtering set up by people that haven’t used a computer in 20 years

This commit is contained in:
Charlotte 🦝 Delenk 2022-05-05 21:04:52 +01:00
parent 02d00bd4a5
commit d4e29cd6f0
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -18,4 +18,5 @@
iptables -A FORWARD -i br0 -j ACCEPT iptables -A FORWARD -i br0 -j ACCEPT
iptables -t nat -A POSTROUTING -o enp1s0f0u4 -s 192.168.2.0/24 -j MASQUERADE iptables -t nat -A POSTROUTING -o enp1s0f0u4 -s 192.168.2.0/24 -j MASQUERADE
''; '';
networking.interfaces.enp1s0f0u4.macAddress = "00:d8:61:d0:de:1e"; # fucking ISP
} }