Guest User

Untitled

a guest
Sep 4th, 2014
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. anubis:~# ufw disable
  2. Firewall stopped and disabled on system startup
  3. anubis:~# iptables -A PREROUTING -t nat -i eth1 -p tcp --dport 81 -j DNAT --to 192.168.16.8:3000
  4. anubis:~# iptables -A INPUT -p tcp -m state --state NEW --dport 81 -i eth1 -j ACCEPT
  5. anubis:~# iptables -I FORWARD -p tcp --dport 81 -i eth1 -j ACCEPT
  6. anubis:~# iptables -L
  7. Chain INPUT (policy ACCEPT)
  8. target prot opt source destination
  9. fail2ban-apache tcp -- anywhere anywhere multiport dports www,https
  10. fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh
  11. fail2ban-apache-overflows tcp -- anywhere anywhere multiport dports www,https
  12. fail2ban-ssh-ddos tcp -- anywhere anywhere multiport dports ssh
  13. ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:81
  14.  
  15. Chain FORWARD (policy ACCEPT)
  16. target prot opt source destination
  17. ACCEPT tcp -- anywhere anywhere tcp dpt:81
  18.  
  19. Chain OUTPUT (policy ACCEPT)
  20. target prot opt source destination
  21.  
  22. Chain fail2ban-apache (1 references)
  23. target prot opt source destination
  24. RETURN all -- anywhere anywhere
  25.  
  26. Chain fail2ban-apache-overflows (1 references)
  27. target prot opt source destination
  28. RETURN all -- anywhere anywhere
  29.  
  30. Chain fail2ban-ssh (1 references)
  31. target prot opt source destination
  32. RETURN all -- anywhere anywhere
  33.  
  34. Chain fail2ban-ssh-ddos (1 references)
  35. target prot opt source destination
  36. RETURN all -- anywhere anywhere
  37. anubis:~#
Advertisement
Add Comment
Please, Sign In to add comment