Live data from Hacker News

EasyTier – P2P mesh VPN written in Rust using Tokio

easytier.cn

31–40 of 54 posts

Re: EasyTier – P2P mesh VPN written in Rust using Tokio

#31
Anyone know how this compares to Tinc? I don't much know what development on it is like these days, but it for me is one of the best "set it and forget it" things I regularly use to keep my devices talking to each other.

I'm aware that with things like this you're supposed to use the latest and greatest like Wireguard or whatever, but nothing really does the p2p thing as easy as Tinc, and given secondary encryption measures (e.g. I'm sshing and httpsing to those machines) I'm just not worrying much about it right now.

Re: EasyTier – P2P mesh VPN written in Rust using Tokio

#32
post #24

What are some notable uses of P2P these days? You don't hear about it much any more. I believe P2P rose to prominence two decades ago as a response to the cost of bandwidth. I wonder if similar methods could effectively overcome the cost of compute for LLMs. Here are two projects I found from a quick search: Serving: https://petals.dev/ Training: https://github.com/learning-at-home/hivemind

Personally (as I mentioned elsewhere) I still use Tinc for my devices because I prefer "set the thing up once and never much think about it again;"

The loss of a "central server" or whatever never matters.

Re: EasyTier – P2P mesh VPN written in Rust using Tokio

#33
post #14

Earlier quoted context omitted.

You need a government license to operate a website in China, and that's their license number.

Wait, really? Even like a personal website? Is it hard to get?

It's a totalitarian dictatorship after all.

Re: EasyTier – P2P mesh VPN written in Rust using Tokio

#34

Earlier quoted context omitted.

This is a Chinese project (hosted inside China), so probably not very well.

Au contraire, it is usually developers of Chinese origin that build some of the widely used anti-censorship techniques & protocols. Ironically, it was American companies that sold firewall tech to the CCP: https://www.cfr.org/backgrounder/us-internet-providers-and-g...

Surely not publicly on government-licensed websites.

Re: EasyTier – P2P mesh VPN written in Rust using Tokio

#35
post #6

Aren't you making yourself vulnerable to unknowingly sending (potentially loads of) illicit traffic from your ip address into the world? I'm not sure if I'd be up for that, to be honest...

Like other products in this category, this is for private networks, internal to your company or self. I don't think it's an intended use case to connect to computers not in your control.

It's useful when you have computers that talk to each other over the internet, likely without public interfaces, and using protocols that may or may not be secure.

Re: EasyTier – P2P mesh VPN written in Rust using Tokio

#36
post #2

This seems to go into a similar direction like ZeroTier, but actually open source. There is almost no discussion of this in the western hemisphere, but I'd be interested what people think about it.

Can you elaborate on what you mean by "no discussion in the western hemisphere"? Zerotier is fairly well known in the US.

Re: EasyTier – P2P mesh VPN written in Rust using Tokio

#37
post #24

What are some notable uses of P2P these days? You don't hear about it much any more. I believe P2P rose to prominence two decades ago as a response to the cost of bandwidth. I wonder if similar methods could effectively overcome the cost of compute for LLMs. Here are two projects I found from a quick search: Serving: https://petals.dev/ Training: https://github.com/learning-at-home/hivemind

> What are some notable uses of P2P these days?

Im using it for Payload[1] in for LAN and WAN transfers (if possible). Reduce operational costs (especially if you run on public clouds and have to pay extortion rates for egress) and also you must use it to capitalize on latency/throughput in LAN. Moving data from A->server->B means your need multiple servers on the edge, which means you kinda need to depend on mega-corps. If your destination is closer it’s easier for your application infra. I’d like to reverse the question, why send all data through another machine in the cloud if you don’t need to?

That said, p2p being flaky and bad is real. It’s a self-fulfilling prophecy, because middlebox engineers say ”let’s add these layers of garbage and nobody will notice unless they use p2p but its so bad who uses it anyway”. Well, yeah. It’s worse because of you! Philosophically, I also think p2p is a necessary precondition to a decentralized internet without tiers (ie client and server separation).

Anyway, rant aside, you have to currently have a relay backup if you need availability. P2P will fail often even with the smartest hole punching algorithms. This makes things more complicated, because you need a hybrid solution. However, it’s not as complicated as WebRTC, that thing is an overengineered mess. It works, but I don’t like the complexity it brings.

[1]: https://payload.app/

Re: EasyTier – P2P mesh VPN written in Rust using Tokio

#38
post #14

Earlier quoted context omitted.

You need a government license to operate a website in China, and that's their license number.

Wait, really? Even like a personal website? Is it hard to get?

A bit similar to Germany where you need an Impressum for your website, even for personal websites (though I might be wrong on that).

Similar discussion: https://www.reddit.com/r/germany/comments/119ycfv/how_do_you...

Re: EasyTier – P2P mesh VPN written in Rust using Tokio

#40
post #3

> A simple, decentralized mesh VPN with WireGuard support. How does it square up against DPI censorship techniques that successfully block WireGuard?

From personal experience, the great firewall picks up on wireguard usage when tunneling to my home computer (not in China) and throttles the connection. I am guessing that this would have similar limitations when using wireguard.
Post reply on HN