Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Mar 31st, 2020 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Centos 6 iptables settings
  2.  
  3. # just want to block port
  4. iptables -I INPUT -m set --match-set countryblock 10.0.0.32 -j DROP
  5.  
  6. #iptables -A INPUT -s 10.0.0.32 -j DROP
  7.  
  8. iptables -I INPUT -s 10.0.0.32 -j DROP
  9.  
  10. service iptables save
  11. service iptables reload
  12.  
  13. iptables -L
  14.  
  15. #Unblock IP
  16. iptables -D INPUT -s 10.0.0.32 -j DROP
  17.  
  18. \
  19.  
  20.  
  21.  
  22. Centos7 firewalld settings
  23.  
  24. iptables -F
  25. iptables -X
  26.  
  27. firewall-cmd --permanent --add-rich-rule="rule family='ipv4' source address='10.0.0.31' reject"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top