All pastes #263363 Raw Edit

Quelque chose

public text v1 · immutable
·published 2006-12-01 13:44 UTC
rendered paste body
root@webserver:/home/admin# iptables -L -v -n -x --line-numbers
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
num      pkts      bytes target     prot opt in     out     source               destination
1           0        0 ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0
2           0        0 ACCEPT     all  --  tun0   *       0.0.0.0/0            0.0.0.0/0
3        1332   255275 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
4         255    26220 DROP       all  --  eth1   *       0.0.0.0/0           !10.49.29.3
5           0        0 DROP       all  --  eth0   *       0.0.0.0/0           !10.149.29.227
6          74     3848 ACCEPT     tcp  --  eth1   *       10.0.0.0/8           0.0.0.0/0           tcp dpt:10000 state NEW
7           1       52 ACCEPT     tcp  --  eth1   *       10.0.0.0/8           0.0.0.0/0           tcp dpt:22 state NEW
8           0        0 DROP       all  --  eth1   *       0.0.0.0/0            0.0.0.0/0
9           2      112 ACCEPT     tcp  --  eth0   *       0.0.0.0/0            0.0.0.0/0           tcp dpt:80 state NEW
10          0        0 ACCEPT     tcp  --  eth0   *       0.0.0.0/0            0.0.0.0/0           tcp dpts:20:21 state NEW
11          0        0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
num      pkts      bytes target     prot opt in     out     source               destination

Chain OUTPUT (policy ACCEPT 1479 packets, 513909 bytes)
num      pkts      bytes target     prot opt in     out     source               destination
1          24    18396 DROP       all  --  *      eth1   !10.49.29.3           0.0.0.0/0
2           0        0 DROP       all  --  *      eth0   !10.149.29.227        0.0.0.0/0