Page 1 of 1

Firewall issue in Vicibox 8.1.2

PostPosted: Tue Jan 08, 2019 1:04 pm
by rajivtech22
Installation Info
--------------------
Vicibox 8.1.2 from .iso | VERSION: 2.14-695a BUILD: 181116-1133 | Asterisk 13.21.1 | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Dell PowerEdge CS24-SC | Intel Xeon 5420 | Hosted in Datasoft Cloud based Dedicated Server
---------------------

Hello, I am having lot of trouble using firewall. Most of the time i can not connect my softphone and 408 Request Time Out. All my network connection is fine. but somehow i am not able to connect. I have even whitelisted the ip but still it didnt solve my problem. Is it possible to turn off firewall.. i will rather use fail2ban to protect from attack thank using the new firewall implemented in Vicidial.

Thanks

Re: Firewall issue in Vicibox 8.1.2

PostPosted: Tue Jan 08, 2019 10:09 pm
by williamconley
1) "Most of the time i can not connect "? If it's "most of the time", it's unlikely firewall related.

2) Turn off iptables.
Code: Select all
iptables -I INPUT 1 -j ACCEPT

Test.
Turn ON iptables.
Code: Select all
iptables -D INPUT -j ACCEPT

If that solves the problem, you were right and the problem is firewall related. In that case
Code: Select all
iptables -I INPUT 1 -s xx.xx.xx.xx/32 -j ACCEPT

But using the IP address of your soft phone, of course.

3) Do you access your server from the local network or the public network? If local, you could whitelist the entire local subnet instead:
Code: Select all
iptables -I INPUT 1 -s 192.168.1.0/24 -j ACCEPT

Of course, replace 192.168.1.0/24 with your local subnet.

Re: Firewall issue in Vicibox 8.1.2

PostPosted: Wed Jan 09, 2019 12:05 pm
by rajivtech22
Yes.
The problem is firewall related. as soon i turned off Iptables. i got connected.

I access my dialer from public network.

Re: Firewall issue in Vicibox 8.1.2

PostPosted: Wed Jan 09, 2019 1:31 pm
by williamconley
rajivtech22 wrote:Yes.
The problem is firewall related. as soon i turned off Iptables. i got connected.

I access my dialer from public network.


With your public IP address:
Code: Select all
iptables -I INPUT 1 -s xx.xx.xx.xx/32 -j ACCEPT


Does this solve your problem until reboot?

Re: Firewall issue in Vicibox 8.1.2

PostPosted: Wed Jan 09, 2019 5:35 pm
by rajivtech22
Thanks for help :)