Port Forwarding Issue RUT200 / RUT955

Hi,

I’ve tested this on 3 devices, and using several different devices behind the Teltonika, and port forwarding just doesn’t want to work.

For testing purposes, I have connected the WAN port of a brand new RUT 200, running FW
RUT2M_R_00.07.10.4 to my network.
The WAN port is connected has an IP address of 192.168.10.124
There is a device connected to the LAN port, (no changes to standard config) on 192.168.1.20 serving HTTP pages on port 80. If I connect to the RUT200 wireless AP I can see the expected web page on 192.168.1.20

I have added the below rule to forward port 8888 to port 80 however I can’t get the web page to appear when I browse to http://192.168.10.124:8888/

This is the error in Chrome.

This is really frustrating - there has to be something I’m missing, have put a device with node red on it (port 1880) and that gives the same results. It just looks like port forwarding isn’t working at all.

I’ve read Port Forward: Accessing LAN devices - Teltonika Networks Wiki countless times and I’m convinced I haven’t missed anything - the remote config access works on 192.168.10.124 when enabled and the DDNS stuff will come later when it’s being used in production.

Any help appreciated.

Thanks,

Harv

Hi…
Are you getting " 192.168.10.124 " at WAN (Internet)?
This is not a public ip address… You never will see your web page.

I’m testing - the WAN address of the RUT is 192.168.10.124

The machine I am testing from is on the same subnet (its address is 192.168.10.182, subnet mask 255.255.255.0).

Surely the teltonika should port forward the requests as the port forwarding rule above says- it shouldn’t matter that the WAN port is on a class C subnet and not a public IP as the test machine is in the same range.

Thanks,

Harv

okay… just checking…

  • WAN side:
    WAN 192.168.10.124 (WAN of your RUT)
    PC at WAN side (192.168.10.xxx) conected to your RUT(WAN).

  • LAN side:
    (RUT) LAN 192.168.1.20
    WEB_SERVER 192.168.1.X gateway is 192.168.1.20 ?

  • WAN side:
    WAN 192.168.10.124 (WAN of your RUT)
    PC at WAN side (192.168.10.184) conected to the same network as RUT(WAN).
  • LAN side:
    (RUT LAN IP) 192.168.1.1
    WEB_SERVER 192.168.1.20 gateway is 192.168.1.1

Updated the LAN side.

This might be a firewall issue.
In Network->Firewall->general settings, change wan=>lan to Accept/Accept/Accept or Accept/Accept/Reject.

I’ve just changed the settings to as below, but still no luck, can you check please?

General settings

WAN Zone settings

Thanks,

Harv

The rules look permissive enough.
Could you disable the port forwarding and add a route to 192.168.1.0/24 via 192.168.10.124 on your test PC then access 192.168.1.20:80 and :1880 directly ?
Does that work ?

OK, this is a windows PC, so I’ve used the following command (for anyone that may follow)

So route add 192.168.1.0 MASK 255.255.255.0 192.168.10.124

This however doesn’t work still:

Wireshark available

Connecting to wifi (LAN) on the RUT and then accessing 192.168.1.20:-

Many thanks,

Harv

What is the default route on this 192.168.1.20 machine ?

The router was set to 0.0.0.0 and no DNS set, changing this to the IP of the Teltonika seems to have resolved the issue. Many thanks.

Harv

You can now reactivate your port forwarding rules.
Edit: and restrict the firewall set the rule to Reject/Accept/Reject.

This is all now resolved - many thanks for your help and patience!

Harv