127

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?

you are viewing a single comment's thread
view the rest of the comments
[-] funkless_eck@sh.itjust.works 1 points 10 months ago* (last edited 10 months ago)

unfortunately I am now still stuck on step 1, (installing mullvad) see my issues here:

https://sh.itjust.works/comment/7983968

[-] Reverendender@sh.itjust.works 2 points 10 months ago

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

  • An active Mullvad VPN account
  • A computer running Ubuntu

Step-by-Step Installation and Configuration

Step 1: Download Mullvad VPN

  1. Open a web browser and go to the Mullvad VPN website (https://mullvad.net).
  2. Navigate to the download section.
  3. Select the Linux version and download the .deb file appropriate for Ubuntu.

Step 2: Install Mullvad VPN

  1. Open the terminal (Ctrl + Alt + T).
  2. Navigate to the directory where the downloaded .deb file is located. For example, if it's in the Downloads folder, use cd ~/Downloads.
  3. Install the package using the following command:
    sudo dpkg -i [MullvadVPN-File].deb 
    
    Replace [MullvadVPN-File] with the name of the file you downloaded.

Step 3: Resolve Dependencies

  1. If the installation reports missing dependencies, fix it by running:
    sudo apt-get install -f
    

Step 4: Launch Mullvad VPN

  1. You can start Mullvad VPN from the terminal by typing mullvad-vpn or find it in the applications menu and launch it from there.

Step 5: Log In

  1. Once Mullvad VPN is open, log in using your account number provided by Mullvad.

Step 6: Connect to a Server

  1. Select a country or server you want to connect to.
  2. Click on the “Secure my connection” button to establish a VPN connection.

Step 7: Verify Connection (Optional)

  1. To ensure that the VPN is working, you can visit a website like https://ipleak.net and check if your IP address and location have changed.

Step 8: Configure Settings (Optional)

  1. You can configure additional settings like auto-connect on startup, enable/disable the kill switch, and select specific protocols as per your preference.

Tips

  • Keep your Mullvad VPN application updated for the latest features and security updates.
  • If you experience any issues, restarting the Mullvad VPN service or your computer might help.

Troubleshooting

  • If you encounter problems during installation or connection, refer to the official Mullvad VPN support page or community forums for assistance.

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:

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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:

  1. Sign Up for a VPN Service: Choose a VPN provider and sign up for their service.

  2. 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.

  3. Install the VPN Client: You can typically install the .deb file using Ubuntu's Software Center or via the command line with sudo dpkg -i [downloaded-file-name].deb.

  4. Launch and Configure the VPN: After installation, open the VPN application, log in with your credentials, and configure the settings as needed.

  5. Connect to a Server: Choose a server location and connect to start using the VPN service.

Tips:

  • Always check if your chosen VPN supports Ubuntu specifically to ensure compatibility.
  • Look for VPNs that offer dedicated Linux support or detailed setup guides.
  • Ensure the VPN service has a good privacy policy and strong security features.

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.

[-] funkless_eck@sh.itjust.works 1 points 10 months ago* (last edited 10 months ago)

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

[-] Reverendender@sh.itjust.works 3 points 10 months ago

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:

  1. Mullvad via DPKG Installation (Direct Install on OS):

    • Benefits:
      • Simplicity: Easy to set up for beginners.
      • System-wide VPN Coverage: All internet traffic from your computer is routed through the VPN, enhancing privacy and security.
    • Costs:
      • Less Flexibility: Harder to isolate specific applications or services.
      • Potential for IP Leaks: If the VPN disconnects, your real IP address might be exposed unless the VPN client has a kill switch.
  2. Mullvad in a Docker Container:

    • Benefits:
      • Isolation: The VPN connection is isolated to the container, enhancing security for containerized applications.
      • Flexibility: Different containers can use different network settings, allowing for complex configurations.
    • Costs:
      • Complexity: Requires understanding of Docker and networking.
      • Limited Scope: Only affects network traffic from services running within the container.
  3. Mullvad with Gluetun (VPN in a Container):

    • Benefits:
      • Enhanced Security and Isolation: Gluetun provides a VPN client in a Docker container, offering both the security benefits of a VPN and the isolation of Docker.
      • Flexibility and Control: Allows for selective routing of traffic through the VPN.
    • Costs:
      • Increased Complexity: Requires more technical know-how to set up and manage.
      • Specific to Containerized Services: Only affects traffic from applications running in Docker.

In essence, the choice depends on your technical expertise, specific needs, and the level of security and flexibility you desire:

  • For Beginners: Direct installation of Mullvad (via DPKG) is straightforward and provides system-wide VPN coverage, suitable for everyday use.
  • For Advanced Users with Specific Needs: Running Mullvad in a Docker container or with Gluetun offers more control and isolation, which is beneficial for complex setups, such as when running multiple services with different networking requirements.

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.

[-] funkless_eck@sh.itjust.works 1 points 10 months ago

Thank you - that is helpful.

So the Gluetun part is really only for if I want to get into my jellyfin when away from home?

this post was submitted on 24 Jan 2024
127 points (94.4% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54716 readers
182 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS