Show me useful iptables.
///REPLACE AA:BB:CC etc with the mac address you gonna use to access the router
insmod xt_mac #k2.6 module name
insmod ipt_mac #k2.4 module name
iptables -I INPUT -p tcp --dport 80 -m mac ! --mac-source AA:BB:CC:DD:EE:FF -j REJECT --reject-with tcp-reset
#Block access to the modem
iptables -I FORWARD -d 192.168.100.1 -j DROP with tcp-reset
iptables -I FORWARD -d 192.168.0.1 -j DROP with tcp-reset
What is this for and why should I care about it?
>>62005215
Escaping the botnet.
Forgot to mention these should be for your router running LEDE/Openwrt or DD-WRT.
>>62005215
>why should I care about it
You're right. You shouldn't, /v/tard.
iptables -I FORWARD 1 -p tcp -m multiport --dports 53,80,443 -j ACCEPT
iptables -I FORWARD 2 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -I FORWARD 3 -j DROP
>>62005190
who is this qt girl (male)?
Not iptables but if you put "ALL: 127." in hosts.deny
>>62005190
I bet you write your webservers in assembly too. Use shoreline for a higher level of abstraction.
>>62005190
>i didn't see this miru before
>check her social media
>she now looks like a whore and her tits are huge.
I am sad now.