Hi,
i was trying to use my firewall.user script with the new uci firewall. In order
to do so i've uncommented the include section in /etc/config/firewall.
My script is basically the default with the lines that allow ssh login
uncommented:
iptables -F input_rule
iptables -F output_rule
iptables -F forwarding_rule
iptables -t nat -F prerouting_rule
iptables -t nat -F postrouting_rule
iptables -F input_wan
iptables -F forwarding_wan
iptables -t nat -F prerouting_wan
iptables -t nat -A prerouting_wan -p tcp --dport 22 -j ACCEPT
iptables -A input_wan -p tcp --dport 22 -j ACCEPT
However after rebooting the box i still cannot ssh on the wan. If i stop
the firewall everything works fine.
Any hints?!?!
Maybe it could be useful to add a commented section in /etc/config/firewall for
allowing ssh access on the wan.
--
--------------------------------------------------------
Roberto Riggio, PhD
CREATE-NET
Via alla Cascata 56/C
38100 Trento (Italy)
E-mail: [EMAIL PROTECTED]
HomePage: http://disi.unitn.it/~riggio/
Tel: +39.0461.314.960
Fax: +39.0461.314.972
--------------------------------------------------------
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel