I’d really like to get started with this stuff but finding the technical requirement exhausting.
Trying to install privoxyvpn- “simply add the proxy to your browser and ensure the configuration is correct” (no help as to what this means, or how to do it and following the basic instructions just renders my browser unable to connect - googling the error message gives me replies like “simply make sure you read the logs” (no description of how to get to the logs or how to read them)
hearing I need a proxy and a reverse proxy, install SWAG — “first, point the A name at your server and the CNAME at the A and then install the SSL certificate - but be sure to pick between directories and subdomains if you have fewer than 20 domains in your account.”
Like what the fuck does any of this mean?
Then I hear if I have a proxy it might interfere with the reverse proxy and both might interfere with the VPN and vice versa.
How does one even get started?
OK, I haven’t used Ubuntu in 10 years, and never setup a VPN on it, but here’s what I got:
Certainly! Below is a step-by-step guide to installing and configuring Mullvad VPN on Ubuntu. Mullvad is a VPN service that helps maintain your online privacy and security.
Prerequisites
Step-by-Step Installation and Configuration
Step 1: Download Mullvad VPN
.deb
file appropriate for Ubuntu.Step 2: Install Mullvad VPN
.deb
file is located. For example, if it’s in theDownloads
folder, usecd ~/Downloads
.
Replacesudo dpkg -i [MullvadVPN-File].deb
[MullvadVPN-File]
with the name of the file you downloaded.Step 3: Resolve Dependencies
sudo apt-get install -f
Step 4: Launch Mullvad VPN
mullvad-vpn
or find it in the applications menu and launch it from there.Step 5: Log In
Step 6: Connect to a Server
Step 7: Verify Connection (Optional)
https://ipleak.net
and check if your IP address and location have changed.Step 8: Configure Settings (Optional)
Tips
Troubleshooting
Yes, there are several VPNs that are known for being user-friendly and relatively easy to set up and install on Ubuntu. Here are some popular options:
ExpressVPN: Known for its high speeds and easy-to-use interface, ExpressVPN offers a native application for Ubuntu. The installation process is straightforward, and they provide detailed guides on their website.
NordVPN: NordVPN also offers a native Linux app with a simple setup process. It’s known for strong security features and a large server network.
CyberGhost: While CyberGhost doesn’t have a native Linux app, it provides detailed setup guides for using it on Ubuntu via OpenVPN or other protocols. This makes it relatively easy to install and configure.
Private Internet Access (PIA): PIA offers a Linux app with a simple interface and easy setup. It’s known for its strong commitment to privacy.
Surfshark: Surfshark has a native application for Linux that is straightforward to install and use. They offer good speeds and an unlimited number of simultaneous connections.
General Steps for Installing a VPN on Ubuntu:
Sign Up for a VPN Service: Choose a VPN provider and sign up for their service.
Download the VPN Client: Visit the VPN’s website and download the Linux client or setup files. Some VPNs offer
.deb
files that make installation easier on Ubuntu.Install the VPN Client: You can typically install the
.deb
file using Ubuntu’s Software Center or via the command line withsudo dpkg -i [downloaded-file-name].deb
.Launch and Configure the VPN: After installation, open the VPN application, log in with your credentials, and configure the settings as needed.
Connect to a Server: Choose a server location and connect to start using the VPN service.
Tips:
Each VPN provider will have specific instructions for installation and setup, so it’s a good idea to refer to the documentation provided on their official website.
Forgive my ignorance, but doesn’t the mullvad need to run through gluetun, or at least in its own docker container to be secure?
Or to put it another way, whats the benefit/cost of installing it via dpkg as opposed to running it in a container, as opposed to running it in in gluetun (in a container)?
i thought everything was supposed to run in a container if it’s touching the web
Your question touches on some advanced concepts in networking and system security, specifically around the use of VPNs and Docker containers. Let’s break down the differences and implications of running Mullvad VPN through various methods:
Mullvad via DPKG Installation (Direct Install on OS):
Mullvad in a Docker Container:
Mullvad with Gluetun (VPN in a Container):
In essence, the choice depends on your technical expertise, specific needs, and the level of security and flexibility you desire:
The idea that “everything touching the web should run in a container” is more of a best practice in professional IT environments, especially for server deployments, rather than a strict rule for personal use. It offers advantages in security and manageability but comes with a learning curve and complexity that might not be necessary for simpler or personal setups.