New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How to setup a vpn with 2 servers
I have 2 VPSes running which are VPS1 and VPS2(vpn server - v2ray proxy). I want to act VPS1 as a middle server between client and VPS2. I want to show the VPS2's IP address as client surfing on the Internet. Do I need to install same vpn on both servers or do I need to use nginx as reverse proxy on VPS1 or do I need to use IP tables? I don't know how to approach this since I am new to these things. Would appreciate if you guide me a little bit.
VPS1 (non-blocked IP by local ISP)
VPS2 (blocked IP by local ISP)
and also does this method make it harder for ISP to block VPS1's IP?
(sorry for my english)
Thanked by 1emgh
Comments
What about a site-to-site vpn?
I have a similar setup with WireGuard:
You want to login to VPS1 and forward the traffic to VPS2 which should be running wireguard.
Your ISP sees you on VPS1, which is unblocked, but your traffic goes through VPS2 which is the VPN.
i use this script for a wireguard server
https://github.com/Nyr/wireguard-install
then i port forward with this guide for it to be exposed to the internet.
https://www.cyberciti.biz/faq/how-to-configure-ufw-to-forward-port-80443-to-internal-server-hosted-on-lan/