Posted on October 30, 2020 at 7:06 pm
Need a static IP for your 3G/4G/LTE SIM mobile? No problems! You can do this by using a VPN service and a special router that supports VPN protocol (OpenVPN). In my case, I am going to use this super tiny and awesome mini router GL.iNet GL-MT300N-V2:
You can find it also on Amazon (it arrived in 3 days here).
Configuration is simple:  connect the router via USB to the PC;  connect a cable from another router (WAN) for Internet or you can tethering with your Phone (works perfectly!);  go on http://192.168.8.1/ to open the router Admin panel (uses OpenWRT);  click on “VPN” -> “OpenVPN Client” on the left menu, then you upload your .ovpn configuration;  finally click on “Connect” button, that’s all.
My working .ovpn config file for an old OpenVPN 2.3 looks like this:
client nobind dev tun redirect-gateway def1 auth-nocache <key> ... </key> <cert> ... </cert> <ca> ... </ca> <dh> ... </dh> remote-cert-tls server tls-version-min 1.2 cipher AES-256-CBC auth SHA256 key-direction 1 <tls-auth> ... </tls-auth> remote XX.XX.XX.XX 12345 udp
* The OpenVPN config must NOT use <connection> groups!
If you have problems configuring OpenVPN just ask on GL.iNet Forum.
Once the OpenVPN client is configured and working, your 3G/4G SIM will connect to the OpenVPN server and thus your IP address will be static. If you use commercial VPNs like NordVPN or CyberGhost VPN you need to buy a dedicated static IP address. Personally I just use a VPS from Scaleway with OpenVPN installed via InstantApps (very simple to install, costs 4.99 EUR /month and you fully own the server with root access).
Any device that will connect to the WiFi of this awesome mini router will automatically use the VPN and thus all devices will have the static IP address of the VPN! This is useful to increase security of your business so only known IP addresses are allowed to login to sensitive control panels. With this router you can have your VPN static IP while traveling and everywhere!
This mini router has low download/upload speeds via OpenVPN (in my tests it arrived at max 10 Mbps/s). If you want to support faster speeds you need to use Brume (GL-MV1000) router, it uses a more performant hardware and OpenVPN client supports up to 97 Mbps/s.
For more routers that support VPN and 3G/4G WWAN card see here:
Updated on November 3, 2020 at 12:06 pm
- Customer emails don't show up in Zendesk
- Get Windows 7, 8, 10 License Information
- Cheapest Alternatives to Mailchimp, Sendinblue, Sendgrid
- Convert InnoSetup EXE Installer to MSI
- Get Serial Number of CPU, RAM, Motherboard, HDD
- Get Number of Intel Processor Cores via Registry
- Zendesk Remove [Business Name] from Email Subject on Ticket Replies
- Best Text-to-Speech (TTS) Web Services with Human Voices
- Exclude Packages from Apt-Get Upgrade on Debian Linux
- Should I reboot Debian server after apt-get upgrade?
- Download and Install OpenVPN Client on Windows 10
- How to List All Iptables NAT Rules
- How to List INPUT, FORWARD, OUTPUT Iptables Rules
- OpenVPN Iptables Rules
- Parse or Split FTP URL in Delphi XE using TIdURI
- Public FTP Server to Test Upload and Download