asdd
25-02-2009, 12:29
Имею:
Wl-500gP V2, флешка, финт...
Прошивка 1.9.2.7-10.5.
Не могу удалить последнее правило в iptables
[admin@Wl-500g root]$ iptables -L INPUT
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere state NEW
ACCEPT all -- anywhere anywhere state NEW
ACCEPT igmp -- anywhere BASE-ADDRESS.MCAST.NET/4
ACCEPT udp -- anywhere BASE-ADDRESS.MCAST.NET/4udp dpt:!upnp
ACCEPT udp -- anywhere anywhere udp spt:bootps dpt:bootpc
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
DROP all -- anywhere anywhere
[admin@Wl-500g root]$ iptables -D INPUT -j DROP -p ALL
iptables: Bad rule (does a matching rule exist in that chain?)
Что нужно для этого сделать? Все делал по инструкции http://www.wl500g.info/showthread.php?t=12883&highlight=Bad+rule
Wl-500gP V2, флешка, финт...
Прошивка 1.9.2.7-10.5.
Не могу удалить последнее правило в iptables
[admin@Wl-500g root]$ iptables -L INPUT
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere state NEW
ACCEPT all -- anywhere anywhere state NEW
ACCEPT igmp -- anywhere BASE-ADDRESS.MCAST.NET/4
ACCEPT udp -- anywhere BASE-ADDRESS.MCAST.NET/4udp dpt:!upnp
ACCEPT udp -- anywhere anywhere udp spt:bootps dpt:bootpc
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
DROP all -- anywhere anywhere
[admin@Wl-500g root]$ iptables -D INPUT -j DROP -p ALL
iptables: Bad rule (does a matching rule exist in that chain?)
Что нужно для этого сделать? Все делал по инструкции http://www.wl500g.info/showthread.php?t=12883&highlight=Bad+rule