# This file is interpreted as shell script. # Put your custom iptables rules here, they will # be executed with each firewall (re-)start. iptables -t nat -N fakedns_1 iptables -t nat -N fakedns_53 iptables -t nat -A prerouting_lan -p udp --dport 53 --destination 192.168.222.1 -j fakedns_1 iptables -t nat -A prerouting_lan -p udp --dport 53 --destination 192.168.222.53 -j fakedns_53 # transmission peer-port iptables -A input_wan -p tcp --dport 51413 -j ACCEPT iptables -A input_wan -p udp --dport 51413 -j ACCEPT