Guest User

Untitled

a guest
Aug 20th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. iptables -P INPUT DROP
  2.  
  3. iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
  4.  
  5. iptables -A INPUT -p tcp --dport 80 -j ACCEPT
  6.  
  7. iptables -t nat -A prerouting -p tcp --dport 80 -j REDIRECT --to-port 8080
Add Comment
Please, Sign In to add comment