Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- anubis:~# ufw disable
- Firewall stopped and disabled on system startup
- anubis:~# iptables -A PREROUTING -t nat -i eth1 -p tcp --dport 81 -j DNAT --to 192.168.16.8:3000
- anubis:~# iptables -A INPUT -p tcp -m state --state NEW --dport 81 -i eth1 -j ACCEPT
- anubis:~# iptables -I FORWARD -p tcp --dport 81 -i eth1 -j ACCEPT
- anubis:~# iptables -L
- Chain INPUT (policy ACCEPT)
- target prot opt source destination
- fail2ban-apache tcp -- anywhere anywhere multiport dports www,https
- fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh
- fail2ban-apache-overflows tcp -- anywhere anywhere multiport dports www,https
- fail2ban-ssh-ddos tcp -- anywhere anywhere multiport dports ssh
- ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:81
- Chain FORWARD (policy ACCEPT)
- target prot opt source destination
- ACCEPT tcp -- anywhere anywhere tcp dpt:81
- Chain OUTPUT (policy ACCEPT)
- target prot opt source destination
- Chain fail2ban-apache (1 references)
- target prot opt source destination
- RETURN all -- anywhere anywhere
- Chain fail2ban-apache-overflows (1 references)
- target prot opt source destination
- RETURN all -- anywhere anywhere
- Chain fail2ban-ssh (1 references)
- target prot opt source destination
- RETURN all -- anywhere anywhere
- Chain fail2ban-ssh-ddos (1 references)
- target prot opt source destination
- RETURN all -- anywhere anywhere
- anubis:~#
Advertisement
Add Comment
Please, Sign In to add comment