mjtechguy / wireguard-site-to-site

Wireguard site-to-site (network-to-network) VPN Configuration examples
173 stars 25 forks source link

Wireguad Windows Client #3

Open Bammede opened 3 years ago

Bammede commented 3 years ago

Hi, What I have:

Wireguard peer as a server on VPS Wireguard peer client on Windows10 Plex Server on the same Windows machine.

Now, I use Wireguard to encrypt internet traffic on my PC and mobile devices, but I wonder how can I access Plex Server remotely thanks to Wireguard using mobile device?

I think I may need to set some routing in Windows, beause your manual not working for me. Do you know what to do?

Thanks for help

mjtechguy commented 3 years ago

@Bammede You would likely just need to access your windows machine using its Wireguard IP and make sure Plex is listening on that IP.

For example: Home network: 192.168.100.1/24 Cloud Server: 10.10.10.1/24 Wireguard Network Client IPs: 10.200.10.1/24 Mobile Device WG IP: 10.200.10.2 Windows Device WG IP: 10.200.10.3

At home, on Wifi and not connected to WG, you would connect to Windows Plex using its 192.168.100.1/24 address.

But remotely, your mobile device does not know anything about the 192 network. It does however know about the 10.200 network. So try pinging / accessing the WIndows device on its WG IP of 10.200.10.3 instead.

Let me know if that helps.

MJ

Bammede commented 3 years ago

The main issue here is, I don't know what and where to put on. I tried some tips from the Internet earlier, but with no success.