4 ms·
> but I don't see anything in the code that would suggest that it can connect two NAT'ed peers directly. Which is not really a problem IMHO. I mean, most of t
by Galanwe 12y ago
> but I don't see anything in the code that would suggest that it can connect two NAT'ed peers directly.
Which is not really a problem IMHO.
I mean, most of the time these peer-to-peer VPN solutions are useful when you have boxes with a single public internet interface (this is what you get with most "cheap" hosting offers), and you want a private network between them. In this case no NAT is involved.
And of course, if you plan to connect your laptop to this network, then you are probably behind your ISP router NAT, so 1 NAT'ed peer connect-back will be useful here.
But 2 sides behind NAT configuration is a more unlikely use case. Either you are dealing with two "users" behind their ISP router - but in this case what are these guys trying to do? Some Hamachi-like usage? Considering it's linux only that wouldn't be all that useful. Then they will anyway need some STUN server so that's not really peer-to-peer anymore.
- detaro 12y agoI'd argue to the contrary: a group of personal machines all behind NAT is the perfect use case for this, because you have many nodes and none of them is in a good position to act as a server. Exactly something like Hamachi, just more stable/better integrated with Linux. (maybe that has changed, but my experiences with Hamachi weren't great)
- Galanwe 12y agoThe point of my post was exactly to state that this case does _not_ exists... Because 1) a layer 2 virtual network between "user-like" hosts serves no real purpose, except for games (which is the main use of Hamachi). And since this is linux only, i doubt there is a real use case of gaming here. 2) if you have this setup, then you will need a STUN server anyway to bypass mutual NAT'd users. This is why, IMHO, there is no real need for mutual NAT traversal in these kinds of VPNs.
- detaro 12y agogames, filesharing, access to streaming devices, cameras, ... VPNs for home users is far from solved (many routers support VPNs, but are not always that easy to set up, don't always work easily in both directions, ... Hamachi comes close when it works properly, but is also missing a few bits) This project might not be the best base (at last Mac support and some UI bits would be helpful), but that doesn't mean the problem doesn't exist. And even for more technical users, it would be nice to have something for a quick connection that is real quick to set up.