Jump to content

Access remote server via local ip over OpenVPN, tries to access the clients local network?

Jabukon

Hi,

I recently installed OpenVPN on my UnRaid server in order to access it remotely.

Yesterday I was visiting family and tried to test it out on my phone in their network. When trying to access the server's local IP, it tried to connect to this IP on the local network it was currently in instead of the one it was connected to via VPN.

Both networks are from the same ISPs and therefore use the same local IP address scheme with the router being at 192.168.2.1 and everything else at 192.168.2.xxx as well.

How do I fix this? I would ultimately want to deploy a backup server at that location, and being able to access the server when on wifi would obviously be great as well (it works great on cellular).

Link to comment
Share on other sites

Link to post
Share on other sites

Use a subnet that is less frequently used, something like 172.23.x.x maybe.

HAL9000: AMD Ryzen 9 3900x | Noctua NH-D15 chromax.black | 32 GB Corsair Vengeance LPX DDR4 3200 MHz | Asus X570 Prime Pro | ASUS TUF 3080 Ti | 1 TB Samsung 970 Evo Plus + 1 TB Crucial MX500 + 6 TB WD RED | Corsair HX1000 | be quiet Pure Base 500DX | LG 34UM95 34" 3440x1440

Hydrogen server: Intel i3-10100 | Cryorig M9i | 64 GB Crucial Ballistix 3200MHz DDR4 | Gigabyte B560M-DS3H | 33 TB of storage | Fractal Design Define R5 | unRAID 6.9.2

Carbon server: Fujitsu PRIMERGY RX100 S7p | Xeon E3-1230 v2 | 16 GB DDR3 ECC | 60 GB Corsair SSD & 250 GB Samsung 850 Pro | Intel i340-T4 | ESXi 6.5.1

Big Mac cluster: 2x Raspberry Pi 2 Model B | 1x Raspberry Pi 3 Model B | 2x Raspberry Pi 3 Model B+

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×