Hello everyone, after desperate days of searching for the best solution without success, I thought I’d ask for help here.
I was trying to create a VPN on a VPS server because I need something that allows me to connect multiple devices (smartphone, smart TV, Samsung TV, console, etc.) under the same IP address even if they are not on the same Wi-Fi, just once a month per device would be enough.
The devices are in different locations
I was thinking of using WireGuard, but then I realized that I wouldn’t be able to install the app on a Samsung TV.
Does anyone know a better solution?
I want to be honest, I am not an expert, but I am very eager to learn. If you have any advice that could be useful to me, please write it.
I’m guessing that these devices are in different locations?
Since, you can’t install an app on some of these devices. The only way I can think of which will require a few steps.
Get a VPS and install a VPN service. I use pivpn, you can use openvpn or wireguard or both.
Get a router at each location that you can setup a vpn client to connect to the VPS, and setup the whole network to use that vpn connection while its connected. You probably wont want to have that vpn connection from the routers turned on the whole time. This will take up a lot of bandwidth and most of these VPS’s dont have unlimited traffic. It might cost you a lot, depending on total usage.
If you after quick easy and working, tailscale, enable tailscale - - advertise-routes and it’s also effective for site to site.
If you after simple wireguard instead, run wg-easy docker on the vps, add all clients, INCLUDING ONE FOR THE VPS, make sure ip forwarding is enabled on the vps. Clients will be able to see each other. Default ip range for wg-easy is 10.0.8.x I think, under allowed ips on each client replace 0.0.0.0/0 and anything else on that line, and use 10.0.8.0/24
This allows the routing for the clients to see each other
If you get good you can run tailscale and wireguard on the same server and kinda merge them.
WG being up all the time will take just a very little traffic for the “being alive” pings - it should not be a problem for VPS price plan.
Also: I think the OP wants to access the LAN devices for some sort of occasional remote management, not for constant video streaming.
I guess I misunderstood. I thought the OP wanted all those devices to go out thru the VPS and being seen as 1 IP. Yes, the VPN just being up will not consume a lot of bandwidth.
Technically, if the vpn client is on the router and you’ve set it up for all the traffic to go thru the vpn. It should see the ip address of the vps. But, depending on the steaming app. Some of them are able to detect if you’re using a vpn. Its not going to be quick and easy. But can be tested with a small initial cost. Get a vps for 1 month, set up pivpn on the server. Then set up your mobile or computer as a peer. Then as you go to each location you can connect to the vpn and check the steaming app. If it works, then you can find a router for each location that you can set up as a peer that will connect to the vps.
I haven’t done anything like this and I’m not an expert. I’m sure there are a ton more knowledgeable people on this sub.
Another option is you can skip the VPS and set up a vpn server at one of your locations. One that has the best bandwidth (upload and download) and is not on CGNAT. You will need to open a port on the router for the Wireguard incoming connections.