Go to file
2024-03-03 06:31:46 +03:30
.gitignore Initial commit 2024-03-03 06:31:46 +03:30
.goreleaser.yml Initial commit 2024-03-03 06:31:46 +03:30
go.mod Initial commit 2024-03-03 06:31:46 +03:30
LICENSE Initial commit 2024-03-03 06:31:46 +03:30
main.go Initial commit 2024-03-03 06:31:46 +03:30
Makefile Initial commit 2024-03-03 06:31:46 +03:30
README.md Initial commit 2024-03-03 06:31:46 +03:30
VERSION Initial commit 2024-03-03 06:31:46 +03:30

Sample iptables rules

sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8443
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8443
sudo ip6tables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8443
sudo ip6tables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8443

Sample dnsmasq config

no-dhcp-interface=
enable-tftp=false

address=/#/185.218.139.254