logo

widrop

[mirror] WiDrop distribution, now defunct git clone https://hacktivis.me/git/mirror/widrop.git

iptables.sh (213B)


  1. #!/bin/sh
  2. echo -n Enabling iptables rules...
  3. iptables -t nat -F PREROUTING
  4. 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 \
  5. && echo ok || echo Error