Commit 890e5f98 authored by ave's avatar ave 🤔
Browse files

Update SELFHOST.md

parent 500f6cc2
......@@ -2,9 +2,9 @@
**You don't have to self host.** You can simply use one of the IPs on README.md and it'll have the same functionality. This is mostly for people who want to block more/less addresses or for people who have issues accessing dns servers outside of their networks due to their ISPs.
- Decide on which DNS server to use. Dnsmasq is easier to use but BIND9 is designed for bigger scale deployments, though there's some cases where dnsmasq was deployed on a big scale and did well. I prefer BIND9.
- Decide on if you'll trust me with wifi check bypass or not. If so, don't bother with getting an HTTP server.
- Currently only nginx is supported, but I plan to support apache2 too in the future (if you write a config, send a Merge Request).
- Decide on which DNS server to use (between BIND9, dnsmasq, pihole, openwrt, Windows Server DNS Services (not available on consumer Windows installs, only on Windows Server)). Dnsmasq is the easiest to use but BIND9 is designed for bigger scale deployments, though there's some cases where dnsmasq was deployed on a big scale and did well. I prefer BIND9.
- Decide on if you'll trust me with wifi check bypass or not. If you do trust me, don't bother with getting an HTTP server.
- If you will get an HTTP server, pick between nginx and apache2, both configs are available here..
- Install your preferred DNS software on a server, start and enable it (example: `apt install bind9`, `systemctl enable --now bind9`).
- Make sure that the port 53 is both open and accessible (you can use `nmap <IP>` on a different machine)
......@@ -48,7 +48,7 @@ This part of guide is only for people who already have an OpenWrt router up and
- Download the `nginx/switchwifi` file from the repo to your `/etc/nginx/sites-enabled` folder (on non-debian based OSes you might need to set this folder yourself by messing with `/etc/nginx/nginx.conf`)
- Reload nginx (`# systemctl reload nginx`)
#### Apache
#### Apache2
- Download the `Apache/switchwifi.conf` file from the repo to your server.
- Download the `Apache/test` & `Apache/cdn` directories to your server.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment