I am new to fusion and tried searching before I post this question but figure it out.
I setup my gateway and it would register fine and work for a day then show fail_wait on the status. I then tried to ping the domain for the provider and it would not ping but I can ping other sites. I then ran this command (service fail2ban restart) and it started pinging before I ran the command I ran (iptables -L) and did not see my site block in it. This it for the provider is not in the iptables -L
Any suggestion to where it’s being block?
root@CNSPBX:~# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
fail2ban-nginx-dos tcp -- anywhere anywhere multiport dports http,https
fail2ban-nginx-404 tcp -- anywhere anywhere multiport dports http,https
fail2ban-fusionpbx-mac tcp -- anywhere anywhere multiport dports http,https
fail2ban-fusionpbx tcp -- anywhere anywhere multiport dports http,https
fail2ban-fusionpbx-404 all -- anywhere anywhere
fail2ban-freeswitch-dos-tcp tcp -- anywhere anywhere multiport dports sip:5090
fail2ban-freeswitch-dos-udp udp -- anywhere anywhere multiport dports sip:5090
fail2ban-freeswitch-ip-udp udp -- anywhere anywhere multiport dports sip:5090
fail2ban-freeswitch-ip-tcp tcp -- anywhere anywhere multiport dports sip:5090
fail2ban-freeswitch-tcp tcp -- anywhere anywhere multiport dports sip:5090
fail2ban-freeswitch-udp udp -- anywhere anywhere multiport dports sip:5090
fail2ban-sshd all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP udp -- anywhere anywhere udp dpts:sip:5090 STRING match "friendly-scanner" ALGO name bm TO 65535
DROP udp -- anywhere anywhere udp dpts:sip:5090 STRING match "sipcli/" ALGO name bm TO 65535
DROP udp -- anywhere anywhere udp dpts:sip:5090 STRING match "VaxSIPUserAgent/" ALGO name bm TO 65535
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:https
ACCEPT tcp -- anywhere anywhere tcp dpts:sip:5090
ACCEPT udp -- anywhere anywhere udp dpts:sip:5090
ACCEPT udp -- anywhere anywhere udp dpts:16384:32768
ACCEPT icmp -- anywhere anywhere icmp echo-request
ACCEPT udp -- anywhere anywhere udp dptpenvpn
Chain FORWARD (policy DROP)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain fail2ban-freeswitch-dos-tcp (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain fail2ban-freeswitch-dos-udp (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain fail2ban-freeswitch-ip-tcp (1 references)
target prot opt source destination
REJECT all -- 85.195.96.110 anywhere reject-with icmp-port-unreachable
REJECT all -- 51-15-149-61.rev.poneytelecom.eu anywhere reject-with icmp-port-unreachable
RETURN all -- anywhere anywhere
Chain fail2ban-freeswitch-ip-udp (1 references)
target prot opt source destination
REJECT all -- 85.195.96.110 anywhere reject-with icmp-port-unreachable
REJECT all -- 51-15-149-61.rev.poneytelecom.eu anywhere reject-with icmp-port-unreachable
RETURN all -- anywhere anywhere
Chain fail2ban-freeswitch-tcp (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain fail2ban-freeswitch-udp (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain fail2ban-fusionpbx (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain fail2ban-fusionpbx-404 (1 references)
target prot opt source destination
REJECT all -- 8d.94.1732.ip4.static.sl-reverse.com anywhere reject-with icmp-port-unreachable
RETURN all -- anywhere anywhere
Chain fail2ban-fusionpbx-mac (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain fail2ban-nginx-404 (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain fail2ban-nginx-dos (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain fail2ban-sshd (1 references)
target prot opt source destination
REJECT all -- 61.177.172.63 anywhere reject-with icmp-port-unreachable
REJECT all -- 23.236.91.206 anywhere reject-with icmp-port-unreachable
REJECT all -- 27.184.216.134 anywhere reject-with icmp-port-unreachable
REJECT all -- 93-42-228-214.ip88.fastwebnet.it anywhere reject-with icmp-port-unreachable
REJECT all -- 42.7.26.60 anywhere reject-with icmp-port-unreachable
REJECT all -- 1-171-58-178.dynamic-ip.hinet.net anywhere reject-with icmp-port-unreachable
REJECT all -- d23-16-230-104.bchsia.telus.net anywhere reject-with icmp-port-unreachable
REJECT all -- ua-85-229-185-142.cust.bredbandsbolaget.se anywhere reject-with icmp-port-unreachable
RETURN all -- anywhere anywhere
root@CNSPBX:~# ^C
I setup my gateway and it would register fine and work for a day then show fail_wait on the status. I then tried to ping the domain for the provider and it would not ping but I can ping other sites. I then ran this command (service fail2ban restart) and it started pinging before I ran the command I ran (iptables -L) and did not see my site block in it. This it for the provider is not in the iptables -L
Any suggestion to where it’s being block?
root@CNSPBX:~# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
fail2ban-nginx-dos tcp -- anywhere anywhere multiport dports http,https
fail2ban-nginx-404 tcp -- anywhere anywhere multiport dports http,https
fail2ban-fusionpbx-mac tcp -- anywhere anywhere multiport dports http,https
fail2ban-fusionpbx tcp -- anywhere anywhere multiport dports http,https
fail2ban-fusionpbx-404 all -- anywhere anywhere
fail2ban-freeswitch-dos-tcp tcp -- anywhere anywhere multiport dports sip:5090
fail2ban-freeswitch-dos-udp udp -- anywhere anywhere multiport dports sip:5090
fail2ban-freeswitch-ip-udp udp -- anywhere anywhere multiport dports sip:5090
fail2ban-freeswitch-ip-tcp tcp -- anywhere anywhere multiport dports sip:5090
fail2ban-freeswitch-tcp tcp -- anywhere anywhere multiport dports sip:5090
fail2ban-freeswitch-udp udp -- anywhere anywhere multiport dports sip:5090
fail2ban-sshd all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP udp -- anywhere anywhere udp dpts:sip:5090 STRING match "friendly-scanner" ALGO name bm TO 65535
DROP udp -- anywhere anywhere udp dpts:sip:5090 STRING match "sipcli/" ALGO name bm TO 65535
DROP udp -- anywhere anywhere udp dpts:sip:5090 STRING match "VaxSIPUserAgent/" ALGO name bm TO 65535
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:https
ACCEPT tcp -- anywhere anywhere tcp dpts:sip:5090
ACCEPT udp -- anywhere anywhere udp dpts:sip:5090
ACCEPT udp -- anywhere anywhere udp dpts:16384:32768
ACCEPT icmp -- anywhere anywhere icmp echo-request
ACCEPT udp -- anywhere anywhere udp dptpenvpn
Chain FORWARD (policy DROP)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain fail2ban-freeswitch-dos-tcp (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain fail2ban-freeswitch-dos-udp (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain fail2ban-freeswitch-ip-tcp (1 references)
target prot opt source destination
REJECT all -- 85.195.96.110 anywhere reject-with icmp-port-unreachable
REJECT all -- 51-15-149-61.rev.poneytelecom.eu anywhere reject-with icmp-port-unreachable
RETURN all -- anywhere anywhere
Chain fail2ban-freeswitch-ip-udp (1 references)
target prot opt source destination
REJECT all -- 85.195.96.110 anywhere reject-with icmp-port-unreachable
REJECT all -- 51-15-149-61.rev.poneytelecom.eu anywhere reject-with icmp-port-unreachable
RETURN all -- anywhere anywhere
Chain fail2ban-freeswitch-tcp (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain fail2ban-freeswitch-udp (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain fail2ban-fusionpbx (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain fail2ban-fusionpbx-404 (1 references)
target prot opt source destination
REJECT all -- 8d.94.1732.ip4.static.sl-reverse.com anywhere reject-with icmp-port-unreachable
RETURN all -- anywhere anywhere
Chain fail2ban-fusionpbx-mac (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain fail2ban-nginx-404 (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain fail2ban-nginx-dos (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain fail2ban-sshd (1 references)
target prot opt source destination
REJECT all -- 61.177.172.63 anywhere reject-with icmp-port-unreachable
REJECT all -- 23.236.91.206 anywhere reject-with icmp-port-unreachable
REJECT all -- 27.184.216.134 anywhere reject-with icmp-port-unreachable
REJECT all -- 93-42-228-214.ip88.fastwebnet.it anywhere reject-with icmp-port-unreachable
REJECT all -- 42.7.26.60 anywhere reject-with icmp-port-unreachable
REJECT all -- 1-171-58-178.dynamic-ip.hinet.net anywhere reject-with icmp-port-unreachable
REJECT all -- d23-16-230-104.bchsia.telus.net anywhere reject-with icmp-port-unreachable
REJECT all -- ua-85-229-185-142.cust.bredbandsbolaget.se anywhere reject-with icmp-port-unreachable
RETURN all -- anywhere anywhere
root@CNSPBX:~# ^C