https://github.com/gharib110/sniproxy
SniProxy based on dnsmasq and nginx
https://github.com/gharib110/sniproxy
dnsmasq shecan sni-proxy sniproxy
Last synced: about 1 year ago
JSON representation
SniProxy based on dnsmasq and nginx
- Host: GitHub
- URL: https://github.com/gharib110/sniproxy
- Owner: Gharib110
- License: gpl-3.0
- Created: 2024-03-18T06:31:25.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-27T18:11:01.000Z (over 1 year ago)
- Last Synced: 2025-01-27T19:34:11.455Z (over 1 year ago)
- Topics: dnsmasq, shecan, sni-proxy, sniproxy
- Language: Python
- Homepage:
- Size: 4.98 MB
- Stars: 15
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SniProxy
SniProxy based on dnsmasq and nginx
It works like shecan.ir in Iran
## How to Run ?!
- Install docker and docker-compose
- Run with `` docker-compose up -d ``
- Change docker-compose.yml based on your preferences !
- I try to update the `` dnsmasq/proxy.conf `` file based on the internet status of Iran
- It could be resource intensive task to serve this dns service to many people so bring a powerhouse
- I tested on a 2gigs 2 cpus vps and It is OK for me, my family, and friends
- Also dnsmasq is limited to `` lo `` interface, localhost
- Use AdGuard Home to deploy DOT, DOH, and use it with SniProxy
- I wrote a script to add all sanctioned domains in Iran into multiple files
- You can use it to update your domains list
- I have added a hosts file which helps you to block (Ads, Malwares, Porn, Fakenews and Gambling Websites), like pi-hole but along with SniProxy Capability
- Also you can check Steven Black github repo to change the hosts file based on your preferences
- You can deploy a wiregaurd VPN on Iran VPS and set its DNS to the ip address of your SNI-PROXY
## Thanks !
[v2ray](https://github.com/v2ray/domain-list-community)
[v2fly](https://github.com/v2fly/domain-list-community)
[Steven Black](https://github.com/StevenBlack/hosts)