A Simple SNI Proxy with internal DNS server
Find a file
Arash Hatami f9de9d2794
Merge pull request #3 from hatamiarash7/renovate/actions-setup-go-3.x
Update actions/setup-go action to v3
2022-06-26 18:48:41 +04:30
.github/workflows Update actions/setup-go action to v3 2022-06-26 13:57:43 +00:00
.gitattributes Initial commit 2022-02-14 17:57:06 +03:30
.gitignore Update .gitignore 2022-03-24 15:58:59 +04:30
dns.go Fix problem 2022-03-24 13:29:17 +04:30
Dockerfile Improve publish workflow 2022-03-24 15:18:43 +04:30
domains rename domains file 2022-02-14 20:28:11 +03:30
go.mod Add logrus 2022-03-24 13:18:44 +04:30
go.sum Add logrus 2022-03-24 13:18:44 +04:30
LICENSE Initial commit 2022-02-14 17:57:06 +03:30
main.go Fix problems 2022-03-24 13:18:15 +04:30
parser.go Some improvements 2022-02-14 20:12:04 +03:30
README.md Update README.md 2022-03-24 16:01:34 +04:30
renovate.json Add renovate.json 2022-06-26 08:11:43 +00:00

SNI-Proxy

Go Release Docker Publish

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