nat-start
script:#!/bin/sh
iptables -t nat -I VSERVER -p tcp --dport 54000 -j DNAT --to-destination 192.168.1.55:80
service restart_firewall
Thanks I tried restart_firewall and restart_upnp but neither is triggering the script. It's not just the iptables that aren't triggering, either. I have a touch command in there and it's not being executed either.Code:service restart_firewall
#!/bin/sh
touch /jffs/scripts/tmp/000nat-start
iptables -t nat -I VSERVER -p tcp --dport 28452 -j DNAT --to-destination 192.168.50.159:28452
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!