Replies: 1 comment 2 replies
-
What you're asking for is essentially a STUN/TURN server/connection which is something that vpncloud essentially does, but the key thing is that there needs to be a public accessible server that is not in this CGNat in order to work. Here's the problem. You don't actually know what port is being used at the CGNat side. It's going to be dynamic and always changing and you have no control over that. There needs to be a publicly accessible server that can inform the other clients where those connections are. You need this: Client1 --> Server |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Both hosts are using dynamic IP addresses with different ISPs, and you can't port forward due to CGNat so the machine never gets traffic originated from the internet.
I've read a few tutorials, read the 'begginers guide' but it didn't work.
What I did on the hosts :
On host 1:
vpncloud -l 31333 --beacon-store /tmp/beacon.txt --password d8fae52d-8e62-467e-8e13-9512ec436936 --ip 192.168.103.1/24
Manually copied the beacon.txt
On host 2:
Manually pasted the beacon.txt
vpncloud -l 31334 --beacon-load /tmp/beacon.txt --password d8fae52d-8e62-467e-8e13-9512ec436936 --ip 192.168.103.2/24
Logs after 5 minutes:
Host 1:
Host 2:
Additional details:
VPN version: 2.3.0
Ping don't work
Both hosts are Debian 12 fully updated
I've configured the router on both sides to forward the port to the respective machines as a last resort even knowing the CGNat
Before trying the beacon version, i've tried that:
Host 1:
vpncloud -c host2_public_ip:31334 --ip 192.168.103.1/24 --password d8fae52d-8e62-467e-8e13-9512ec436936
Host 2:
vpncloud -c host1_public_ip:31333 --ip 192.168.103.2/24 --password d8fae52d-8e62-467e-8e13-9512ec436936
Still, the same, VPN doesn't connect
Beta Was this translation helpful? Give feedback.
All reactions