SOLVED iptables Incredible PBX Asterisk-GUI

smccloud

Member
Joined
Jun 17, 2013
Messages
131
Reaction score
14
Ok,
Fresh install of CentOS 6.6 x86_64 and Incredible PBX Asterisk-GUI. Ever since the install completed I get the following errors when iptables attempts to start and no remote connections work.
Code:
iptables: Applying firewall rules: Bad argument 'ACCEPT'
Error occured at line: 150
Try 'iptables-restore -h' or 'iptables-restore --help' for more information.
[/quote]
And it fails to start but still blocks traffic.  Any suggestions on where to look on how to fix this?  It isn't a huge deal, but even though I have disable iptables on startup it still tries to start and I have to remember to stop it.
 
Start here... RTFM. The only IPtables command you should be using is iptables-restart for the reasons documented in the tutorial.
 
Didn't see anything about it there, but I did lookup the line that it was erroring on and it was
Code:
-A INPUT -s -j ACCEPT
changing it to
Code:
-A INPUT -s 172.16.6.0/24 -j ACCEPT
fixed my issue. I do remember seeing something about iptables rules for the local network being added and my guess is mine didn't add right.
 
I blame lack of sleep from my two month old son ;)

And being impatient and not following directions.
 

Members online

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top