Remote access to domoticz without portforwarding

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
User avatar
jacobsentertainment
Posts: 221
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Remote access to domoticz without portforwarding

Post by jacobsentertainment »

Hi all,

I recently got a new internet provider and it seems that I cant open my ports like I would like to (443) for remote access. Is there a workaround method witch I could us.
(sending an mail was my first option, and did that ;) )
manjh
Posts: 748
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: Remote access to domoticz without portforwarding

Post by manjh »

jacobsentertainment wrote: Tuesday 15 December 2020 22:22 Hi all,

I recently got a new internet provider and it seems that I cant open my ports like I would like to (443) for remote access. Is there a workaround method witch I could us.
(sending an mail was my first option, and did that ;) )
Are you saying you cannot open ANY ports? Seems a bit too restrictive. Perhaps they call it different?
What is the name of the provider? And what make/model modem/router did you get?
If port forwarding is not allowed at all, then I guess your best bet is to buy your own modem/router, like one of the Fritzbox models. It would replace the provided modem.
Hans
User avatar
jacobsentertainment
Posts: 221
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: Remote access to domoticz without portforwarding

Post by jacobsentertainment »

manjh wrote: Tuesday 15 December 2020 22:36 Are you saying you cannot open ANY ports? Seems a bit too restrictive. Perhaps they call it different?
What is the name of the provider? And what make/model modem/router did you get?
If port forwarding is not allowed at all, then I guess your best bet is to buy your own modem/router, like one of the Fritzbox models. It would replace the provided modem.
Hi,

My provider is "Westenergie Breitband GmbH" And my router is an Frizbox 7490 I got hte portforwarding setup as it should be and locally it all works fine, except from outside my network. This seems to have something to do with having an private ip.
I tried using both supplied ip addresses, one figured out with "whatsmyip" and the other is given in the fritzbox. Using checks like yougetsignal and portcheckers nothing seems to work as I try to connect trough 4G on my mobile net getting to the access of my connections.
Strange enough I got the ip that is given by the fritzbox entered in the duckdns and trough there i can access my network at home, but then again I can't access it from outside my network.
User avatar
jacobsentertainment
Posts: 221
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: Remote access to domoticz without portforwarding

Post by jacobsentertainment »

jacobsentertainment wrote: Tuesday 15 December 2020 23:27
manjh wrote: Tuesday 15 December 2020 22:36 Are you saying you cannot open ANY ports? Seems a bit too restrictive. Perhaps they call it different?
What is the name of the provider? And what make/model modem/router did you get?
If port forwarding is not allowed at all, then I guess your best bet is to buy your own modem/router, like one of the Fritzbox models. It would replace the provided modem.
Hallo Hans,

My provider is "Westenergie Breitband GmbH" And my router is an Frizbox 7490 I got hte portforwarding setup as it should be and locally it all works fine, except from outside my network. This seems to have something to do with having an private ip.
I tried using both supplied ip addresses, one figured out with "whatsmyip" and the other is given in the fritzbox. Using checks like yougetsignal and portcheckers nothing seems to work as I try to connect trough 4G on my mobile net getting to the access of my connections.
Strange enough I got the ip that is given by the fritzbox entered in the duckdns and trough there i can access my network at home, but then again I can't access it from outside my network.
xury
Posts: 48
Joined: Monday 10 December 2018 23:32
Target OS: Linux
Domoticz version:
Location: Poland
Contact:

Re: Remote access to domoticz without portforwarding

Post by xury »

Perhaps you have an internet access without public IP. So you have a few ways to get direct access to domoticz web panel:
Buy a external VPN service and create VPN connection. For example: NordVPN
Use Zerotier
Ron
Posts: 82
Joined: Friday 27 December 2013 23:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.2284
Location: Nederland, Den Bosch
Contact:

Re: Remote access to domoticz without portforwarding

Post by Ron »

You can use ZeroTier for that.
It might look somewhat complicated but it isn't thar hard.
I installed Zerotier om my Domoticz Raspberry Pi, my telephone, tablet and laptop and on all devices i can use an internal IP adres to use Domoticz.
This works from inside and outside my network.

https://iamkelv.in/blog/2017/06/zerotier.html
https://www.zerotier.com/
https://www.zerotier.com/download/
User avatar
jacobsentertainment
Posts: 221
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: Remote access to domoticz without portforwarding

Post by jacobsentertainment »

Ill have a look in to this Zerotier tomorrow, ill keep it updated, thanks guy's :D
keepitsimple
Posts: 4
Joined: Monday 30 March 2020 22:17
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Remote access to domoticz without portforwarding

Post by keepitsimple »

If you run domoticz on a pi, you can set up the RealVNC server that comes as part of the current pi OS package, create a RealVNC account, then use the free Real VNC client on whatever device you will use remotely, and access via a browser running on the pi.

If you don't run domoticz on a pi, RealVNC server is available on other platforms, but I think there's a fee.

Alternatively, just set a separate pi up as part of your local network and RealVNC into that. Very inexpensive. Obviously that also needs to stay powered on 24/7/365, but it isn't a big deal.

Port forwarding isn't needed and any changes to your ip address have no impact.

(I do actually have the app and port forwarding, but that was before I got a new pi and the current OS with RealVNC included so I may now switch all that off.)

There are other VNC products, and I think to some extent they will connect with each other, but I'm not techie enough to know much more, and as RealVNC is free on a pi it's a bit of a no-brainer.
User avatar
jacobsentertainment
Posts: 221
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: Remote access to domoticz without portforwarding

Post by jacobsentertainment »

Ok I tried both and the only thing that does kind of work for me is the "real VNC" its even better using this then putty and other remote access, but this to the side of this topic.
I was aiming at getting the domoticz app working outside my network but this won't be the case if I can't use portforwarding, so ill will keep playing around and searching...
User avatar
philchillbill
Posts: 399
Joined: Monday 12 September 2016 13:47
Target OS: Linux
Domoticz version: beta
Location: Eindhoven. NL
Contact:

Re: Remote access to domoticz without portforwarding

Post by philchillbill »

Wouldn’t ngrok work (and it’s free)?
Alexa skills author: EvoControl, Statereport, MediaServer, LMS-lite
User avatar
jacobsentertainment
Posts: 221
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: Remote access to domoticz without portforwarding

Post by jacobsentertainment »

philchillbill wrote: Thursday 17 December 2020 16:57 Wouldn’t ngrok work (and it’s free)?
That works freaking good ! :lol:

So for access to the pi VNC and to keep using the domoticz app use ngrok and you're back in business.
keepitsimple
Posts: 4
Joined: Monday 30 March 2020 22:17
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Remote access to domoticz without portforwarding

Post by keepitsimple »

Glad you found a solution that works for you, but ngrok is not for me.

I did look at it before I settled on using RealVNC as an alternative route for what I need. I dismissed it when I looked into the organisation that runs it..and didn't get very far.

I know ngrok is widely used - but there is no information available about it that I could find - ownership....principal staff....not even where it is based or any contact details.

At least Real VNC is as open about itself as you could reasonably expect.
User avatar
jacobsentertainment
Posts: 221
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: Remote access to domoticz without portforwarding

Post by jacobsentertainment »

keepitsimple wrote: Sunday 20 December 2020 17:12 Glad you found a solution that works for you, but ngrok is not for me.

I did look at it before I settled on using RealVNC as an alternative route for what I need. I dismissed it when I looked into the organisation that runs it..and didn't get very far.

I know ngrok is widely used - but there is no information available about it that I could find - ownership....principal staff....not even where it is based or any contact details.

At least Real VNC is as open about itself as you could reasonably expect.
I didn't check any of those details :D I get you're point.
Quest24
Posts: 9
Joined: Tuesday 17 November 2020 22:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024-2
Contact:

Re: Remote access to domoticz without portforwarding

Post by Quest24 »

I installed ZeroTier for my domoticz environment. It is a very good and fast system. You can install it on Raspberry-pi, android phone or iphone and windows-PC and create one virtual network for all devices. You can use RDP remote desktop from windows to all you pi's.
It also made it possible to connect remote to a PI in my camper where I installed a 4G router.
For up to 10 devices it is free. The install script are in the post in this topic
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest