Using mobile hotspot for WAN
-
@wgstarks said in Using mobile hotspot for WAN:
Nighthawk M6 Pr
Why are you so into "mobile hotspots"? Those are primarily intended for nomadic use and seldom or never have external antennas which is crucial for good performance. Actually, one good "use" is of course that if you tell them it is for a mobile hotspot, they will still sell you the SIM card. Even if they don't provide home internet in your area.
And Verizon isn't the only game in town, check coverage for the other service providers, T-mobile or whoever else you may have in the area.Look for a 4G LTE Router instead, something like this. Two of the visible antennas are for LTE and detachable so you can connect to outdoor antennas for better performance.
On mobile networks you typically get a "reserved" IP, even on a broadband connection, which means you are behind NAT. So you might want to ask them to provide a public IP.
No problem with compatibility, at least in terms of connections. You simply plug your pfSense WAN into one of the LAN ports and give it a static IP (on the LTE router) and place it in a DMZ. Don't forget to turn off wifi on the router, since it's outside of the LAN controlled by pfSense.
Where you may run into issues is with UPnP and some gaming, but there are solutions to that as well. Port forwarding works for some of the more challenging games for example.
-
@gblenn said in Using mobile hotspot for WAN:
Why are you so into "mobile hotspots"? Those are primarily intended for nomadic use and seldom or never have external antennas which is crucial for good performance. Actually, one good "use" is of course that if you tell them it is for a mobile hotspot, they will still sell you the SIM card. Even if they don't provide home internet in your area.
And Verizon isn't the only game in town, check coverage for the other service providers, T-mobile or whoever else you may have in the area.I've been digging into coverage and it looks like AT&T is probably best although no one provides home internet yet.
@gblenn said in Using mobile hotspot for WAN:
Look for a 4G LTE Router instead, something like this. Two of the visible antennas are for LTE and detachable so you can connect to outdoor antennas for better performance.
AT&T requires a minimum Cat 11 cellular modem (Cat 18 for higher data plans). It's hard searching google for "cat11" since most of the equipment listing don't provide that data but I did find this one with a Cat 18 modem and detachable antennas.
@gblenn said in Using mobile hotspot for WAN:
On mobile networks you typically get a "reserved" IP, even on a broadband connection, which means you are behind NAT. So you might want to ask them to provide a public IP.
I'll check that with AT&T but I bet they aren't free (or even cheap).
@gblenn said in Using mobile hotspot for WAN:
No problem with compatibility, at least in terms of connections. You simply plug your pfSense WAN into one of the LAN ports and give it a static IP (on the LTE router) and place it in a DMZ. Don't forget to turn off wifi on the router, since it's outside of the LAN controlled by pfSense.
Where you may run into issues is with UPnP and some gaming, but there are solutions to that as well. Port forwarding works for some of the more challenging games for example.I've already been digging into this problem since LTE and Starlink will both use CG-NAT. Looks like my best bet for remote access will be Tailscale but still researching so there may be other issues I'm not aware of. Don't really do much gaming and not using UPnP for anything that I'm aware of. Not sure about my Plex server though? Right now I'm forwarding a port in pfsense.
BTW- Really appreciate the help.
-
@wgstarks said in Using mobile hotspot for WAN:
AT&T requires a minimum Cat 11 cellular modem (Cat 18 for higher data plans). It's hard searching google for "cat11" since most of the equipment listing don't provide that data but I did find this one with a Cat 18 modem and detachable antennas.
None of the carriers "require" any specific category for it to actually work. But of course the subscribed speed is only achievable with a matching device. A cat 11 can give up to 600 Mbps and for the Cudy you linked to they say up to 150 so I doubt it's more than a category 4...
Perhaps you should check with the carriers to find out what their plans are for your area. They are continuously building out and may be offering 5G some time soon. Especially T-Mobile have been very aggressive in their Wireless Broadband roll out. Long term that would be a much better solution than Starlink if you ask me. One benefit is that you can switch to a different ISP any time. It's just a matter of changing the SIM...
And depending on your needs, perhaps you should look for a more advanced device. Those targeting SME's, like Cradlepoint or Mikrotik will be more expensive but likely also the best performing. Especially if you can use an outdoor unit since you can get away from cable loss (antenna to unit).@wgstarks said in Using mobile hotspot for WAN:
I've already been digging into this problem since LTE and Starlink will both use CG-NAT. Looks like my best bet for remote access will be Tailscale but still researching so there may be other issues I'm not aware of. Don't really do much gaming and not using UPnP for anything that I'm aware of. Not sure about my Plex server though? Right now I'm forwarding a port in pfsense.
Well, I would at least check with them if you can get a Public IP for free. CG-NAT is a gapfiller in this context, until they move to IPv6.
But Plex or any type of smart home solution will unfortunately not work, as is, behind CG-NAT. The port you forward is used by Plex to reach out to their servers (and your account) to provide your Public IP so the App can find it...Optimally you would have Public IP and a router that supports bridging, which means pfSense will get that IP directly on WAN. The next best option is NAT with DMZ which will still allow Plex and any other services to work. If the router allows using an IP that is not from the private IP range, UPnP will work as well should you need it...
Tailscalse is a cool solution and I have been using it as a backup to reach my mothers house, should the VPN go down and I need to support her. You set up a server at home acting as a "subnet router" and then your clients can access your home LAN through the tunnel.
I recently saw some video from Lawrence Systems on Cloudflare Tunnel, which could also be a solution. here -
@gblenn said in Using mobile hotspot for WAN:
perhaps you should look for a more advanced device. Those targeting SME's, like Cradlepoint or Mikrotik will be more expensive but likely also the best performing. Especially if you can use an outdoor unit since you can get away from cable loss (antenna to unit).
Care to recommend one. I’ve been looking but honestly I don't know what I’m looking at so it’s hard to know which to get.
@gblenn said in Using mobile hotspot for WAN:
Optimally you would have Public IP and a router that supports bridging, which means pfSense will get that IP directly on WAN. The next best option is NAT with DMZ which will still allow Plex and any other services to work. If the router allows using an IP that is not from the private IP range, UPnP will work as well should you need it...
I’m going to try for a public IP. What is NAT with DMZ? I understand what the DMZ is but not sure what you’re referring to.
-
@wgstarks said in Using mobile hotspot for WAN:
Care to recommend one. I’ve been looking but honestly I don't know what I’m looking at so it’s hard to know which to get.
To be honest I have not looked too much beyond the consumer model (TP-Link archer600) I happen to have for my failover. I just know these guys have the equipment for the SME segment. But I guess the Chateau 6-US from Mikrotik looks like a really good fit. For any alternatives, compare the LTE bands it supports as they may be US specific.
It will likely require some work on your part if you are to really get the most out of it. It depends so much on the location of your house vs the cell tower, and any obstacles in between. A more distant cell from a different carrier may provide better performance if it's line of site for example.
A high gain antenna (perhaps directional) and high up is usually the best but with an indoor unit you need to pull the antenna cable through the wall. And the longer the cables the more attenuation you get. With an indoor unit, try finding a spot high up on the wall facing the tower and shortest possible cable (pair) through to the router (wall mounted on the inside).
@wgstarks said in Using mobile hotspot for WAN:
I’m going to try for a public IP. What is NAT with DMZ? I understand what the DMZ is but not sure what you’re referring to.
What I meant was that if the router doesn't support bridging, you are stuck with NAT, even though DMZ basically opens up all ports towards pfSense.
-
@gblenn said in Using mobile hotspot for WAN:
But I guess the Chateau 6-US from Mikrotik looks like a really good fit.
~~It does look good. Of course I can’t find it for sale anywhere.~~
Emailed Mikrotik. Maybe I’ll get lucky.Found the last one on Amazon.
@gblenn said in Using mobile hotspot for WAN:
To be honest I have not looked too much beyond the consumer model (TP-Link archer600)
Thought I would take look at this one too but can't find a US version. All the sellers seem to be in the EU so the power adapters are probably wrong.
-
@nollipfsense said in Using mobile hotspot for WAN:
@wgstarks I had plan on trying this with the iPhone but the seller didn't have possession on eBay so I didn't bother...Ethernet to pfSense.
I have one of those, and an iphone, and pfsense! Want me to give it a try?
I had never considered using it that way, as a wired WAN into pfsense. It does work the other way I intended, getting an iphone onto a wired ethernet network. That works just fine.
-
@akuma1x said in Using mobile hotspot for WAN:
@nollipfsense said in Using mobile hotspot for WAN:
@wgstarks I had plan on trying this with the iPhone but the seller didn't have possession on eBay so I didn't bother...Ethernet to pfSense.
I have one of those, and an iphone, and pfsense! Want me to give it a try?
I had never considered using it that way, as a wired WAN into pfsense. It does work the other way I intended, getting an iphone onto a wired ethernet network. That works just fine.
No. I only have one iPhone and not gonna tie it to my pfsense 24/7. Cheaper to buy an lte router. Just need to find one. Thanks though
-
@wgstarks said in Using mobile hotspot for WAN:
Thought I would take look at this one too but can't find a US version. All the sellers seem to be in the EU so the power adapters are probably wrong.
I know, it seems they don't sell them in the US. I suppose besides the power adapter, it may not have the right frequency bands. The Mikrotik Chateau-6 has 'US' added to the name for a reason.
Not sure why but we seem to have more consumer variants to choose from here in the EU.
Do some testing in your house to find the ideal location, unless you know where the cell tower is. A simple way is to run speedtest in different locations. Otherwise there are apps (perhaps not on iPhone?) which will tell you the signal strength. Some may even provide the direction to or location of the tower, like Network Cell Info on Android (not sure how precise it is though).
After that you set it up and use it for a while and depending on performance you may want to look into external antennas. Cross polarized antennas are suggested... I'm using a Poynting XPOL which you can find on Amazon. They ship with cables but unless you set it up on a long pole, I suggest to change them out for the shortest cables possible.
-
@gblenn said in Using mobile hotspot for WAN:
@wgstarks said in Using mobile hotspot for WAN:
Thought I would take look at this one too but can't find a US version. All the sellers seem to be in the EU so the power adapters are probably wrong.
I know, it seems they don't sell them in the US. I suppose besides the power adapter, it may not have the right frequency bands. The Mikrotik Chateau-6 has 'US' added to the name for a reason.
Not sure why but we seem to have more consumer variants to choose from here in the EU.
Do some testing in your house to find the ideal location, unless you know where the cell tower is. A simple way is to run speedtest in different locations. Otherwise there are apps (perhaps not on iPhone?) which will tell you the signal strength. Some may even provide the direction to or location of the tower, like Network Cell Info on Android (not sure how precise it is though).
After that you set it up and use it for a while and depending on performance you may want to look into external antennas. Cross polarized antennas are suggested... I'm using a Poynting XPOL which you can find on Amazon. They ship with cables but unless you set it up on a long pole, I suggest to change them out for the shortest cables possible.
Thanks. I managed to find the last one on Amazon.
There were also a couple on eBay for about 10 times there normal price. As soon as I get the new router I’ll hook it to an extension cord and try it in different spots. I have a good idea where the closest towers are in my area so that won’t be too complicated. A timber company has purchased all the local timber and should begin harvesting soon so I expect that will improve line of sight reception.Once again, thanks for all your help.
-
@gblenn said in Using mobile hotspot for WAN:
Chateau 6-US from Mikrotik looks like a really good fit
I agree and just waiting for the price to fall...makes a great fail over for fiber.
-
@wgstarks
Most of the Cellular accounts I have been on have used carrier grade NAT they basically give you a NATed IP address.I briefly had an encounter with frontier and then went to Hughesnet which was even worse surprisingly. All the time running my home built PFSense box as much as I could. I was actually able to sustain VOIP over Hughes net GEN2 with Vonage. The nice thing about routing through PFSense is it would hold the state longer than most of the devices upstream which really helped with connection drop outs.
I started off with AT&T cellular hotspots then went to Sprint then went to T-Mobile. I also have a Verizon MVO SIM with Visible now. Most of what I've seen online encourages the use of a USB modem and supposedly you can connect these hotspots over USB. they usually percent some sort of ethernet connection over USB although I'm trying mine and they're not working with PFSense yet.
The most reliable way I have found is to pick up a TP Link travel router there like 25 bucks at the most you plug that into one of your WAN connections and configure it with a static IP address in the same range as the hotspot and then tell it to act as a client basically a Wi-Fi ethernet bridge. Then you can position your hotspot at a reasonable distance in a good signal location somewhere where you can preferably get an external antenna ( make sure your device supports external antennas some do and are hidden some don't and some are hidden but don't ). This is sort of the best of both worlds, PF sense handles all the routing the hotspot handles the Cellular and the travel router links the two in between. The only downside is your double NAT but you're probably actually gonna be triple NAT unless you work out some sort of deal with a corporate account to get a public IP address and APN.
This also has the benefit of working with any! wireless hotspot.I do find the Netgear ones to be the nicest as they have a app that lets you monitor them on your phone and that can easily be forwarded through PFSense.
They also make a wireless cellular modem, stick a Sim card in and get ethernet out works really nice if it's compatible with your carrier. although they have a new model now with tri-carrier support.One thing to be aware of is battery bloat not all of these devices properly handle the charging so it might be worth sticking them on a timer that goes off for a few hours during the night to kind of cycle the battery a little bit since I've been doing that I haven't had too much of an issue.
But a few years ago I also got Comcast Business which came with it's own cradlepoint back up connection.
You're definitely going to be looking at some sort of NAT penetration remote access. The pricing for public IP address space is ridiculous assuming they have it listed on their website and most of what I saw it seems to indicate you would need a business account.
I've also heard that some android devices will let you tether over a USB ethernet adapter, although well they might have better modem support you are now running a full-fledged phone.
There's also a lot of corporate grade stuff out there but prices go up quick.
Sounds like you might've worked out some thing already hope it's working well.
Thought I would add my two cents in here for anybody else who might run across this post. -
@imark77 said in Using mobile hotspot for WAN:
Most of the Cellular accounts I have been on have used carrier grade NAT they basically give you a NATed IP address.
Yesterday, I watched a video about how bad CGNAT is.
As they point out, the only solution to this nonsense is to move to IPv6.
-
@JKnott said in Using mobile hotspot for WAN:
the only solution to this nonsense is to move to IPv6.
I know T-Mobile home Internet box doesn't pass-through IPv6 router advertising...
-
They should still know how to reach your prefix. Are you saying the prefix changes? I haven't check on my cell phone, but I've had the same prefix on my home network for 5 years.
-
@JKnott said in Using mobile hotspot for WAN:
They should still know how to reach your prefix
T-Mobile treats it as a single IP; so, anything behind pfSense won't get an IP...that was my disappointment and reason to return the box.
-
I'm interested in this as well. My Comcast cable goes down fairly frequently late at night for "scheduled maintenance" that they never notify about, despite my requests over many years. I'm tired of calling them to request bill credits each time. And that doesn't solve the problem of interrupted streaming. I need a cheap backup ISP for about 4-10 hours a month worth of Comcast downtime.
I have been testing Verizon 5G Home Internet since Saturday, because they upgraded their towers in my area, and offer the service at my address. The other carriers (AT&T, T-Mobile) will not sell it to me, for good reason - weak signal. I setup the Verizon ARC-XCI55AX gateway in IP passthrough mode. It is a perfectly adequate backup. The basic service, which I'm testing, costs $50/month, however. $600/year is a bit much to pay to cover the 4-10 hours worth of Comcast downtime that they shouldn't have in the first place.
It just so happens that my cellular provider, US Mobile, is an MVNO for both T-Mobile or Verizon. They offer a shared data plan, which would be perfect for our 2 smartphones, and a 3rd line for the home ISP backup. However, I need an unlocked 5G modem that will accept either an eSIM or a physical SIM. And it needs to preferably connect to pfSense via Ethernet. So far, I have not been able to locate such a device. Is there one ? One device was mentioned upthread, but it is only 4G LTE, not 5G, and the manufacturer does not have a 5G version.
The other possibility would be to use a smartphone for the backup WAN. I have not tried to enable USB tethering on my phone and connecting it to pfSense. Right now, the phone is still on the T-Mobile network, which provides speeds of 0.07 Mbps up and 0.04 Mbps down. Definitely not suitable as a backup WAN.
If USB tethering doesn't work, the other option would be to use the phone as Wifi hotspot, and add a Wifi NIC to pfSense for the WAN connection. It seems that this should work per https://docs.netgate.com/pfsense/en/latest/wireless/configuration-wan.html, although it does not mention how to input the Wifi password. Presumably this is part of the encryption settings.I would much prefer to use a 5G modem with an Ethernet connection if one exists, than use a smartphone, though. Phones are subject to getting updates and rebooting themselves at the most inopportune times, possibly requiring user interaction to restart, which is not always possible if I'm traveling and need to access the home VPN. Phones also depend on a battery with limited lifespan.
-
@NollipfSense FYI, Verizon 5G Home Internet is providing me with a public, routable IPv4 address over DHCP.
DHCP6 also works, but I haven't messed with it .AT&T and T-Mobile don't have a usable data signal in my area.
-
@madbrain said in Using mobile hotspot for WAN:
DHCP6 also works, but I haven't messed with it .
I think you'll find most, if not all, cell networks have moved entirely to IPv6. However, I haven't heard of any of them providing DHCPv6-PD to the clients. You can get IPv6 addresses to devices connected to the phone or router, but not beyond that.
Take a look at your phone's IPv4 address. If it's something like 192.0.0.2, your phone is using 464XLAT to provide access to IPv4 only sites over an IPv6 only network.
-
@JKnott I would take a look, but my phone, currently on a T-Mobile MVNO, isn't getting any data signal over cellular at the moment. Just 2 bars worth of signal. That's not usually the case. I have waited several minutes and don't see a change. Maybe the T-mobile cell towers lost power. From what I have read, T-mobile uses CG-NAT for their home internet service. Signal just came back, and the phone has a 192.x.y.z local IPv4 address.
The Verizon Home Internet 5G service, on the other hand, works fine even with IPv6 completely turned off on the router for the corresponding WAN interface. I have 3 ISPs connected to my pfSense box right now, and all of them are getting public IPv4 routable addresses. One of them doesn't support IPv6 at all.
Everything behaves even if IPv6 is disabled on all WAN and LAN links. I have tested VPN from the outside with all 3 WANs using dynamic DNS, but not at the same time, as I would need 3 separate VPN configurations and 3 dynamic DNS names.