LINUX.ORG.RU
Ответ на: комментарий от Systemroot89

# Generated by iptables-save v1.4.7 on Fri Aug 1 09:15:49 2014 *nat :PREROUTING ACCEPT [7127:575676]

:POSTROUTING ACCEPT [879:154427]

:OUTPUT ACCEPT [565:131667]

COMMIT # Completed on Fri Aug 1 09:15:49 2014 # Generated by iptables-save v1.4.7 on Fri Aug 1 09:15:49 2014 *mangle

:PREROUTING ACCEPT [48064:16688874]

:INPUT ACCEPT [42593:16312372]

:FORWARD ACCEPT [4592:267066]

:OUTPUT ACCEPT [49114:29162394]

:POSTROUTING ACCEPT [53694:29428627]

COMMIT # Completed on Fri Aug 1 09:15:49 2014

# Generated by iptables-save v1.4.7 on Fri Aug 1 09:15:49 2014

*filter :FORWARD ACCEPT [0:0]

:INPUT ACCEPT [0:0]

:OUTPUT ACCEPT [0:0]

-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT

-A INPUT -p icmp -d 10.100.1.10/32 -j ACCEPT

-A INPUT -i lo -j ACCEPT

-A INPUT -p tcp -m tcp -m state -i eth0 --dport 22 --state NEW -j ACCEPT

-A INPUT -p tcp -m tcp -m state -i eth0 --dport 10000 --state NEW -j ACCEPT -A INPUT -p tcp -m tcp -d 10.100.1.10/32 --dport 4480 -j ACCEPT

-A INPUT -p tcp -m tcp -d 10.100.1.10/32 --dport 80 -j ACCEPT

-A FORWARD -s 10.100.1.186/32

-A FORWARD -s 10.100.1.16/32 -j ACCEPT только часть

Alick
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.