root@OpenWrt:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP tcp -- anywhere anywhere tcp dpt:80 state NEW recent: UPDATE seconds: 1 hit_count: 5 name: DEFAULT side: source
tcp -- anywhere anywhere tcp dpt:80 state NEW recent: SET name: DEFAULT side: source
DROP tcp -- anywhere anywhere tcp dpt:2103
ACCEPT tcp -- anywhere anywhere
ACCEPT udp -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:80
ACCEPT tcp -- anywhere anywhere tcp dpt:23
ACCEPT tcp -- anywhere anywhere tcp dpt:22
ACCEPT tcp -- anywhere anywhere tcp dpt:80
ACCEPT tcp -- anywhere anywhere tcp dpt:80
ACCEPT tcp -- anywhere anywhere tcp dpt:23
ACCEPT tcp -- anywhere anywhere tcp dpt:23
DROP tcp -- anywhere anywhere tcp dpt:22
DROP tcp -- anywhere anywhere tcp dpt:22
ACCEPT tcp -- anywhere anywhere tcp dpt:20
ACCEPT tcp -- anywhere anywhere tcp dpt:21
ACCEPT tcp -- anywhere anywhere tcp dpt:20
ACCEPT tcp -- anywhere anywhere tcp dpt:21
DROP tcp -- anywhere anywhere tcp dpt:80
DROP tcp -- anywhere anywhere tcp dpt:23
DROP tcp -- anywhere anywhere tcp dpt:20
DROP tcp -- anywhere anywhere tcp dpt:21
DROP tcp -- anywhere anywhere tcp dpt:22
Chain FORWARD (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere !224.0.0.0/4
DROP all -- anywhere !224.0.0.0/4
DROP all -- anywhere !224.0.0.0/4
DROP all -- anywhere !224.0.0.0/4
ACCEPT tcp -- anywhere anywhere
ACCEPT udp -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere
ACCEPT udp -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere anywhere ! owner UID match root
В настройках, чтобы получить доступ извне хоть по ssh, хоть по web, хоть по telnet, неважно - недостаточно выставить минимальные настройки безопасности и разрешить все эти сервисы.
Начинает работать ONLY при прописывании правил в Безопасность->Правила сетевой защиты:
in Любой 0.0.0.0 - 0.0.0.0 - Пропустить
out Любой 0.0.0.0 - 0.0.0.0 - Пропустить
Вот тогда порты отрываются. А так nmap показывает filtered. Даже icmp не лезут. NTE-1402G(W) Версия ядра #875 Fri Jun 3 09:13:55 NOVST 2011
Версия прошивки #4.2002.0 Mon Jul 18 15:49:36 2011