OK Openvpn seems to work on Freepbx, because I got thisįreepbx# tail -f /var/log/messages Nov 15 14:14:49 FreePBX openvpn: client0/IP_PUBLI_REMOTE_ROUTER:44552 TLS: soft reset sec=0 bytes=37381/0 pkts=712/0 Why do the IP phone get an IP REMOTE LAN ? I understand that it is the DHCP server of the REMOTE ROUTER. sip show peers : 5 (Unspecified) D Yes Yes A 0 UNKNOWN SipProc:aid 0 enter NoAnswer SIP_REGISTRATION_FAILURE = SIP: aid 0, cid 0, tid 0, did 0, REQUEST: REGISTER, Event: 2 SIP: aid 0, Re-Register Timer Timeout, Try to Re-Register. SIP: SendInvite to *43, cid 2, wIP 0xa080003, port 12102, Interval 2, Codec 0, Audio 0 SIP: sdp_message_pro: Local IP is 10.8.0.3 web gui on the phone IP plug in remote lan Nov 15 05:41:34 FreePBX openvpn: client0/IP-PUBLIC-ROUTER-REMOTE:33032 PUSH: Received control message: 'PUSH_REQUEST' Nov 15 05:41:29 FreePBX openvpn: client0/IP-PUBLIC-ROUTER-REMOTE:33032 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA Nov 15 05:41:29 FreePBX openvpn: client0/IP-PUBLIC-ROUTER-REMOTE:33032 TLS: tls_multi_process: untrusted session promoted to semi-trusted Nov 15 05:41:29 FreePBX openvpn: client0/IP-PUBLIC-ROUTER-REMOTE:33032 TLS: move_session: dest=TM_ACTIVE src=TM_UNTRUSTED reinit_src=1 Nov 15 05:41:29 FreePBX openvpn: client0/IP-PUBLIC-ROUTER-REMOTE:33032 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication Nov 15 05:41:29 FreePBX openvpn: client0/IP-PUBLIC-ROUTER-REMOTE:33032 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key Nov 15 05:41:29 FreePBX openvpn: client0/IP-PUBLIC-ROUTER-REMOTE:33032 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication Nov 15 05:41:29 FreePBX openvpn: client0/IP-PUBLIC-ROUTER-REMOTE:33032 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key Nov 15 05:41:29 FreePBX openvpn: client0/IP-PUBLIC-ROUTER-REMOTE:33032 VERIFY OK: depth=0, CN=client0 Nov 15 05:41:29 FreePBX openvpn: client0/IP-PUBLIC-ROUTER-REMOTE:33032 CRL CHECK OK: CN=client0 Nov 15 05:41:29 FreePBX openvpn: client0/IP-PUBLIC-ROUTER-REMOTE:33032 VERIFY OK: depth=1, CN=FreePBX Nov 15 05:41:29 FreePBX openvpn: client0/IP-PUBLIC-ROUTER-REMOTE:33032 CRL CHECK OK: CN=FreePBX Nov 15 05:41:27 FreePBX openvpn: client0/IP-PUBLIC-ROUTER-REMOTE:33032 TLS: new session incoming connection from IP-PUBLIC-ROUTER-REMOTE:33032 GLOBAL_STATS Max bcast/mcast queue lengthĐ HEADER ROUTING_TABLE Virtual AddressĜommon Name Real Address Last Ref Last Ref (time_t) HEADERĜLIENT_LISTĜommon Name Real Address Virtual Addressěytes Receiveděytes SentĜonnected SinceĜonnected Since (time_t) UsernameĬLIENT_LIST client0 IP-PUBLIC-ROUTER-REMOTE:33032đ0.8.0.3Ē7341Ē9049ğri Nov 15 05:04:09 2019đ573754649 UNDEF TITLE OpenVPN 2.3.7 x86_64-redhat-linux-gnu built on Jun 9 2015 cat /etc/openvpn/sysadmin_server1-status.log.tail -f /var/log/httpd/accesslog : nothing happen.retriving config : the freepx server :.on the phone screen during the boot sequence:.Unplug / plug the phone on the REMOTE net Firmware server path : Config Server Path: HTTP/FTP/HTTPS UserName: ‘user’Ĭonfig Server Path: phone with the VPN activated notification.
Setup sangoma netboard express in snom one plus password#
Reset to factory (on the phone menu / settings / password / phone setting / Factory reset) Plug the phone on LAN net (of the freepbx server)
port 1443 to IP server Freepbx (provisionning secure protocole).port 1194 to IP server Freepbx (VPN server).Add port forwarding route on the Routeur OpenWRT.Check port sysadmin / Port Management on Freepbx.I check I got a tun0 interface in the Freepbx server : ifconfig SIP destination address : internal IP-LAN-SERVER-FREEPBX Set Endpoint management / Global setting:Įxternal: set to IP-PUBLIC-ROUTER-OPENWRT using auto I think because of a change in the IP public of the Routeur OpenWRT. It used to work for two years but not anymore. I treid to setup an Sangoma IP phone on a remote place with VPNįreepbx -(LAN net)- Routeur OpenWRT (IP-PUBLIC-ROUTEROPENWRT) – INTERNET – Router -(REMOTE net)- IPPHONE SANGOMA.