US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > How-To Guides


Reply
 
Thread Tools
Old 04-15-2014, 02:20 PM   #11
Member
 
Join Date: Feb 2014
Posts: 33
icesoul is on a distinguished road
Default

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:~#
Attached Images
File Type: jpg firewall.JPG (33.7 KB, 2 views)
icesoul is offline   Reply With Quote
Old 04-16-2014, 10:49 AM   #12
ISPsystem team
 
Join Date: Jun 2013
Posts: 233
fly is on a distinguished road
Default

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
fly is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:03 PM.