mirror of
https://github.com/hatamiarash7/SNI-Proxy.git
synced 2026-04-26 07:35:59 +03:00
A Simple SNI Proxy with internal DNS server
|
|
||
|---|---|---|
| .github/workflows | ||
| .gitattributes | ||
| .gitignore | ||
| dns.go | ||
| Dockerfile | ||
| domains | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| parser.go | ||
| README.md | ||
| renovate.json | ||
SNI-Proxy
A Simple SNI Proxy with internal DNS server
Binary
sudo ./SNI-Proxy -list domains -PIP <YOUR SERVER IP>
You can create service for the binary:
[Unit]
Description=SNI Proxy
[Service]
User=root
WorkingDirectory=/home/ubuntu
ExecStart=sudo ./SNI-Proxy -PIP <YOUR SERVER IP> -list domains
Restart=always
[Install]
WantedBy=multi-user.target
Docker
docker run -d -p 80:80 -p 443:443 -p 53:53 -v "$(pwd):/tmp/" --restart unless-stopped ghcr.io/hatamiarash7/sni-proxy:v1.1.1 -list /tmp/list -PIP YOUR SERVER IP