[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Show me useful iptables. ///REPLACE AA:BB:CC etc with the mac

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 10
Thread images: 2

File: IMG_0395.jpg (224KB, 768x1024px) Image search: [Google]
IMG_0395.jpg
224KB, 768x1024px
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
>>
File: 1492728556798.jpg (9KB, 210x213px) Image search: [Google]
1492728556798.jpg
9KB, 210x213px
>>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.
Thread posts: 10
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.