Connect two RUT955 with different LAN

have two RUT955 with Mobiles (SIM) WAN in different LAN’s:

RUT955_1 - LAN 192.168.3.0/24
RUT955_2 - LAN 172.15.1.0/24

both RUT955 have:

  • enabled DHCP;
  • enabled “Use WAN port as LAN”.

need make connection that one device from RUT955_1 can connect to other device from RUT955_2: for example 192.168.3.55 → 172.15.1.55

it’s possible?

Yes. With VPN. May be, you will need intermediate machine, having public IP.

Beware, 172.15.1.0/24 is a public address did you mean a value in the 172.16…172.31 range?
You can use zerotier or RMS if you don’t have a public address.

yes, misclick - RUT955_2 - LAN 172.16.1.0/24
RUT955_1 - LAN 192.168.3.0/24

I need coonect both RUT with cable.

Hello,

If you want to connect both RUT955 via cable locally, you can either configure one of the ports on one of the devices as a WAN or VLAN.

For instance, you can set up a WAN or VLAN port on RUT955_1, configure it to obtain an IP address via DHCP from RUT955_2, and then physically connect it to the LAN port on RUT955_2. Following this, on RUT955_2, you’ll need to add a static route for the subnet 192.168.3.0/24 through the IP address of the WAN (or VLAN) port on RUT955_1.

Now, if you choose to configure the port as a WAN, you’ll need to assign it to a different firewall zone than “mob1s1a1” because both the wired WAN port and “mob1s1a1” are in the same firewall zone by default, which blocks incoming connections. Hence, you need to split them. This can be done by editing WAN interface in Network → Interfaces → edit WAN → Firewall settings → Set custom firewall zone (whatever name you want). Then, navigate to Network → Firewall and change Input/Output/Forward for your new zone to ACCEPT.

Alternatively, if you opt for configuring a VLAN, it’s recommended to use one of the LAN ports for simplicity, as port-based VLAN configuration cannot be used to set up a VLAN on the WAN port.

Static routes wiki here.
VLAN information here.

Kind Regards,

it’s works
only one change - I set static IP for RUT955_1 port (IP from RUT955_2 network)

thanks

1 Like

This topic was automatically closed after 15 days. New replies are no longer allowed.