|
Sure thing:
Chain PREROUTING (policy
ACCEPT)
target prot opt source destination ACCEPT all -- 127.0.0.1 127.0.0.1 ACCEPT all -- 127.0.0.1 192.168.10.0/24 ACCEPT all -- 192.168.10.0/24 127.0.0.1 ACCEPT all -- 192.168.10.0/24 192.168.10.0/24 ACCEPT all -- 192.168.10.0/24 0.0.0.0/0 DNAT tcp
--
0.0.0.0/0
x.x.x.x tcp dpt:80 to:192.168.0.2:80
Chain FORWARD (policy
DROP)
target prot opt source destination ACCEPT all -- 127.0.0.1 127.0.0.1 ACCEPT all -- 127.0.0.1 192.168.10.0/24 ACCEPT all -- 192.168.10.0/24 127.0.0.1 ACCEPT all -- 192.168.10.0/24 192.168.10.0/24 BANNED all -- 0.0.0.0/0 0.0.0.0/0 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x16/0x02 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED Chain BANNED (2
references)
target prot opt source destination ACCEPT all -- 127.0.0.1 127.0.0.1 ACCEPT all -- 127.0.0.1 192.168.10.0/24 ACCEPT all -- 192.168.10.0/24 127.0.0.1 ACCEPT all -- 192.168.10.0/24 192.168.10.0/24 LOGDROP all -- y.y.y.y/16 0.0.0.0/0 $IPTABLES -A LOGDROP -j LOG --log-prefix
Logged:
$IPTABLES -A LOGDROP -j DROP My IP address is x.x.x.x and trying to block
y.y.y.y/16
----- Original Message -----
|
- Circumventing IPTables Chris Hoeschen
- RE: Circumventing IPTables Stewart Thompson
- Re: Circumventing IPTables Chris Hoeschen
- Re: Circumventing IPTables Antony Stone
- Re: Circumventing IPTables Ramin Alidousti
- Re: Circumventing IPTables Chris Hoeschen
- Re: Circumventing IPTables Ramin Alidousti
