- Joined
- Oct 16, 2009
- Messages
- 6
- Reaction score
- 0
Hi
I´ve tried a lot, but i think is time to ask someone in this forum. I´m trying to get a SNOM 370 working with OPENVPN. I installed the OPENVPN on the 3CX Windows machine. It is possible to get a OPENVPN connection from a outside PC to the OPENVPN Server, so the configfile should be ok.
I´ve tried the following Firmwares on the Phone:
snom370-SIP 7.3.7-VPN
snom370-SIP 7.3.23-VPN
3CX Version used is: 8.0.9532
Network:
Office:
Static IP: 82.xx.xx.21
Internal IP og the OPENVPN and the 3CX: 192.168.2.10/255.255.255.0
Home Office:
Static IP: 83.xx.xx.22
IP of the Phone: 192.168.1.207
Both location have a Firewall which is on 192.168.2.1 and 192.168.1.1.
But as mentioned, a PC OPENVPN connection is working, so it should not be a firewall issue.
Here is my configuration:
server.ovpn:
mode server
tls-server
dev tap
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
proto tcp-server
keepalive 10 120
verb 5
3cx-phone: vpn.cnf:
client
tls-client
dev tap
ca /openvpn/ca.crt
cert /openvpn/client.crt
key /openvpn/client.key
keepalive 10 120
remote 87.xxx.xxx.xxx 1194
proto tcp-client
From a Windows 7 PC it is possible to get a connection running with the above configuration. I also tried proto udp, but i still get the same results.
Here are the some of the lines in the logs with verbosity 5. The last lines come when restarting the phone.
Sat Oct 17 00:09:08 2009 us=671000 MULTI: multi_create_instance called
Sat Oct 17 00:09:08 2009 us=671000 Re-using SSL/TLS context
Sat Oct 17 00:09:08 2009 us=671000 Control Channel MTU parms [ L:1575 D:140 EF:40 EB:0 ET:0 EL:0 ]
Sat Oct 17 00:09:08 2009 us=671000 Data Channel MTU parms [ L:1575 D:1450 EF:43 EB:4 ET:32 EL:0 ]
Sat Oct 17 00:09:08 2009 us=671000 Local Options String: 'V4,dev-type tap,link-mtu 1575,tun-mtu 1532,proto TCPv4_SERVER,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Sat Oct 17 00:09:08 2009 us=671000 Expected Remote Options String: 'V4,dev-type tap,link-mtu 1575,tun-mtu 1532,proto TCPv4_CLIENT,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Sat Oct 17 00:09:08 2009 us=671000 Local Options hash (VER=V4): 'a917298a'
Sat Oct 17 00:09:08 2009 us=671000 Expected Remote Options hash (VER=V4): '10f35004'
Sat Oct 17 00:09:08 2009 us=671000 TCP connection established with 83.xx.xx.22:50814
Sat Oct 17 00:09:08 2009 us=671000 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sat Oct 17 00:09:08 2009 us=671000 TCPv4_SERVER link local: [undef]
Sat Oct 17 00:09:08 2009 us=671000 TCPv4_SERVER link remote: 83.xx.xx.22:50814
Sat Oct 17 00:09:08 2009 us=671000 83.xx.xx.22:50814 TLS: Initial packet from 83.xx.xx.22:50814, sid=4595bfbc bb1be548
Sat Oct 17 00:09:11 2009 us=187000 83.xx.xx.22:50814 VERIFY OK: depth=1, /C=DE/ST=xxx/L=xxx/O=xxx/OU=IT/CN=xxx_3CX_CA/[email protected]
Sat Oct 17 00:09:11 2009 us=187000 83.xx.xx.22:50814 VERIFY OK: depth=0, /CN=3CX_VPN_Client_1/[email protected]
Sat Oct 17 00:09:11 2009 us=359000 83.xx.xx.22:50814 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sat Oct 17 00:09:11 2009 us=359000 83.xx.xx.22:50814 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Oct 17 00:09:11 2009 us=359000 83.xx.xx.22:50814 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sat Oct 17 00:09:11 2009 us=359000 83.xx.xx.22:50814 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Oct 17 00:09:11 2009 us=625000 83.xx.xx.22:50814 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Sat Oct 17 00:09:11 2009 us=625000 83.xx.xx.22:50814 [3CX_VPN_Client_1] Peer Connection Initiated with 83.xx.xx.22:50814
Sat Oct 17 00:09:11 2009 us=625000 3CX_VPN_Client_1/83.xx.xx.22:50814 MULTI: no dynamic or static remote --ifconfig address is available for 3CX_VPN_Client_1/83.xx.xx.22:50814
Sat Oct 17 00:09:12 2009 us=500000 3CX_VPN_Client_1/83.xx.xx.22:50814 PUSH: Received control message: 'PUSH_REQUEST'
Sat Oct 17 00:09:12 2009 us=500000 3CX_VPN_Client_1/83.xx.xx.22:50814 SENT CONTROL [3CX_VPN_Client_1]: 'PUSH_REPLY,ping 10,ping-restart 120' (status=1)
I hope someone has a hint for me, i´ve tried so many different configs, but i can´t get it to connect.
Kind regards,
Martin
I´ve tried a lot, but i think is time to ask someone in this forum. I´m trying to get a SNOM 370 working with OPENVPN. I installed the OPENVPN on the 3CX Windows machine. It is possible to get a OPENVPN connection from a outside PC to the OPENVPN Server, so the configfile should be ok.
I´ve tried the following Firmwares on the Phone:
snom370-SIP 7.3.7-VPN
snom370-SIP 7.3.23-VPN
3CX Version used is: 8.0.9532
Network:
Office:
Static IP: 82.xx.xx.21
Internal IP og the OPENVPN and the 3CX: 192.168.2.10/255.255.255.0
Home Office:
Static IP: 83.xx.xx.22
IP of the Phone: 192.168.1.207
Both location have a Firewall which is on 192.168.2.1 and 192.168.1.1.
But as mentioned, a PC OPENVPN connection is working, so it should not be a firewall issue.
Here is my configuration:
server.ovpn:
mode server
tls-server
dev tap
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
proto tcp-server
keepalive 10 120
verb 5
3cx-phone: vpn.cnf:
client
tls-client
dev tap
ca /openvpn/ca.crt
cert /openvpn/client.crt
key /openvpn/client.key
keepalive 10 120
remote 87.xxx.xxx.xxx 1194
proto tcp-client
From a Windows 7 PC it is possible to get a connection running with the above configuration. I also tried proto udp, but i still get the same results.
Here are the some of the lines in the logs with verbosity 5. The last lines come when restarting the phone.
Sat Oct 17 00:09:08 2009 us=671000 MULTI: multi_create_instance called
Sat Oct 17 00:09:08 2009 us=671000 Re-using SSL/TLS context
Sat Oct 17 00:09:08 2009 us=671000 Control Channel MTU parms [ L:1575 D:140 EF:40 EB:0 ET:0 EL:0 ]
Sat Oct 17 00:09:08 2009 us=671000 Data Channel MTU parms [ L:1575 D:1450 EF:43 EB:4 ET:32 EL:0 ]
Sat Oct 17 00:09:08 2009 us=671000 Local Options String: 'V4,dev-type tap,link-mtu 1575,tun-mtu 1532,proto TCPv4_SERVER,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Sat Oct 17 00:09:08 2009 us=671000 Expected Remote Options String: 'V4,dev-type tap,link-mtu 1575,tun-mtu 1532,proto TCPv4_CLIENT,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Sat Oct 17 00:09:08 2009 us=671000 Local Options hash (VER=V4): 'a917298a'
Sat Oct 17 00:09:08 2009 us=671000 Expected Remote Options hash (VER=V4): '10f35004'
Sat Oct 17 00:09:08 2009 us=671000 TCP connection established with 83.xx.xx.22:50814
Sat Oct 17 00:09:08 2009 us=671000 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sat Oct 17 00:09:08 2009 us=671000 TCPv4_SERVER link local: [undef]
Sat Oct 17 00:09:08 2009 us=671000 TCPv4_SERVER link remote: 83.xx.xx.22:50814
Sat Oct 17 00:09:08 2009 us=671000 83.xx.xx.22:50814 TLS: Initial packet from 83.xx.xx.22:50814, sid=4595bfbc bb1be548
Sat Oct 17 00:09:11 2009 us=187000 83.xx.xx.22:50814 VERIFY OK: depth=1, /C=DE/ST=xxx/L=xxx/O=xxx/OU=IT/CN=xxx_3CX_CA/[email protected]
Sat Oct 17 00:09:11 2009 us=187000 83.xx.xx.22:50814 VERIFY OK: depth=0, /CN=3CX_VPN_Client_1/[email protected]
Sat Oct 17 00:09:11 2009 us=359000 83.xx.xx.22:50814 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sat Oct 17 00:09:11 2009 us=359000 83.xx.xx.22:50814 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Oct 17 00:09:11 2009 us=359000 83.xx.xx.22:50814 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sat Oct 17 00:09:11 2009 us=359000 83.xx.xx.22:50814 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Oct 17 00:09:11 2009 us=625000 83.xx.xx.22:50814 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Sat Oct 17 00:09:11 2009 us=625000 83.xx.xx.22:50814 [3CX_VPN_Client_1] Peer Connection Initiated with 83.xx.xx.22:50814
Sat Oct 17 00:09:11 2009 us=625000 3CX_VPN_Client_1/83.xx.xx.22:50814 MULTI: no dynamic or static remote --ifconfig address is available for 3CX_VPN_Client_1/83.xx.xx.22:50814
Sat Oct 17 00:09:12 2009 us=500000 3CX_VPN_Client_1/83.xx.xx.22:50814 PUSH: Received control message: 'PUSH_REQUEST'
Sat Oct 17 00:09:12 2009 us=500000 3CX_VPN_Client_1/83.xx.xx.22:50814 SENT CONTROL [3CX_VPN_Client_1]: 'PUSH_REPLY,ping 10,ping-restart 120' (status=1)
I hope someone has a hint for me, i´ve tried so many different configs, but i can´t get it to connect.
Kind regards,
Martin