› VitalPBX Community Support › General Discussion › Help needed to understand Iptables white list
- This topic has 5 replies, 2 voices, and was last updated 2 years, 2 months ago by
oromero31.
- Post
-
- October 29, 2018 at 5:38 pm
I am having trouble connecting to a server from a certain ip address, this address is entered into the firewall white list but no connections are allowed, when I check from the command line with iptables -L instead of having the ip address I entered in the gui xxx.xxx.xxx.xxx it shows unallocated-static.rogers.com as white listed. not sure how this is changed from xxx.xxx.xxx.xxx to unallocated-static.rogers.com but is there away to prevent this or manually enter the address I wont.
Other white list entry’s are working properly.
0
- Replies
-
- October 29, 2018 at 5:59 pm
- October 29, 2018 at 6:08 pm
- October 29, 2018 at 6:18 pm
- October 29, 2018 at 6:25 pm
- October 29, 2018 at 6:34 pm
Yes, you can uses this commands:
Ver comando de fail2ban
[root@vitalpbx ~]# man fail2ban-clientVer clientes baneas por ssh:
[root@vitalpbx ~]# fail2ban-client status sshdVer clientes baneas por asterisk:
[root@vitalpbx ~]# fail2ban-client status asteriskDesbanear un IP
[root@vitalpbx ~]# fail2ban-client set sshd unbanip 192.168.31.29Banear un IP
[root@vitalpbx ~]# fail2ban-client set sshd banip 192.168.31.29Bloquear IP con el Iptables:
iptables -I INPUT 1 -s IP -j DROPDesbloquear IP del Iptables:
iptables -D INPUT -s IP -j DROP0
- You must be logged in to reply to this topic.