Not piracy, but I figured this is the best community to find people knowledgeable about this. I want to set up an open VPN server at my home and then go on a trip to another country for a week. If I connect my phone to my home VPN and connect my work laptop to my phone’s internet through a hotspot, will my work laptop only be able to see my home’s IP? Also my work laptop would need to connect to a work VPN.

Tldr; two devices, phone and work laptop. Phone connects to home VPN and laptop connects to work VPN. Laptop connects to internet through phone’s hotspot. Would laptop only be able to see home ip and work VPN ip? Or would it be able to know the actual ip?

Thanks.

  • jet@hackertalks.com
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    1 year ago

    Assuming you want to route all traffic to your home. I would recommend you look at tail scale. It’s an excellent way to set up wire guard with little hassle, and you can route everything to your house.

    The difficulty in your scenario, is getting your work laptop to route to your home network. Most Android phones, except calyx OS, Will not share the VPN connection over tethering, over hotspot. I can’t speak for iOS but I imagine it’s the same.

    If you have an extra Android phone, put calyx on it and set up your tail scale VPN to share the network in the network settings.

    If you have an open WRT device, or any extra device, you could set up the VPN on that device, and then connect your work lap type through that device, to connect to your home network. https://www.gl-inet.com/ sells nice devies with openwrt preinstalled, but any openwrt device will do.

  • rush@lemm.ee
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    This depends. LineageOS and some other Android Distributions support this, but Android doesn’t support it out of the box. iPhones don’t support it at all.

  • cecilkorik@lemmy.ca
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    “GL iNet” has a dizzying array of products and some are designed for this (you can find them for sale on the usual scumbags). Surprisingly, for a niche brand you’ve likely never heard of the firmware is surprisingly robust and has a small but loyal community. Expensive, and you might not want to carry an extra piece of hardware to provide a bulletproof VPN connection, but worth it for the security IMO.

    • jet@hackertalks.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I’ve carried around these GLINet devices for years. Their lifesavers. Especially if you’re traveling with other people. Everybody can figures their device to use the GLI net Wi-Fi, which tunnels traffic, and then set it up in a hotel room, or an Airbnb, and your networking just works. You don’t have to configure each device.

      Nowadays however, with caylex I’m able to do 99% of what I want to for a travel router, with just my backup cell phone. So I’ve stopped carrying the GLINet devices, instead I just bring a USBC Ethernet adapter to check on my backup phone. I still love GLINet, I just want to minimize how much I have to carry.

      • adr1an
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Did you mean CalyxOS instead of caylex? Else, pls provide a link. idk.

  • Moonrise2473@feddit.it
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    Unfortunately when you set the hotspot on Android, it doesn’t share the VPN. You would need to connect again from the PC or to use an app like “everything proxy” on the phone, then set the laptop to use the phone ip address as a proxy