Open youxiaojie opened 5 years ago
Currently no.
Technically possible. (with hole-punching algorithm)
for eample, node a and b behind nat, if I have a third node c with public ip and port, and can I use this for a relay,just transfer for some nat port information ,that is to say under the c's help a b make a connection hole? is it feasible?
If you have the node C, this server can either help punch a hole between A and B. If the hole is established, A and B can communicate directly without further help from C. However, whether hole punching can succeed is determined by multiple factors (e.g. the configuration of the NAT gateway). If hole punch fails, node C can relay data between A and B.
Currently VxWireguard-Generator only supports relaying. The other mode is possible but I do not have time to implement it.
Random onlooker here.
You’d have to use a STUN server and neither nodes can have a symmetric NAT. At least that is my amateur understanding.
Cool project.
FYI, if you want a full-mesh VPN, you might want to try ZeroTier or Tinc.
Also, I2P is a good choice (better than Tor) if you want an anonymous global-wide mesh VPN.
@innerop VpnCloud works really well, is fast, supports TUN or TAP and its easy to configure...
Depending on what the OP is trying to accomplish: Althea (routing firmware and mesh privacy architecture) uses wireguard to secure the client to the exit node and a second WG tunnel to secure each hop between routers in a Babel Mesh to create a crypto incentiveised commmunity p2p global scale network. Its interesting!
@innerop VpnCloud works really well, is fast, supports TUN or TAP and its easy to configure...
thanks for the reference! nice project!
if two nodes behind nat without public ip, can they make mesh vpn?