Access to my istance, through 4G connection

Hi everybody, I have a quite big problem. I would dismiss my old and slow ASDL connection and replace it with a 4G connection operated my a 4g Modem router manufactured by D-Link.
The problem came when I discovered that through this kind of connection I Could NOT use ports for use it with DuckDNS, indeed, during some tests, my Google Home integration did not work, and I couldn’t reach my Hassio istance just because ISP make some kind of NATting to 4G connections.
Is there a way to let my system be visible and operable from google home integration through 4G connection? Obviously the last step will be subscribe the cloud provided by home assistant…
let me know, any aid will be strongly appreciated.
Stefano.

I’ve been wondering that for a while… surely there’s some service they can just sell you an IP:port and forward you the traffic to you while you’re connected to them…
…and then I found one, https://portmap.io/ and I’m not sure I like it.

Their paid plans are a rip-off , you can get an entire VM for that kind of money. (looking at low end box site)

Basically, they want you to setup an OpenVPN tunnel, and they can then redirect a port on their machine that they pick through your tunnel.

The free plan might still work for you, but I’m not entirely sure about OpenVPN setup. Technically it’s possible, just not sure about the best way to set everything up.

Hello… I tried as well a couple of months ago to move from an ADSL connection to a 4G box…but the problem in IPV4 is that, by configuration, these providers are organized like a LAN for their network so no possibility to have port forwarding except if you pay a premium for it… The only way to have maybe a solution is to use IPV6 only… As my equipment were not all IPV6 ready (I have cameras and security box still working in IPV4 only requiring port forwarding or UPNP), I did not investigate in this direction… but this can be a path to look at for you…

I have been running my home using a 4G internet connection for over a year.
I have absolutely no problems with this, and am able to do anything that I was able to do with my previous slow ADSL connection.

The problem then must be either:

  • The 4G router
  • The ISP

You have an IP Address for your 4G connection, right?
So where is the problem? If you can get details of the connection and how it is set up, you may get some help.

Now, just to understand, the 4G sim card - is this a SIM plan for a mobile phone? I specifically pay about double what I could pay for a ADSL connection (and get between 40Mbps-120Mbps download and 25Mbps-60Mbps upload speeds vs 7-8Mbps down and 0.1-0.6Mbps up on ADSL) - but my subscription plan provides a Huawei 4G Modem router and is specifically a plan to replace an ADSL connection. I can understand why ISP want fair use - and using a mobile phone 4G subscription for multiple devices in a home is not what the plans are intended for. The competition in the mobile subscription marketplace is such that they have to provide rock bottom prices.

To get a workable home broadband connection over 4G - you should pay for that. And when you do - you can demand support from your ISP.

My service is provided by Bouygues Telecom in France - and it works really well. I have my IP and can do what I want with it. VoiP, HA exposed via my control, All routing, NATing etc that I need is set up and working.

I hope this helps.

Yeah… IPv4 address depletion/exhaustion means ISP’s are using CGNAT for mobile connections more and more these days… Some ISP’s for a fee might give a static IPv4 address otherwise most/some might give a routable static IPv6 address (or at least if not static routable so you can use a dynamic DNS/Duckdns to update the address)

It’s not important that your internal network has devices only supporting IPv4 either. I am only exposing IPv6 address to my domain and use a reverse proxy so I can access all internal resources. So I would find out if IPv6 is an option for you as well. My mobile network here also supports IPv6 so even though my HA is on a VDSL link supporting IPv6 I have full access externally as well.

(Google Actions use the domain IPv6 only and no issues with this setup)

Nabu Casa Remote works over CGNAT. $5 a month and profits help support home assistant development. Webhook Relay’s services cost as much and don’t have this advantage.

4 Likes

Agree nabu-casa but sometimes it’s also a matter of not letting the bastards beat you…

1 Like

Thanks eerybody for the answers. I supposed to get successful in a little bit more easy way, but I must admit that I don’t have enough time to spend in experiments. I think the best solution is to subscribe the 5$ montly cloud account, and use it in any kind of connection i decide to have in the future…

thanks everybody once again.

Greets from italy!
Stefano.

1 Like