Advertisement
Guest User

Untitled

a guest
Apr 28th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. sudo iptables -I INPUT 4 -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
  2. service iptables save
  3.  
  4.  
  5. iptables -A INPUT -p tcp -m tcp --dport 8234 -j ACCEPT
  6. iptables -A INPUT -i eth0 -p tcp --destination-port 3306 -j ACCEPT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement