caddy-l4
frp
Our great sponsors
caddy-l4 | frp | |
---|---|---|
20 | 111 | |
765 | 79,666 | |
- | - | |
7.2 | 9.0 | |
4 days ago | 5 days ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
caddy-l4
-
Caddylike solution for SSH/SFTP
https://github.com/mholt/caddy-l4 and https://github.com/kadeessh/kadeessh can do SSH forwarding.
-
Minecraft server with VPS as a proxy
3) Use a L4 TCP/UDP plugin for caddy. https://github.com/mholt/caddy-l4
-
Nginx Reverse Proxy game hosting
Wireguard gives my service servers their own internal IP for the gateway to reference (nothing fancy done with it, no iptables modifications like you may see on other guides), and I use NGINX for the game server proxying, specifically linuxserver's nginx container. I love Caddy, but even with caddy-l4 I couldn't get it working right for Valheim (and thus UDP), but NGINX worked real quick.
- Help routing packets from a static public ip to tailscale device
-
Accessing an IP camera stream through caddy
This may help: https://github.com/mholt/caddy-l4
-
The Future of Nginx: Getting Back to Our Open Source Roots
Well, that's a bit off-topic from the parent comment, which was more about the Caddyfile supporting complex config (versus the underlying JSON config) and not really "complex usecases".
But that said, from a quick Google search... was this an RTMP stream? If so, I suppose you'd want to use https://github.com/mholt/caddy-l4 which is a plugin for Caddy that lets you do TCP-layer things. Caddy's standard distribution just ships an HTTP server (plus TLS and PKI, etc), which is layer-7
You might be able to use caddy-l4's "tee" handler to pipe into multiple "proxy" handlers. But I'm not sure anyone's tried this yet, I had no idea people did this sort of thing. I'd be interested to hear if it does work though.
-
Brand new to this, have a few questions about DDNS, reverse proxies, etc
If you are only having your services accessible via LAN, HTTPS isn't totally necessary, but I would still recommend it. I think a reverse proxy will be easier than your described method. Just set it to listen to 443 and have all of your other services on random ports being proxied from the reverse proxy. If you want HTTPS from your reverse proxy to your services, most reverse proxies will have this kind of feature. Here is the caddy L4 raw TCP stream module: https://github.com/mholt/caddy-l4
-
Alternative to SRV record?
I had a similar problem a while back and found this project (Caddy-L4). It had no releases or examples on how to build it so I forked it and added some Docker stuff.
-
Show HN: Caddy v2.5.0
"Caddy L4" aka "Project Conncept" might be what you're looking for:
https://github.com/mholt/caddy-l4
"Project Conncept is an experimental layer 4 app for Caddy. It facilitates composable handling of raw TCP/UDP connections based on properties of the connection or the beginning of the stream."
-
I'm Using SNI Proxying and IPv6 to Share Port 443 Between Webapps
Nice, this is kind of why I made Project Conncept. It's a powerful TCP and UDP stream multiplexer based on Caddy: https://github.com/mholt/caddy-l4
You can route raw TCP connections by using higher layer protocol matching logic like HTTP properties, SSH, TLS ClientHello info, and more, in composable routes that let you do nearly anything.
frp
-
Chisel: A fast TCP/UDP tunnel over HTTP
Seems to be the exact opposite of https://github.com/fatedier/frp which is a reverse tunnel over a variety of protocols (including HTTP).
-
Tunnelmole, an ngrok alternative (open source)
I've been self-hosting https://github.com/fatedier/frp on my little box, and it feels insane to think of the times where I didn't have it set up. There are many choices in the space as others pointed out, but frp's capabilities and lightweight packaging blows all other setups out of the water. I placed mine behind nginx with Let's Encrypt for SSL support. Hella fresh!
- Frp: Expose local server behind NAT/firewall to public (ngrok alternative)
-
Localtunnel – Expose Yourself to the World
My setup to do the same:
- small Hetzner instance
- my domain's dns pointing to that instance
- frps[1] running on that instance
- frpc running on my local machine and connected to the cloud frps
[1] https://github.com/fatedier/frp
-
[Help] Reverse Proxy service running on my local network with Oracle VPS
An easy service to use is FRP, recently found it and it basically handles making the connection out of the network and is really easy to setup. https://github.com/fatedier/frp I personally having it running on a VPS and the client then running on my local network pointing at a reverse proxy which then handles sending it to the diffrent clients.
-
What are hosting?
No, FRP - https://github.com/fatedier/frp
-
SSH with no access to the router
Another way around is to use reverse proxy like frp but since you need SSH anyway, all you need is already comes with SSH (reverse SSH)
-
Auger: A CLI tool for making tunnels to localhost
Take a look also onto popular, similar to yours project: frp
- FRP tunnel to local service
-
Alternative to Cloudflare Tunnel for self-hosting Piped
You may want to take a look at FRP. It’s the same idea like Cloudflare tunnel, just without all the sophisticated features. You put a server (frps) on a VPS with public IP, and a client (frpc) within your home NAT. It can do both TCP and HTTP reverse proxy. I recommend a simple TCP one, and let your local nginx handle SSL.
What are some alternatives?
gateway-api - Repository for the next iteration of composite service (e.g. Ingress) and load balancing APIs.
Nginx Proxy Manager - Docker container for managing Nginx proxy hosts with a simple, powerful interface
authelia - The Single Sign-On Multi-Factor portal for web apps
rustdesk - An open-source remote desktop, and alternative to TeamViewer.
ingress - WIP Caddy 2 ingress controller for Kubernetes
awesome-tunneling - List of ngrok/Cloudflare Tunnel alternatives and other tunneling software and services. Focus on self-hosting.
nginx-proxy - Automated nginx proxy for Docker containers using docker-gen
tailscale - The easiest, most secure way to use WireGuard and 2FA.
caddy-docker-proxy - Caddy as a reverse proxy for Docker
ZeroTier - A Smart Ethernet Switch for Earth
caddy-ssh - Caddy-SSH is a general-purpose, extensible, modular, memory-safe SSH server built in Go [Moved to: https://github.com/kadeessh/kadeessh]
wireguard-vyatta-ubnt - WireGuard for Ubiquiti Devices