FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
1,194 views 4 comments
by anonymous

Hello, dear Teltonika community.

I have a problem with RUT955 to forward ports from specific IP.

I have two different devices connected to the Router over WiFi:
1) My Notebook, which got IP-Address <192.168.1.203> from Router self.
2) WebRTC Device, which has defined own IP-Address <192.168.1.3> into it self. This IP come not from Router is static IP from Device self.

On my Notebook is ranned Webservice on the Port 8080, i do forwarding this Port over 8888 in internet. It work perfectly. I cann access this overl local IP (http://192.168.1.203:8888) and over Internet from other Network (http://<myhost.over.internet>:8888) ist work great!

My WebRTC device provide also Webservice on Port 443, also it Provide WebRTC service on port range 20000-32000. I forward WebRTC ports exactly from [20000-32000] to [20000-32000] and HTTPS port from 443 to 8080.

But unfortunately it work only in local Network, over Internet neither https nor WebRTC not working.

This works:
https - https://192.168.1.3:8080
WebRTC - https://192.168.1.3:31102

This not works:
https - https://<myhost.over.internet>:8080
WebRTC - https://<myhost.over.internet>:31102

What i do wrong? It ist problem becouse WebRTC device prescribes his IP himself?

Here are the configuration.

Ports

DynDNS over LTE Router work perfectly, i can access WebUI of Router self and forwarded service from my Notebook.

Thanks in advance.

best regards

Aleksej

1 Answer

0 votes
by anonymous
Hi,

Could you please tell me if that's some kind of server and domain that you're running? Or do you have public IP?

Because if you're running everything locally I'm afraid without proper forwarding that would go from Public to Local internet there is no way you can reach this.

But I might be understood you wrong, in this case, please provide full topology of the services you're running to access those ports through external network.

EB.
by anonymous

Hi, thanks for rapidly response!

As you can see, Router have a public IP Address over DynDNS.

Public IP

I can access Router WebUI over Internet, it work great. As i wrote, i can access my Notebook over Internet, the Notebook is in Network of RUT955 and provide Web service on Port 8080 this wil be forwarded by RUT955 to port 8888, ist work also great. I can access both over Internet.
But, all ports from Lokal IP 192.168.1.3 can not be forwarded.

Thanks

by anonymous
Okay, I see. So 192.168.1.203 is your notebook and it is accessible. 192.168.1.1 is your router LAN IP and its HTTP is accessible too. The only thing you can't access is another service that is running on 192.168.1.3? Is that a computer that is running a service or some kind of PLC?

EB.
by anonymous
Sorry, what do you mean with PLC?

Yes, you has correctly understand the problem.
On 192.168.1.3 is a Computer that provide Web Services on the port 80/443 and also WebRTC on the ports [20000-32000].
From my Notebook, if i connected to local Network of router, i can access all services provided by 192.168.1.3.  Only over Internet it is not posible, although all ports are forwarded as well.
by anonymous
Check if there's a firewall in your computer's (192.168.1.3) operating system that could be blocking the connection.

If it doesn't help - try disabling the firewall on the router instead. You can do that with CLI command: /etc/init.d/firewall stop

After this, check if you can reach your services from an external network.