FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

12689 questions

15068 answers

24148 comments

47138 members

0 votes
119 views 3 comments
by
Hi,

I have an internet service with multiple public IP addresses (6 in total).

With our old Juniper router, I was able to configure all of these public addresses to map to different internal IPs (eg. x.x.x.1 => 192.168.1.10, x.x.x.2 => 192.168.1.20, etc).

We've now got a new RUTXR1 and I can't easily find how to configure this.  Am I missing something?

I'm also waiting on a new SIM card that will have a static IP and when it arrives, I'll want to do the same on the mobile interface, configured as failover.

Is there any in depth tutorials available for setting up WAN links?  I'll be OK setting up the LAN/DMZ routing & firewall once I get past this "hurdle" ;)

1 Answer

0 votes
by

You're looking for "IP alias" and "NAT" (aka "port forward").

You will need to add IP aliases on your wan interface to use these additional IP addresses. E.g. if you have the subnet 10.0.0.0/29 from your provider, the first IP address is usually used by your ISP. 10.0.0.1 will usually act as the gateway your device will connect to. Your device may then get the IP 10.0.0.2. Since it's a whole subnet, you may also add aliases for all IPs up to 10.0.0.6. Check our tool ipconfig.sh to calculate your subnet yes

After adding all the IP addresses you need, you may add corresponding NAT rules (destination NAT aka port forwarding) to redirect traffic to internal devices and services. https://wiki.teltonika-networks.com/view/RUTX10_Firewall#Port_Forwards

If the standard webgui settings don't suffice, you may take a look at iptables to achieve this: https://wiki.teltonika-networks.com/view/RUTX_1-to-1_NAT

by
Hi nmz,

Thanks for you answer, it sounds like that's what I need.  Unfortunately, I can't find the option for IP Alias.

I have a RUTXR1 with firmware 7.02.7 and it doesn't appear to be there.  I've seen posts for other models and older firmware with the option there

Regards

Ray
by

Unfortunately, I'm not a representative of Teltonika, so I don't know much about versions and exact implementations. A quick search on google brought this up:
https://community.teltonika-networks.com/40595/rutos-7-ip-aliasing-support

It seems like the webgui implementation for IP aliases is missing for your product and version! Anyway, it seems to be possible to add such aliases via the CLI! yes

Regards
nmz

by

Thanks again nmz yes

That's what I'll have to do.

Cheers.