this post was submitted on 25 Sep 2023
18 points (90.9% liked)

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

54698 readers
357 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
 

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.

top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 13 points 1 year ago* (last edited 1 year ago) (2 children)

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.

[–] odium 3 points 1 year ago (1 children)

That link is broken, looks like this is the correct link: https://www.gl-inet.com/

[–] [email protected] 1 points 1 year ago

Thanks fixed

[–] [email protected] 2 points 1 year ago

Thanks, I'm probably going to go with the open wrt option since I don't have a spare android and don't want to break my main one.

[–] [email protected] 5 points 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.

[–] [email protected] 5 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago (1 children)

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.

[–] anzo 2 points 1 year ago

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

[–] [email protected] 4 points 1 year ago (2 children)

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

[–] [email protected] 2 points 1 year ago

Same on iOS. Hotspots do not share the VPN connection.

[–] [email protected] 2 points 1 year ago

It seems Every Proxy is not open source. I like this app more: https://play.google.com/store/apps/details?id=cn.adonet.proxyevery. It also isn't open-source.
Instead, I started using TinyProxy in Termux. It's very simple.

[–] [email protected] 2 points 1 year ago

You can try one of those portable routers that can connect to the Internet via WiFi or cable and configure it with VPN to your house. The work laptop won't know any better !

For example: https://youtu.be/7_vk6cpPtxA?si=1Za57Lo2DIzu3lO9