firewall rules for OpenVPN and FreePBX?

  • here is the scenario/problem I have;

    multiple Snom VOIP phones as OpenVPN clients ( from branch offices are connected to our network ( via OpenVPN Server ( on PfSense however they cannot register to FreePBX Server ( due to I believe, some firewall issues.

    What should be the firewall rules on the LAN and OpenVPN Server interfaces to make sure that OpenVPN clients can access LAN and registers on FreePBX Server?



  • @savas
    Start with basic Pass rule, source is your OpenVPN subnet, destination - your LAN subnet. Then test without any VoIP, just try to ping from remote PC [running OpenVPN client].

    The rest is not related to the subject.
    Make sure your IP phones are not trying to discover their external IPs using STUN, etc. and your OpenVPN subnet is added as a local subnet on FreePBX/Asterisk.

  • Thanks Andrew, I did the following and it seems it is working now.

    LAN interface: pass rule from LAN net to OpenVPN net
    OpenVPN interface: pass rule from OpenVPN net to LAN net
    Outbound NAT: nothing for the OpenVPN interface and the OpenVPN net

Log in to reply