Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
traffic and a router
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Gentoopc
Guru
Guru


Joined: 25 Dec 2017
Posts: 369

PostPosted: Thu Jan 02, 2025 9:36 am    Post subject: traffic and a router Reply with quote

Hello forum. Please tell me, is it possible for all traffic to my router to go through the VPS I rented? The main thing is that the IP is not the one that the provider allocated to me, but from the VPS
Back to top
View user's profile Send private message
keekkenen
n00b
n00b


Joined: 05 Oct 2024
Posts: 27

PostPosted: Thu Jan 02, 2025 10:45 am    Post subject: Re: traffic and a router Reply with quote

Gentoopc wrote:
Hello forum. Please tell me, is it possible for all traffic to my router to go through the VPS I rented? The main thing is that the IP is not the one that the provider allocated to me, but from the VPS


It's possible, for example, this way works different VPN servers based on different protocols, as openVPN, Wireguard etc.
But your router must support these protocols. For example, I use rented VPS, AmneziaWG and Keenetic GIGA (kn-1011) router.
_________________
7950x3d / x670e MSI Tomagawk / Sapphire RX 7800XT 16Gb / G.Skill 64Gb 5600 / A-Data Legend 960 2Tb (x2), A-Data SX8200PNP 256Gb
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1359
Location: Richmond Hill, Canada

PostPosted: Thu Jan 02, 2025 2:39 pm    Post subject: Re: traffic and a router Reply with quote

Gentoopc wrote:
Hello forum. Please tell me, is it possible for all traffic to my router to go through the VPS I rented? The main thing is that the IP is not the one that the provider allocated to me, but from the VPS
Just to confirm there is no typo in this question, By "VPS" you mean Virtual Private Server?
Or You are thinking "VPN" as in Virtual Private Network?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54667
Location: 56N 3W

PostPosted: Thu Jan 02, 2025 5:31 pm    Post subject: Reply with quote

pingtoo,

The answer is yes is either case.
A VPN is required in both cases, either to a random VPN provider or a VPN to your VPS.

Gentoopc,

Be aware that some sites restrict or change content based on the geolocation of your public IP.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Gentoopc
Guru
Guru


Joined: 25 Dec 2017
Posts: 369

PostPosted: Fri Jan 03, 2025 1:18 pm    Post subject: Re: traffic and a router Reply with quote

pingtoo wrote:
Gentoopc wrote:
Hello forum. Please tell me, is it possible for all traffic to my router to go through the VPS I rented? The main thing is that the IP is not the one that the provider allocated to me, but from the VPS
Just to confirm there is no typo in this question, By "VPS" you mean Virtual Private Server?
Or You are thinking "VPN" as in Virtual Private Network?

VPS-in my understanding it is a virtual server. I think there is no need to explain what a virtual server is
Back to top
View user's profile Send private message
Gentoopc
Guru
Guru


Joined: 25 Dec 2017
Posts: 369

PostPosted: Fri Jan 03, 2025 1:26 pm    Post subject: Re: traffic and a router Reply with quote

keekkenen wrote:
Gentoopc wrote:
Hello forum. Please tell me, is it possible for all traffic to my router to go through the VPS I rented? The main thing is that the IP is not the one that the provider allocated to me, but from the VPS


It's possible, for example, this way works different VPN servers based on different protocols, as openVPN, Wireguard etc.
But your router must support these protocols. For example, I use rented VPS, AmneziaWG and Keenetic GIGA (kn-1011) router.



as it turned out, in reality everything is a bit more complicated. I don't want to use client applications, so I want to use a router as a client. The less software is involved in all this, the more reliable it will be. I was advised a router with Wireguard protocol support. I'm waiting for the purchase. It seems that there is already a VPS with Wireguard installed. What would you recommend, setting it up myself or renting a ready-made one?
Back to top
View user's profile Send private message
Gentoopc
Guru
Guru


Joined: 25 Dec 2017
Posts: 369

PostPosted: Fri Jan 03, 2025 1:27 pm    Post subject: Reply with quote

NeddySeagoon wrote:


Be aware that some sites restrict or change content based on the geolocation of your public IP.

ok
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54667
Location: 56N 3W

PostPosted: Fri Jan 03, 2025 2:48 pm    Post subject: Reply with quote

Gentoopc,

If you are going to rent a VPN end point, you need to be able to trust the provider an they will take all your traffic out of the tunnel ah send it to the internet.
They will know the sites that you use but not the data content, as long as you use end to end encryption. e.g. https.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum