Community discussions

MikroTik App
 
zibensdraugs
just joined
Topic Author
Posts: 2
Joined: Mon Feb 06, 2023 4:15 am

Port forwarding with password (using reverse proxy)

Mon Feb 06, 2023 4:38 am

Hello, I have network device that I want to access from public internet, but it is not password protected, so I can not just port forward to it, otherwise anyone will be able to coctrol it.
I understand to make password authentification to this device I need to create reverse proxy (like NGINX).
Is it possible to setup reverse proxy inside Mikrotik router or I need to have PC to do that?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26287
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Port forwarding with password (using reverse proxy)

Mon Feb 06, 2023 8:23 am

No, you can't.
You can set up a VPN server in your router and only access the service through the VPN.

Or maybe you could do this: https://youtu.be/BbDnBxlBTdY
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Port forwarding with password (using reverse proxy)

Mon Feb 06, 2023 3:55 pm

YES, YOU CAN DO THIS USING ZERO TRUST TUNNEL BY CLOUDFLARE.

IT IS THE SAFEWAY TO SETUP A SERVER AND NOT EXPOSE YOUR WANIP.

HOWEVER MIKROTIK ONLY OFFERS THIS in a BACKHANDED WAY for ARM DEVICES (slap in the face for other device owners BOOOOO!!! ) and FURTHER YOU HAVE TO LEARN CONTAINERS which has its own security risks and is not TRIVIAL for a beginner.


WAKEUP NORMUNDS!!!!! Put zero trust cloudflare tunnel in a package option for ALL DEVICES.
 
zibensdraugs
just joined
Topic Author
Posts: 2
Joined: Mon Feb 06, 2023 4:15 am

Re: Port forwarding with password (using reverse proxy)

Tue Feb 14, 2023 9:57 pm

Hi, I looked up about this Cloudflare Zero Trust tunnel, but I realised that this docker is available only for ARM64 not just ARM, so it would go only for the newest mikrotik routers...

https://hub.docker.com/r/pihole/pihole/tags

So if somehow it is possible with ARM processors, let me know, I will try also other dockers...
 
massinia
Member Candidate
Member Candidate
Posts: 159
Joined: Thu Jun 09, 2022 7:20 pm

Re: Port forwarding with password (using reverse proxy)

Tue Feb 14, 2023 10:04 pm

Look at Zerotier, there is a package for your router.
Much easier to configure…
 
massinia
Member Candidate
Member Candidate
Posts: 159
Joined: Thu Jun 09, 2022 7:20 pm

Re: Inoltro porta con password (utilizzando proxy inverso)

Tue Feb 14, 2023 10:12 pm

Put zero trust cloudflare tunnel in a package option for ALL DEVICES.
Zerotier would be also really helpful

Who is online

Users browsing this forum: No registered users and 17 guests