Replies: 2 comments 4 replies
-
Please have a look at the beginner tutorial: https://vpncloud.ddswd.de/docs/tutorials/basic/. |
Beta Was this translation helpful? Give feedback.
-
Thank you @dswd I've 2 VPS with Public Static IP:
and then 2 servers behind NAT and dynamic IP
I managed to create a hook script every time peers connected, claimed address by that peer will be routed to peer VPN API. Using this script:
And using this config:
When I test ping from 192.168.51.2 to either 192.168.1.2 or 192.168.2.2, it works perfectly, and test again from 192.168.52.2 to either 192.168.1.2 or 192.168.2.2, it works perfectly. When I try to ping from 192.168.52.2 to 192.168.51.2 it won't work. I'm trying to ping it from 200.1.0.52 to 200.1.0.51 also not working. Got message from verbose vpncloud on 192.168.52.2:
I'm tried adding route 192.168.51.2/24 via 200.1.189.1 and still not working. Is it possible to make 192.168.51.2 and 192.168.52.2 able to communicate in this scenario? should I change the config to make it work? |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm trying to connect my pc (behind nat, with dynamic public IP) to a peer network between 2 vps.
I did config my 2 VPS using a tutorial from this https://wp.alshowto.com/build-a-vpn-between-servers/ and success
Now, I have 1 server that works as a data backup server (at my place) behind NAT and doesn't have public IP. How to set it so it could connect to other VPS? which VPS should I connect from 3rd server and how to do it.
I try to read the documentation, but still yet cant find it.
Beta Was this translation helpful? Give feedback.
All reactions