I have this iptables command in my firewall script.
It gets added fine there, however if I enter the command at the cli I get this error.
Why does this rule error out after complete boot up?
Code:
/usr/sbin/iptables -t nat -I WANPREROUTING -p udp -i $wanf -d `nvram get wan_ipaddr` -m multiport --dports 20:22 -j DNAT --to-destination :1194
Code:
root@RT-AC68U:/tmp/home/root# /usr/sbin/iptables -t nat -I WANPREROUTING -p udp -i $wanf -d `nvram get wan_ipaddr` -m multiport --dports 20:22 -j DNAT --to-destination :1194 Bad argument...