FreePBX | Register | Issues | Wiki | Portal | Support

Firewall blocking microtik IP?


(Art) #1

Seems like we keep getting blocked over the mikrotik IP, which is listed on the firewall and IPtables, but if the ip is listed as secure shouldnt it not block even with re-registrations or try attempts?

On the GUI i’ts listed on the firewall on the “know network locations”, the IP set as trusted (excluded from firewall), do i need to do something else?


(Art) #2

bump…


(Tom Ray) #3

Try explaining the issue in a more coherent matter. You might get a response.


(Art) #4

What else is missing?

microtik over a network
this network ip listed as trusted on the Freepbx GUI
firewall blocks even when set as trusted


(Tom Ray) #5

A helpful description. Is the Mikrotik in front of the PBX? Is the Mikrotik in front of the phones? What IP is the Mikrotik set to locally and the PBX expects traffic from in the firewall? What is the layout of all this? The path things take.

I use Mikrotik 100% of the time with my stuff and I’m not sure what you are doing that is causing this but something just isn’t right.


(Art) #6

we have Mikrotik over the company that routes incoming traffic from the ISP to the company, and we also few pcs outside the mikrotik, with a fixed ip for the company on the ISP.
the PBX Server is on a VPS

something like this:


(Tom Ray) #7

So you’re PBX is hosted outside of your office and it is adding your office WAN IP to what? fail2ban? The Responsive firewall blocking it?


(Art) #8

I couldn’t tell what was blocking it, but “fwconsole firewall trust IP” seems to have solved the problem. Somehow it didn’t work on the GUI.

funny how its the opposite of this (without fqdn) https://issues.freepbx.org/browse/FREEPBX-18511 works on GUI but not with the console command


(Art) #9

nvm still getting blocked… what is going on? the firewall doesnt list me as blocked but if i restart it, i get through… isnt the trusted firewall supposed to let me in?


(Lorne Gaetz) #10

Check Intrusion Detection in System Admin.


(Art) #11

does the freepbx overrides all firewalls(if theres more than 1)? maybe i’m getting locked in between?
with fwconsole firewall stop i get in automatically but doesnt seem to list me as “intruder”


(Art) #12

there are No Banned IP’s


(Art) #14

ok, sorry for the hassle everyone, the IT guy (me) was setting the wrong IP