Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. iptables -N HTTP-IN
  2. iptables -A INPUT -p tcp --dport 80 -j DROP
  3. iptables -A INPUT -p tcp --dport 443 -j DROP
  4. iptables -A HTTP-IN -s 4.5.6.7 --dport 80,443 -j ACCEPT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement