Сразу оговорюсь, что я нубас.
Потратил весь день, мучаясь с iptables. В конце концов удалил все правила. Очень много шарил по форумам/документациям, так ничего и не нашел. Сижу с debian 8 jessie xfce. Пытался открыть порты 1119, 3724 и 443. Собственно, открыть их хочу, чтобы поиграть в WoW :D. При этом те-же самые порты открыты, если заходить из под Windows (Вторая ОС на моем ноутбуке). Все наборы правил, которые я ставил в iptables не работали. Вот пара из них:
root@debian:/home/ethan/Desktop# iptables -LChain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:3724 flags:FIN,SYN,RST,ACK/SYN
ACCEPT udp -- anywhere anywhere udp dpt:3724
ACCEPT tcp -- anywhere anywhere tcp dpt:1119 flags:FIN,SYN,RST,ACK/SYN
ACCEPT udp -- anywhere anywhere udp dpt:1119
ACCEPT tcp -- anywhere anywhere tcp dpt:https flags:FIN,SYN,RST,ACK/SYN
ACCEPT udp -- anywhere anywhere udp dpt:https
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:3724 flags:FIN,SYN,RST,ACK/SYN
ACCEPT udp -- anywhere anywhere udp dpt:3724
ACCEPT tcp -- anywhere anywhere tcp dpt:1119 flags:FIN,SYN,RST,ACK/SYN
ACCEPT udp -- anywhere anywhere udp dpt:1119
ACCEPT tcp -- anywhere anywhere tcp dpt:https flags:FIN,SYN,RST,ACK/SYN
ACCEPT udp -- anywhere anywhere udp dpt:https
и
root@debian:/home/ethan/Desktop# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
REJECT all -- anywhere loopback/8 reject-with icmp-port-unreachable
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:https
ACCEPT tcp -- anywhere anywhere tcp dpt:1119
ACCEPT tcp -- anywhere anywhere tcp dpt:3724
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT icmp -- anywhere anywhere icmp echo-request
LOG all -- anywhere anywhere limit: avg 5/min burst 5 LOG level debug prefix "iptables denied: "
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ни один из которых не работал, т.е порты так и не открылись. Открытость портов проверял на сайте 2ip.ru и в самом WoW. Вообще не представляю, что делать, надеюсь на вашу помощь.