What's new

Static NAT configuration on Asus Merlin

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Scheggiaimpazzita

Occasional Visitor
Hello all,

For web development purposes I need to configure 4 static nat on my asus RT-AC88U. I din't find any menu about that and I'm only use to Cisco/Juniper/Check Point devices to do that and really not so much skilled on linux environment.

To be more explicative, I must configure something like this:
10.10.10.10 in 156.34.10.10
10.10.10.20 in 156.34.10.20
and so on.

Can anyone help?

Thanks in advance
 
I suppose anything's possible if you're willing to reconfigure most of how the router works.

The main issue is that the whole firmware is designed around the premise of having a single WAN IP address (or 2 for dual-WAN), from which it can do a 1-to-many NAT.
 
Thanks all. After some hours of reading I finally found an IPTABLES configuration that works and is the following:
Code:
iptables -t nat -A INPUT -s <translated destination ip> -j SNAT --to-source=<original destination ip>
iptables -t nat -A OUTPUT -d <original destination ip> -j DNAT --to-destination=<translated destination ip>
iptables is powerful, not really easy to use but it can do almost anything.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top