diff --git a/openwrt_additional/fw_wan_open_ssh.sh b/openwrt_additional/fw_wan_open_ssh.sh new file mode 100644 index 0000000..c522fe5 --- /dev/null +++ b/openwrt_additional/fw_wan_open_ssh.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +uci -q delete firewall.ssh +uci set firewall.ssh="rule" +uci set firewall.ssh.name="Allow-SSH" +uci set firewall.ssh.src="wan" +uci set firewall.ssh.dest_port="22" +uci set firewall.ssh.proto="tcp" +uci set firewall.ssh.target="ACCEPT" +uci commit firewall +/etc/init.d/firewall restart \ No newline at end of file