A Simple SNI Proxy with internal DNS server
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 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