After installing Ubuntu, a good practice is to protect your web surfing from prying eyes. Installing a VPN like Private Internet Access with port forwarding is the goal of this guide.
Installing PIA, WireGuard & Port Forwarding
- Open a browser, like Firefox.
- Go to https://www.privateinternetaccess.com/installer/x/download_installer_linux and save file.
- Navigate thru Files > Downloads then right-click to choose “Open in Terminal”
Open a Terminal, then $ cd Downloads
- Run the PIA installer:
$ sh pia-linux-x.x.x-xxxxx.run
- The PIA app should open itself after installation completes.
- Click on the 3-dots on the top right and access “Settings”
- Launch on System Startup – CHECK
- Connect on Launch – CHECK
- Choose WireGuard
- Request Port Forwarding – CHECK
- VPN Kill Switch, Advanced Kill Switch, PIA Mace – CHECK
- Close settings.
- Provide PIA login credentials and log onto the VPN.
***CLICK ON THE BIG ORANGE BUTTON; ONCE IT TURNS GREEN, YOU ARE LOGGED IN.
- Once logged in, note the port provided from port forwarding.
Now your web surfing is protected. Head over to https://www.whatismyip.com/ and verify the VPN is working by comparing your new public IP against the one provided by your ISP. Using the port forwarded to you by PIA, you can apply it to your torrent client like qBittorent, which we will discuss HERE.
1. Linux – Installing the PIA App – Private Internet Access