An automated setup script for configuring SNI Proxy, DNSMasq, and NGINX on Ubuntu 24 to bypass censorship and access restricted content.
- Automatic installation and configuration of SNI Proxy, DNSMasq, and NGINX.
- Customizable DNS resolution and redirection.
- Easy setup for bypassing network restrictions.
- Ubuntu 24
- Clone the Repository
git clone https://github.com/Matin-B/SNI-Bypass.git cd SNI-Bypass
- Make the Installer Executable:
chmod +x sni-bypass-installer.sh
- Run the Installer:
sudo ./sni-bypass-installer.sh
After the installation, you need to configure the DNS settings on the desired server that doesn't have access to specific domains. For example, on a Linux server, you would add the following line to /etc/hosts:
<your_server_ip> <specific_domain>
Note: Replace <your_server_ip>
and <domain>
with the detected public IP and the desired domain.
If you want to bypass all domains using DNS, set /etc/dnsmasq.d/sni.conf as follows:
address=/#/<your_server_ip>
If you want to bypass specific domains, specify them in /etc/dnsmasq.d/sni.conf and update /etc/hosts accordingly:
address=/<specific_domain>/<your_server_ip>