Skip to content

Instantly share code, notes, and snippets.

@jayluxferro
Created July 31, 2017 02:43
Show Gist options
  • Save jayluxferro/98e218078fe3d278884a19429284dd0a to your computer and use it in GitHub Desktop.
Save jayluxferro/98e218078fe3d278884a19429284dd0a to your computer and use it in GitHub Desktop.
PiVPN

Hi all, I finally managed to get PiVPN --> OpenVPN operating using my 4G router Huawei B525! If you happen to have even older models of Huawei 4G routers, here is how to do it:

In the router, open a port at the admin page using Settings -> Security -> Virtual Server. In there ADD a new entry for your Raspi, opening a port e.g. 1194 at your Raspi's Static IP (there are articles in the net telling how to set that under 4G/LTE routers and Raspi settings). Use TCP Protocol as UDP will not work. Also change Firewall settings by enbling firewall as such, but do not enable anything else.
Reinstall pivpn using the same port and as protocol TCP even though pivpn warns against using it.
Make client ovpns and copy them into your clients. You easily can test it e.g. by using your smartphone without WiFi, only using 4G mobile data.
This just minutes ago enabled me to use VPN and now should allow very good video streaming outside my home.
Hope this helps somebody!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment