Depends on the client configuration. If you route all the traffic through vpn (so, simplyfied, 0.0.0.0/0) then all their client device network traffic would go through their vpn server at home and is seen as coming from there; otherwise, if you only route specific addressess (like your home network private addressess only) then only those go to their home network and everything else works like it would without a vpn.
Comment on What are your VPN recommendations for accessing self-hosted applications from the outside?
jobbies@lemmy.zip 8 months agoApologies for the dumb noob question, but if your iOS device is VPNed to your home server, how does it access the internet? Does it do this via the VPN to the home server?
eszidiszi@lemmy.world 8 months ago
friend_of_satan@lemmy.world 8 months ago
WireGuard routes certain traffic from the client (your iPhone) through the server (the computer at your house). If you route all traffic, then when your iPhone accesses the internet, it’s as if you were at home. Since that WireGuard server is sitting on the
192.168.0.0/24subnet, it is able to route your phones traffic to anything else on that subnet.Wireguard clients have a setting called AllowedIPs that tells the client what IP subnets to route through the server. By default this is
0.0.0.0/0, ::/0, which means “all ipv4 and all ipv6 traffic”. Now, if all you want is to access your home network services, but some want all your traffic to go through your house, then you change that to192.168.0.0/24or whatever your home subnet is, and only that network will be routes to the server at your house.jobbies@lemmy.zip 8 months ago
Ahh. But what if you already used a VPN on the client for normal browsing etc - can you have two VPNs configured?
friend_of_satan@lemmy.world 8 months ago
I don’t think iOS allows multiple VPNs to be enabled simultaneously. There appears to be only one VPN on/off toggle switch. From what I’ve seen you can have different vpn profiles but only enable one at a time. I could be wrong though.
Desktop operating systems like macOS, Linux (did I mention yet that I use arch Linux?), BSD, and um… that other one… oh yeah, Windows do allow this. I’m sure there are a variety of compatibility problems, but in general, multiple VPNs with the same or even different technologies can work together.
SpikesOtherDog@ani.social 8 months ago
No, think of a VPN as a network cable. You can only send out of one or the other.
Now, if you are connected to a device that has another VPN to somewhere you want to go, then technically yes you would be using 2 VPN connections.