TIPS IPBX on Pi with non-standard network

L V Lammert

Member
Joined
Apr 19, 2016
Messages
43
Reaction score
1
We have four lines and 16 stations, .. been trying to get IPBX running on a Pi, but it fails to register with our Vitelity account, and it seems like the root problem may be the network configuration:

* External (public IP)
* Internal (office network, 10.0.0.n)
* Phones (separate POE network, 10.0.1.n)

Given that IncrediblePBX has a lot of security tools designed for a single network interface, is there any to get one working in this environment?

Also, I tried to start over recently and was amazed to find that the current version had not changed for almost a year - what IS the current path forward for Raspbian systems? Would it be better to start over with another flavor?
 

ostridge

Guru
Joined
Jan 22, 2015
Messages
1,636
Reaction score
523
You don't mention the internal IP and mask of your iPBX and of your router (orSBC), however the post link below may give a clue about avoiding the subnet.
Are your phones able to register with the ipbx? Is the ipbx able to ping internet servers domain names?

How do I allow registrations from separate subnet?
 

L V Lammert

Member
Joined
Apr 19, 2016
Messages
43
Reaction score
1
You don't mention the internal IP and mask of your iPBX and of your router (orSBC), however the post link below may give a clue about avoiding the subnet.
Are your phones able to register with the ipbx? Is the ipbx able to ping internet servers domain names?

How do I allow registrations from separate subnet?
Subnets are all Class C, .. the note you referenced is a bad subnet on a single IF, which, unfortunately, is not the problem here.

IPBX uses many different security tools, .. is there any documentation on them? For example, where is the 'master' iptables ruleset?
 

L V Lammert

Member
Joined
Apr 19, 2016
Messages
43
Reaction score
1
Forgot to add, .. if anyone can help with networking issues, we would be happy to compensate.
 

jerrm

Guru
Joined
Sep 23, 2015
Messages
838
Reaction score
405
Subnets are all Class C, .. the note you referenced is a bad subnet on a single IF, which, unfortunately, is not the problem here.

IPBX uses many different security tools, .. is there any documentation on them? For example, where is the 'master' iptables ruleset?
For a Pi it should be /etc/iptables/rules.v4. None of the rules are interface specific, so multiple interfaces shouldn't be an issue with iptables.

Normally 10.0.0.0/8 should be wide open, but depending on when and what state the script was in when you installed it might (unlikely) be different.

Are the nets defined correctly under SIP Settings?
 

L V Lammert

Member
Joined
Apr 19, 2016
Messages
43
Reaction score
1
FYI, .. finally got it working! Turns out the Vitelity configuration was not built correctly, .. did not have anything to do with the network config. Thanks to all!
 

ostridge

Guru
Joined
Jan 22, 2015
Messages
1,636
Reaction score
523
where is the 'master' iptables ruleset?
For a Pi it should be /etc/iptables/rules.v4

FWIW
That depends what you call the 'master' the /rules.v4 were imported to /etc/iptables/rules.v4.ubuntu14 , the content of which was copied by the build script into /etc/iptables/rules.v4 and presumably similarly with etc/iptables/rules.v6.ubuntu14
After the install you will have used add-ip and add-fqdn to modify your working copy /etc/iptables/rules.v4 and ( I assume ) rules.v6 as appropriate.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,228
FYI: With the latest Incredible PBX builds for Wazo and the Raspberry Pi, some additional rules may exist in /usr/local/sbin/iptables-custom. These get loaded on boot and whenever iptables-restart is executed. Details here.
 
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.
Top