Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- iptables -N HTTP-IN
- iptables -A INPUT -p tcp --dport 80 -j DROP
- iptables -A INPUT -p tcp --dport 443 -j DROP
- iptables -A HTTP-IN -s 4.5.6.7 --dport 80,443 -j ACCEPT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement