Firewall issue in Vicibox 8.1.2

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Firewall issue in Vicibox 8.1.2

Postby rajivtech22 » Tue Jan 08, 2019 1:04 pm

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
Vicibox v11 from .iso | VERSION: 2.14b0.5 BUILD: 231227-2217 | SVN Version: 3796| Asterisk 16.30.0-vici | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Dell PowerEdge CS24-SC | Intel Xeon E5-2697A / 512 SSD / 64 GB
rajivtech22
 
Posts: 37
Joined: Fri Jul 26, 2013 3:07 pm

Re: Firewall issue in Vicibox 8.1.2

Postby williamconley » Tue Jan 08, 2019 10:09 pm

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Firewall issue in Vicibox 8.1.2

Postby rajivtech22 » Wed Jan 09, 2019 12:05 pm

Yes.
The problem is firewall related. as soon i turned off Iptables. i got connected.

I access my dialer from public network.
Vicibox v11 from .iso | VERSION: 2.14b0.5 BUILD: 231227-2217 | SVN Version: 3796| Asterisk 16.30.0-vici | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Dell PowerEdge CS24-SC | Intel Xeon E5-2697A / 512 SSD / 64 GB
rajivtech22
 
Posts: 37
Joined: Fri Jul 26, 2013 3:07 pm

Re: Firewall issue in Vicibox 8.1.2

Postby williamconley » Wed Jan 09, 2019 1:31 pm

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?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Firewall issue in Vicibox 8.1.2

Postby rajivtech22 » Wed Jan 09, 2019 5:35 pm

Thanks for help :)
Vicibox v11 from .iso | VERSION: 2.14b0.5 BUILD: 231227-2217 | SVN Version: 3796| Asterisk 16.30.0-vici | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Dell PowerEdge CS24-SC | Intel Xeon E5-2697A / 512 SSD / 64 GB
rajivtech22
 
Posts: 37
Joined: Fri Jul 26, 2013 3:07 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 88 guests