It bundles WireGuard transport layer and a SNI reverse proxy natively, along with optional authentication. Good enough for beginners or people who need quick deployments.
Comment on Replacing Cloudflare Tunnel with a Selfhosted Towonel Tunnel
Shimitar@downonthestreet.eu 5 days ago
I don’t get the need for those tunnels.
Wouldn’t a simple wireguard setup be enough un less you are behind CG-NAT?
Wireguard it’s there, free, open source, doesn’t rely on any external server or company…
What does these “tunnels” actually add?
stratself@lemdro.id 5 days ago
MangoPenguin@lemmy.blahaj.zone 5 days ago What does these “tunnels” actually add?
Ease of deployment / time savings generally. You can certainly do it yourself with wireguard and a reverse proxy.
non_burglar@lemmy.world 5 days ago
They are saying wireguard alone, no reverse proxy. No exposing any services at all to the outside, just tunnel in with WG and access locally.
hexagonwin@lemmy.today 5 days ago
yep, i used to use this behind a cgnat. being a broke kid i couldn’t have another machine with exposed ports proxy things
Zikeji@programming.dev 5 days ago The benefit here is the software by design can’t read your traffic - it’s using SNI to route, not the host header, so SSL pass thru keeps the payload private. It’s billed as shareable for that reason.
Also this is open source and you can host it yourself.
Shimitar@downonthestreet.eu 5 days ago You missed my point?
why can’t you just use a wireguard connection between your device and the server, or network?
curbstickle@anarchist.nexus 5 days ago
between your device
Thats the part right there. Its for not your device to access.
Like a self- hosted website/blog for example. Or taking the complexity of “start this before you try to connect to my eBook server” for your BIL, or “OK mom, when you want to watch the home videos I converted to digital you have to do it only from your phone, press this first, then share to your TV”.
That is the part I think you are missing. Use other than yourself and your own managed devices.
eodur@piefed.social 5 days ago
You mean putting your home servers on a VPN with your client devices? That wouldn’t really allow for exposing public services.
BakedCatboy@lemmy.ml 5 days ago
I use a wireguard tunnel as a reverse proxy and it does ssl passthrough with sni. Termination happens on my local box and the reverse proxy host doesn’t do any certs.
moonpiedumplings@programming.dev 5 days ago
What reverse proxy are you using?
BakedCatboy@lemmy.ml 5 days ago
I use haproxy just for simplicity, with the https fronted in tcp mode with a tcp request inspect delay and acls using req_ssl_sni allows switching between multiple backend based on hostname, though if you only had 1 backend server then it could just be a raw tcp proxy. I have my stuff split between 2 local boxes that are both connected to the reverse proxy using wg so this works well for me.
purplemonkeymad@programming.dev 5 days ago
I checked and this does a similar thing. You can use WG to punch out a connection, and I have before. The linked program uses quic in a similar way to WG but doesn’t do any of the routing, just registers the connection to a hostname for application level forwarding.
It looks more that it provides an easy setup for an alternative.
Both methods can work on cg-nat as well since you are punching out.
feannag@sh.itjust.works 5 days ago
One would be CG-NAT as you mentioned, and some people want to host for other people too, potentially including too many people/too distant/too tech illiterate to easily set up WG.
eodur@piefed.social 5 days ago
Its a secure way to route the traffic from a public endpoint to your internal services without exposing your home IP address. You could do something similar with wireguard. I didn’t indicate you couldn’t.
K3can@lemmy.radio 5 days ago
That’s exactly the use case for “tunnels”: allowing public, incoming connections behind CGNAT.
Wireguard requires a public IP on at least one side of the connection and only allows private access. If you want to host a blog or website AND you’re behind CGNAT, then a “tunnel” service is a very easy solution.
Undaunted@feddit.org 5 days ago
But going with a self-hosted approach like Towonel, you need a server with a public IP too. And I think what the commenter meant is, if you already have that, you can just setup a WireGuard connection to that public server, so that it can route the traffic to your local network.
K3can@lemmy.radio 5 days ago
Oh, maybe I misunderstood? It sounded like he didn’t understand what advantage a “tunnel” could provide.
If your server is behind CGNAT, you need a TURN-style “tunnel” to allow incoming connections. If you have your own remote server with a public IP, then you can absolutely use that and create the tunnel using wireguard (or openvpn, ssh, etc).
I just mentioned CF because it’s probably the most popular solution.
The point is, if you have CGNAT, you need to create that “tunnel” somehow if you want to allow incoming connections.