WAN IPv6 to LAN IPv4 TRB140

Hi,

I would like to know if it’s possible to NAT WAN IPv6 to LAN IPv4 in TRB140? If so, how do I have to configure the TRB140?

For instance, assuming the mobile operator supports IPv6, can I type the TRB140 IPv6 on a remote browser and browse a website of a web server connected to the TRB140 IPv4 LAN?

Thanks in advance,
David

Hello,

RutOS does not have 64nat or similar services available, however, the TRB140 can be configured to lease IPv6 addresses to the LAN clients as long as they support it. To enable this, please navigate to Network → Interfaces → General, edit the mob1s1a1 interface and change the PDP type to IPv4/IPv6. You may also need to change the APN.
Then after saving the changes, edit the LAN interface, and in the DHCP server settings, open the IPv6 settings. Enable the Router Advertisement service and DHCPv6. Your LAN clients should not receive IPv6 addresses.
Let me know if any more help is needed.

Best regards,

Thx for the quick response.

In my scenario, my LAN client (the webserver) has a fixed IPv4 and this cannot be changed. I would like not to have to use VPNs nor public IPv4 for remote access.

Some mobile operators already support IPv6. Then, my approach would be to leverage IPv6 on the WAN side to access the webserver on the IPv4 LAN side.

I understand from your answer that’s not possible with the TRB140, right?

Correct, at the moment this is not possible with TRB140.
However, you may have some luck with the OpenWRT NAT64 package: https://openwrt.org/docs/guide-user/network/ipv6/nat64
As it is not officially supported on RutOS, we cannot guarantee that it will work as intended. You may also need to compile additional kernet packages into our SDK: Software Development Kit - Teltonika Networks Wiki

Best regards,

Nat64 “…works much like the NAT44 used by most home networks that forwards packets between IPv4 private address space and IPv4 public address space, except it forwards between IPv6 (public) addresses and IPv4 public addresses.” (from https://openwrt.org/docs/guide-user/network/ipv6/nat64)

I understand the Nat64 is not intended for my scenario, is it? I need to forward from IPv6 public into IPv4 internal LAN address (not public).