ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   How-To Guides (http://forum.ispsystem.com//forumdisplay.php?f=12)
-   -   Secure sshd (http://forum.ispsystem.com//showthread.php?t=2176)

icesoul 04-15-2014 02:20 PM

1 Attachment(s)
I have delete all the rules and add others, the same, firewall dont work, anyone can connect.

Code:

root@isp:~# iptables -L
Chain INPUT (policy ACCEPT)
target    prot opt source              destination

Chain FORWARD (policy ACCEPT)
target    prot opt source              destination

Chain OUTPUT (policy ACCEPT)
target    prot opt source              destination

Chain ispmgr_allow_ip (0 references)
target    prot opt source              destination
ACCEPT    tcp  --  089-101-202134.ntlworld.ie  anywhere            tcp dpt:ssh

Chain ispmgr_allow_sub (0 references)
target    prot opt source              destination

Chain ispmgr_deny_ip (0 references)
target    prot opt source              destination

Chain ispmgr_deny_sub (0 references)
target    prot opt source              destination
DROP      tcp  --  anywhere            anywhere            tcp dpt:ssh
root@isp:~#


fly 04-16-2014 10:49 AM

Still no references.

You should execute commands for adding ispmgr chain to INPUT

iptables -I INPUT 1 -j ispmgr_deny_ip
iptables -I INPUT 2 -j ispmgr_allow_ip
iptables -I INPUT 3 -j ispmgr_allow_sub
iptables -I INPUT 4 -j ispmgr_deny_sub


All times are GMT +2. The time now is 02:57 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.