iptables.sh (213B)
- #!/bin/sh
- echo -n Enabling iptables rules...
- iptables -t nat -F PREROUTING
- iptables -t nat -A PREROUTING -p tcp -m tcp -s 10.42.0.0/24 ! -d 10.42.0.1 --dport 80 -j REDIRECT --to-port 80 \
- && echo ok || echo Error
git clone https://hacktivis.me/git/mirror/widrop.git
iptables.sh (213B)
- #!/bin/sh
- echo -n Enabling iptables rules...
- iptables -t nat -F PREROUTING
- iptables -t nat -A PREROUTING -p tcp -m tcp -s 10.42.0.0/24 ! -d 10.42.0.1 --dport 80 -j REDIRECT --to-port 80 \
- && echo ok || echo Error