Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Multiple NICs with 3CX on Debian

Discussion in '3CX Phone System - General' started by ccexpert, Nov 15, 2016.

Thread Status:
Not open for further replies.
  1. ccexpert

    Joined:
    Apr 9, 2014
    Messages:
    18
    Likes Received:
    0
    So in the guide it says you cannot have multiple NICs on the Linux install. I learned this the hard way because the web server throws a 502 Bad Gateway error when you try to access it. I am using OpenVPN with all of my customers. I tried the SBC and just plain old STUN with so many issues. OpenVPN has been amazing. However, I want to run OpenVPN on the same server as the 3CX services. OpenVPN creates a TUN interface with an IP for the remote clients. I am doing this on Windows currently with the v14 multi-tenant 3CX and it works just fine. Since 3CX is abandoning the multi-tenant model, I am forced to use multiple servers with Amazon which cost a lot more than what I was paying for just the 1 server. It seems like in order to get this to work, I will need a single machine just for OpenVPN and one for each tenant. I am looking at using OVH for their small VPS servers. Problem is, those servers do not offer a private IP space to put all of these machines together. So I need OpenVPN to run on the same host as 3CX.

    So my real question is, what can be changed in the 3CX config to allow it to use a server with multiple NICs?
     
  2. rsh

    rsh

    Joined:
    Mar 25, 2011
    Messages:
    18
    Likes Received:
    0
    Hi,

    We've got exactly the same issue... We also use OpenVPN instead of the SBC. I've tried everything but the 3CXPhoneSystemMC01 service keeps crashing.

    I've opened a ticket...
     
  3. rsh

    rsh

    Joined:
    Mar 25, 2011
    Messages:
    18
    Likes Received:
    0
    3CX Support : "The PBX should only do one thing and one thing only, just run the PBX and no extra services especially openVPN (the same applies to the Windows version as well) you can run some additional programs if you wish that are non system related, nano for example but not system related services such as a VPN tunnel on the server, this will need to go. "

    :evil:
     
  4. ccexpert

    Joined:
    Apr 9, 2014
    Messages:
    18
    Likes Received:
    0
    Such a lame response. For small systems, running OpenVPN on the same server should be fine. I am doing it with 8 multi-tenant customers with less than 10 phones each. No issues. Might just have to figure it out on my own. Trying to keep the cost down per customer. It's so hard to compete with other could PBX providers on pricing.
     
  5. rsh

    rsh

    Joined:
    Mar 25, 2011
    Messages:
    18
    Likes Received:
    0
    I've got a solution.. I will send you a PM
     
  6. IT Hamster

    Joined:
    May 21, 2015
    Messages:
    43
    Likes Received:
    0
    Have you looked into configuring your firewalls to do site-to-site VPN instead of running VPN on the server?

    Not sure if OVH offers edge gateway control or anything like that, but that's what I would do to get around the "1 NIC to rule them all" stance 3CX has.

    The very manual and not recommended thing to do would be to create static routes.
    I've never done that in Linux, but I have for Windows machines to resolve an issue similar to yours.

    https://access.redhat.com/documentation ... outes.html

    Hopefully you find a solution! I'm in the same boat- going from multi-tenant to ... tons of individual servers.

    The linux build has been nice since it's very cheap to spin up. I have a few in AWS that run very nicely for very low costs- around 25$/month for call center level of usage.
     
Thread Status:
Not open for further replies.