Community discussions

MikroTik App
 
PaulM
just joined
Topic Author
Posts: 9
Joined: Tue Aug 11, 2020 7:26 am

VNC with MikroTik LMT LTE18 router

Tue Aug 11, 2020 6:31 pm

Hello everyone!

I'm a newly baked MikroTik user, and I'm asking for help with this really basic, but challenging for me task of setting the router to allow my computer to be accessed via VNC from outside world.

I'm using the new MikroTik LMT LTE18 router, with RouterOS v7.0.

I've watched videos on the internet and read topics on this forum on the subject, tried to follow this topic here, but still was not able to achieve the goal.


Please advise on how to open access for the outside world to VNC server on 192.168.8.254 port 8426 that is connected to the router by Wi-Fi.

Below I am attaching some relevant screenshots (click for the full-size image).

List of interfaces:

Image

Default firewall filter rules:

Image

Default firewall NAT:

Image


Thank you for your time!
 
olgale

Re: VNC with MikroTik LMT LTE18 router

Thu Aug 13, 2020 12:43 pm

Hello!

Do I correctly understand that you want to make a port forwarding to server which is in your LAN network?
If so , you can find a manual for dst-nat here:
https://wiki.mikrotik.com/wiki/Manual:IP/Firewall/NAT

Best Regards,
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26815
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: VNC with MikroTik LMT LTE18 router

Thu Aug 13, 2020 1:05 pm

Paul, does the mobile operator give you a public IP ? Most likely not, so regardless of the router used, your device will not be accessible from the outside.
 
User avatar
karlisi
Member
Member
Posts: 464
Joined: Mon May 31, 2004 8:09 am
Location: Latvia

Re: VNC with MikroTik LMT LTE18 router

Thu Aug 13, 2020 1:38 pm

Do you have public IP address on LTE interface? Or from 10.0.0.0/8 network (smth like 10.44.28.53)?
 
uldis
MikroTik Support
MikroTik Support
Posts: 3446
Joined: Mon May 31, 2004 2:55 pm

Re: VNC with MikroTik LMT LTE18 router

Thu Aug 13, 2020 1:40 pm

Try to ask the LMT operator for real Public IP. Maybe they offer you this as well:
https://bizness.lmt.lv/en/real-ip-address
 
PaulM
just joined
Topic Author
Posts: 9
Joined: Tue Aug 11, 2020 7:26 am

Re: VNC with MikroTik LMT LTE18 router

Thu Aug 13, 2020 2:12 pm

So many replies — thank you all! :-)


Do I correctly understand that you want to make a port forwarding to server which is in your LAN network?
If so , you can find a manual for dst-nat here:
https://wiki.mikrotik.com/wiki/Manual:IP/Firewall/NAT

Yes, correct.

This is quite an advanced topic for me, and unforutnately I did not succeed in reaching my goal from following videos and tutorials on this subject elsewhere.

I hoped that someone could mention a specific set of rules for my device.



Paul, does the mobile operator give you a public IP ? Most likely not, so regardless of the router used, your device will not be accessible from the outside.
Try to ask the LMT operator for real Public IP. Maybe they offer you this as well:
https://bizness.lmt.lv/en/real-ip-address

I don't have a static/fixed IP, but I don't think it is a must, and my MikroTik router even has a built-in DDNS feature.

Image

Just before switching to the MikroTik LMT LTE18 router, I had a simple Huawei LTE router (mobile operator TELE2, with dynamic IP), and I was connecting to my computer with VNC server, via a free DDNS service, without issues.

Huawei router was dumb enough for me to configure port forwarding, but MikroTik is too smart for my skill :-)



Do you have public IP address on LTE interface? Or from 10.0.0.0/8 network (smth like 10.44.28.53)?

Yes, please see below:

Image
 
User avatar
karlisi
Member
Member
Posts: 464
Joined: Mon May 31, 2004 8:09 am
Location: Latvia

Re: VNC with MikroTik LMT LTE18 router

Thu Aug 13, 2020 3:40 pm

So you haven't public IP address, this IP is from LMT internal network for clients, which is behind some NAT. Because they haven't dst-nat from real public IP to your router's external LTE interface, you can't establish VNC connection. You should ask LMT for real public IP. It can be dynamic, you can use DDNS.
 
PaulM
just joined
Topic Author
Posts: 9
Joined: Tue Aug 11, 2020 7:26 am

Re: VNC with MikroTik LMT LTE18 router

Thu Aug 13, 2020 4:35 pm

There is the following IP in the "Cloud" settings menu:

Image

Below is information from my computer's app:

Image
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26815
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: VNC with MikroTik LMT LTE18 router

Thu Aug 13, 2020 4:38 pm

You can pay LMT to get real IP and consequently, ability to remote into your device. This is a paid service.

Without a real IP address, your only option is to have another router somewhere else, then do a VPN tunnel from your LMT router to the other router, and do remote to that one.
 
PaulM
just joined
Topic Author
Posts: 9
Joined: Tue Aug 11, 2020 7:26 am

Re: VNC with MikroTik LMT LTE18 router

Thu Aug 13, 2020 6:00 pm

My previous setup (before the MikroTik router) was as follows:


• Huawei LTE router, which had an easy menu where I could open a port for the VNC server;

Image

• dynamic IP by TELE2 mobile operator provider;

• No-IP service (noip.com) that, for free, assigned the xxxx.hopto.org hostname to my dynamic IP.


And I easily connected to my computer from another computer via VNC.



Could you please advise (in a broad sense) how the MikroTik/RouterOS are different from a standard consumer router like my old Huawei, for something like I described above not to work without the static/fixed IP or an additional router?


Thank you!
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: VNC with MikroTik LMT LTE18 router

Thu Aug 13, 2020 6:18 pm

Previously you had dynamic, but still public IP. Obviously.
Now, your IP is private (doesn't even matter it it is static or dynamic).
Without public IP it won't work on any router.
 
PaulM
just joined
Topic Author
Posts: 9
Joined: Tue Aug 11, 2020 7:26 am

Re: VNC with MikroTik LMT LTE18 router

Thu Aug 13, 2020 7:26 pm

Oh, so it is the Internet connection service that is the issue here.

Thank you all for taking your time to get this message through my skull.

I will enquire with my internet service provider about the public IP option.

Hopefully it would be possible to add this option, and then I'll be back with my question about the settings for the device; hopefully you would not mind me bugging you again with this :-)
 
sid5632
Long time Member
Long time Member
Posts: 555
Joined: Fri Feb 17, 2017 6:05 pm

Re: VNC with MikroTik LMT LTE18 router

Fri Aug 14, 2020 3:52 am

This whole thread seems a bit pointless, because you really don't want to be running an unencrypted protocol with poor security open to the world in the first place.
Unless you want to get hacked or have information stolen of course...
 
PaulM
just joined
Topic Author
Posts: 9
Joined: Tue Aug 11, 2020 7:26 am

Re: VNC with MikroTik LMT LTE18 router

Fri Aug 14, 2020 5:58 am

Security is of primary concern. I'm using RealVNC server and client, and this combo provides 256-bit AES encryption.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26815
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: VNC with MikroTik LMT LTE18 router

Fri Aug 14, 2020 8:08 am

Still, I recommend establishing a VPN tunnel before making a VNC connection. And like said above, changing internet service (or asking them politely) to give you a public IP address (static or dynamic, doesn't matter).

By the way your router also has a built-in DNS service, just like "NO-IP"., you would not have to set it up separately. It's enabled by default.
 
PaulM
just joined
Topic Author
Posts: 9
Joined: Tue Aug 11, 2020 7:26 am

Re: VNC with MikroTik LMT LTE18 router

Tue Aug 18, 2020 8:16 pm

Hello again everyone!

The mobile service provider added the GPRS Plus option to my connection, and my router now has a public IP address, like so:

Image


Thank you normis for your strong suggestion about the VPN tunnel, but for the moment I have only one router.

As such, it would be awesome if someone could please advise about the rules for my device to open access for the outside world to VNC server on 192.168.8.254 port 8426 that is connected to the router by Wi-Fi. I have posted a picture with the device's interfaces in the 1st post, as well as pictures with the default rules.

Thank you very much for your time!
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: VNC with MikroTik LMT LTE18 router

Wed Aug 19, 2020 12:26 am

but for the moment I have only one router.
You don't need another one.
You establish VPN connection from a remote PC to your router, and then you run VNC inside VPN.
That is the secure way to do that.
 
PaulM
just joined
Topic Author
Posts: 9
Joined: Tue Aug 11, 2020 7:26 am

Re: VNC with MikroTik LMT LTE18 router

Wed Aug 19, 2020 11:21 am

xvo thank you for the information!

I will try to find information how to do it.

Meanwhile, I was able to do the basic port forwarding (and consequently VNC) with this tutorial (just substituted the port number, IP address, and the interface (to "lte1")). I also added an exact same rule also for the "udp" protocol, as RealVNC prefers it over the "tcp" protocol.
 
lvlaster
just joined
Posts: 7
Joined: Mon Apr 20, 2020 10:40 am

Re: VNC with MikroTik LMT LTE18 router

Wed Aug 26, 2020 12:33 pm

is there software updates avalable for LTE18 ?
 
PaulM
just joined
Topic Author
Posts: 9
Joined: Tue Aug 11, 2020 7:26 am

Re: VNC with MikroTik LMT LTE18 router

Wed Aug 26, 2020 6:09 pm

@lvlaster there is an update on the beta channel:

Image
 
User avatar
SiB
Forum Guru
Forum Guru
Posts: 1888
Joined: Sun Jan 06, 2013 11:19 pm
Location: Poland

Re: VNC with MikroTik LMT LTE18 router

Sun Oct 25, 2020 1:56 am

@lvlaster there is an update on the beta channel:

Image
For now only at development channel with ros7.1beta2 .
We know that MikroTik works at ros7.x tree of RouterOS and you can check status at: https://help.mikrotik.com/docs/display/ ... col+Status where they currently working at ros7.1beta3 and they have many stuff to do...

I think in 2021 we can reach first release candidate versions.
Remember you cannot back to 6.x RouterOS family.

Who is online

Users browsing this forum: karl0s, tareqbd and 17 guests