Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- iptables -P INPUT DROP
- iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
- iptables -A INPUT -p tcp --dport 80 -j ACCEPT
- iptables -t nat -A prerouting -p tcp --dport 80 -j REDIRECT --to-port 8080
Add Comment
Please, Sign In to add comment