• @[email protected]
      link
      fedilink
      English
      8
      edit-2
      5 months ago

      To access a different LAN, e.g. a network at work, or your NAS at home. You configure it so your internet traffic still goes over your normal connection but only the LAN requests to the specific subnet goes over the VPN. This was the original use case they were built for (roadwarrior businessmen logging into their corporate portal from a hotel or whatever)

      • @[email protected]
        link
        fedilink
        English
        25 months ago

        You won’t be “on a different local network,” you’ll be accessing specific networks (or subnets) via the VPN tunnel rather than some other network interface on your machine.

        So if you’re at home with a 192.168.0.0/24 network and you want to access an office resource on the 192.168.141.0/24 network, likely what will happen is your machine with have a route to 192.168.131.0/24 via the network the VPN provides (let’s just say 10.0.0.1).

        Depending on how everything’s configured, the server you’re accessing might see it coming from the VPN server (masquerade) or it could very well be passed on as-is (which would only work if the server has a routing table back to you via the VPN).

        Typically when people use VPNs for internet access, the traffic is sent out masqueraded so that it appears to come from the VPN’s WAN IP address.

      • @[email protected]
        link
        fedilink
        English
        15 months ago

        Yes but this isn’t the point I’m getting at — VPN doesn’t always mean you’re sending all your Internet traffic down the tunnel. You can choose to configure only specific networks to use the VPN tunnel.

          • @[email protected]
            link
            fedilink
            English
            1
            edit-2
            4 months ago

            It’s the case of every VPN, it’s just that typically people choose to send all their traffic through it rather than that destined to specific networks.

    • @[email protected]
      link
      fedilink
      English
      25 months ago

      To ensure your unecrypted data(which is rare these days) is not clear-text in an untrusted network such as public wifi.

      • @[email protected]
        link
        fedilink
        English
        15 months ago

        Yes but this isn’t the point I’m getting at — VPN doesn’t always mean you’re sending all your Internet traffic down the tunnel. You can choose to configure only specific networks to use the VPN tunnel.