Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- anubis:~# iptables-save -c
- # Generated by iptables-save v1.4.8 on Thu Sep 4 15:03:44 2014
- *nat
- :PREROUTING ACCEPT [2961:331240]
- :POSTROUTING ACCEPT [1854:116108]
- :OUTPUT ACCEPT [1725:107446]
- [0:0] -A PREROUTING -i eth1 -p tcp -m tcp --dport 81 -j DNAT --to-destination 192.168.16.8:3000
- COMMIT
- # Completed on Thu Sep 4 15:03:44 2014
- # Generated by iptables-save v1.4.8 on Thu Sep 4 15:03:44 2014
- *mangle
- :PREROUTING ACCEPT [119704:83910539]
- :INPUT ACCEPT [118353:83643501]
- :FORWARD ACCEPT [521:35019]
- :OUTPUT ACCEPT [108477:88939116]
- :POSTROUTING ACCEPT [109000:88974287]
- [0:0] -A FORWARD -o ppp0 -p tcp -m tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1400:65495 -j TCPMSS --clamp-mss-to-pmtu
- COMMIT
- # Completed on Thu Sep 4 15:03:44 2014
- # Generated by iptables-save v1.4.8 on Thu Sep 4 15:03:44 2014
- *filter
- :INPUT ACCEPT [100355:69639749]
- :FORWARD ACCEPT [421:28244]
- :OUTPUT ACCEPT [93621:74543725]
- :fail2ban-apache - [0:0]
- :fail2ban-apache-overflows - [0:0]
- :fail2ban-ssh - [0:0]
- :fail2ban-ssh-ddos - [0:0]
- [519:87526] -A INPUT -p tcp -m multiport --dports 80,443 -j fail2ban-apache
- [129:9164] -A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh
- [519:87526] -A INPUT -p tcp -m multiport --dports 80,443 -j fail2ban-apache-overflows
- [129:9164] -A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh-ddos
- [0:0] -A INPUT -i eth1 -p tcp -m state --state NEW -m tcp --dport 81 -j ACCEPT
- [0:0] -A FORWARD -i eth1 -p tcp -m tcp --dport 81 -j ACCEPT
- [519:87526] -A fail2ban-apache -j RETURN
- [519:87526] -A fail2ban-apache-overflows -j RETURN
- [129:9164] -A fail2ban-ssh -j RETURN
- [129:9164] -A fail2ban-ssh-ddos -j RETURN
- COMMIT
Advertisement
Add Comment
Please, Sign In to add comment