Hello,
I've got an RUT955 with the latest firmware. I am trying to replicate a 1:1 NAT setup that I have verified works on a router with DD-WRT firmware. On my DD-WRT router I used this code under Administration - Commands:
Startup:
# Save Startup
WANIF=`get_wanface`
ifconfig $WANIF:0 192.168.11.10 netmask 255.255.0.0 broadcast 192.168.11.255
Firewall:
# Save Firewall
iptables -t nat -I PREROUTING -d 192.168.11.10 -j DNAT --to 192.168.0.10
iptables -t nat -I POSTROUTING -s 192.168.0.10 -j SNAT --to 192.168.11.10
iptables -I FORWARD -d 192.168.0.10 -j ACCEPT
On the RUT955 the Startup code was configured in the UI and the Firewall code was entered in the Firewall Custom Script. This does not work.
Can anyone point me in the way to see what I may be doing wrong here?
Thanks,
Ben