VPN over hotspot - eviltoast

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.