Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taoso/led
led - lehu daemon
https://github.com/taoso/led
golang http-proxy http2 letsencrypt tls
Last synced: 4 days ago
JSON representation
led - lehu daemon
- Host: GitHub
- URL: https://github.com/taoso/led
- Owner: taoso
- Created: 2020-02-09T10:20:23.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-02T02:32:48.000Z (13 days ago)
- Last Synced: 2024-11-02T03:19:33.014Z (13 days ago)
- Topics: golang, http-proxy, http2, letsencrypt, tls
- Language: Go
- Homepage:
- Size: 258 KB
- Stars: 38
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# led
lehu daemon
led is a simple secure http proxy server with automic https.
If you need IP tunnel, you could use https://github.com/taoso/dtun
# quick start
Firstly, install the led
```
go get -u -v github.com/taoso/led/cmd/led
```Secondly, register one domain name.
Suppose you have a domain named led.example. Your need to add an A record.
And then create a text file named sites.txt with the following content
```
led.example:
```And then create a text file named users.txt with the following content
```
name:passwrd
```The password need to be encrypted by bcrypt. You can use the htpasswd:
```
htpasswd -B -c ./users.txt foo
```And then start the led,
```
sudo ./led -root /tmp -sites sites.txt -users users.txt
```The option of `-root` is used for set static sites root dir.
All file in /tmp/led.example/ will be published to the Internet.
led uses https://letsencrypt.org so sign a https certificate automically.
Finally, set your system proxy or browser proxy extension using the **HTTPS** protocol.
We recommend to use the [SwitchyOmega](https://github.com/FelisCatus/SwitchyOmega)。
led will listen on 80/443 tcp port and 443 udp port for h3.