Skip to content

An automated setup script for configuring SNI Proxy, DNSMasq, and NGINX on Ubuntu 24 to bypass censorship and access restricted content.

License

Notifications You must be signed in to change notification settings

Matin-B/SNI-Bypass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

SNI-Bypass

An automated setup script for configuring SNI Proxy, DNSMasq, and NGINX on Ubuntu 24 to bypass censorship and access restricted content.

Features

  • Automatic installation and configuration of SNI Proxy, DNSMasq, and NGINX.
  • Customizable DNS resolution and redirection.
  • Easy setup for bypassing network restrictions.

Requirements

  • Ubuntu 24

Installation

  1. Clone the Repository
    git clone https://github.com/Matin-B/SNI-Bypass.git
    cd SNI-Bypass
  2. Make the Installer Executable:
    chmod +x sni-bypass-installer.sh
  3. Run the Installer:
    sudo ./sni-bypass-installer.sh

Post-Installation Configuration

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>

Special thanks to Saeed Yavari with this article

About

An automated setup script for configuring SNI Proxy, DNSMasq, and NGINX on Ubuntu 24 to bypass censorship and access restricted content.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages