I have run this command pfctl -sr to check my firewall rules in which I can see two block rule which is blocking SSH.
block drop in log quick proto tcp from to (self) port = 22** label “sshguard”
block drop in log quick proto tcp from to (self) port = 10*** label “GUI Lockout”
thank you brother but I am really trying hard to figure this thing out .
I think I need to contact my ISP about this, but before that I am trying to figure out the things which is been blocked by firewall rules…
It shows it is refusing and I also contacted my ISP and they said they do not use any type of firewall and all the ports are open from their side.
I think sshguard is making problem,it is overriding the allow rule and blocking the connection on specified for SSH and GUI ports on WAN.
We need to find a way to disable sshguard .
Sharing one more screenshot for refence of showing sshguard is blocking things:
I found the solution !!! Finally
People whose ISP uses pppoe method have two different types of IP’s , One is Static and another is Dynamic.
It doesn’t matter that your public ip doesn’t change anytime but if it is in the series of Dynamic ip’s by default it will block all the incoming ports at isp’s router/firewall.
Solution is simple: Just pickup the phone ,call your isp and ask them; Is my ip dynamic or static?? If replies dynamic so just ask them to allot you an static ip and boom!! problem will be solved…
Thank you so much everyone for replying to my answers