Comment on What are your VPN recommendations for accessing self-hosted applications from the outside?
friend_of_satan@lemmy.world 2 days agoWireGuard 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/24
subnet, 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 to 192.168.0.0/24
or whatever your home subnet is, and only that network will be routes to the server at your house.
jobbies@lemmy.zip 2 days ago
Ahh. But what if you already used a VPN on the client for normal browsing etc - can you have two VPNs configured?
SpikesOtherDog@ani.social 2 days 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.
friend_of_satan@lemmy.world 2 days 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.