FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
113 views 0 comments
by anonymous

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

1 Answer

0 votes
by anonymous

Hello,

Please check this configuration exapmple: https://wiki.teltonika-networks.com/view/RUTX_1-to-1_NAT.

Best regards,

Žygimantas