- Joined
- Jul 13, 2009
- Messages
- 6
- Reaction score
- 0
Hello,
I'm trying to setup the Snom 370 with OpenVPN, but have no success so far. I upgraded the firmware, and tried more than one how to (from 3CX and Snom's WIKI). I can see that the tar files are flashed to the phone, but then when I configure the sip line with the 3CX server which is on the VPN network, it times out, what make me believe the IP is not reachable.
My VPN server is a Linksys WRT310N running DD-WRT. I was able to connect to it using a Windows client and another WRT310N as client too.
Is there any way of testing or accessing logs to know what's going on? Ideas?
Here's my VPN server config:
cd /tmp
openvpn --mktun --dev tap0
brctl addif br0 tap0
ifconfig tap0 0.0.0.0 promisc up
echo '
# Tunnel options
mode server # Set OpenVPN major mode
proto udp # Setup the protocol (server)
port 1194 # TCP/UDP port number
dev tap0 # TUN/TAP virtual network device
keepalive 15 60 # Simplify the expression of --ping
daemon # Become a daemon after all initialization
verb 3 # Set output verbosity to n
comp-lzo # Use fast LZO compression
# OpenVPN server mode options
client-to-client # tells OpenVPN to internally route client-to-client traffic
# TLS Mode Options
tls-server # Enable TLS and assume server role during TLS handshake
ca ca.crt # Certificate authority (CA) file
dh dh1024.pem # File containing Diffie Hellman parameters
cert server.crt # Local peers signed certificate
key server.key # Local peers private key
' > openvpn.conf
echo '
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
' > ca.crt
echo '
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
' > server.key
chmod 600 server.key
echo '
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
' > server.crt
echo '
-----BEGIN DH PARAMETERS-----
-----END DH PARAMETERS-----
' > dh1024.pem
sleep 5
ln -s /usr/sbin/openvpn /tmp/myvpn
/tmp/myvpn --config openvpn.conf
Thank you!
I'm trying to setup the Snom 370 with OpenVPN, but have no success so far. I upgraded the firmware, and tried more than one how to (from 3CX and Snom's WIKI). I can see that the tar files are flashed to the phone, but then when I configure the sip line with the 3CX server which is on the VPN network, it times out, what make me believe the IP is not reachable.
My VPN server is a Linksys WRT310N running DD-WRT. I was able to connect to it using a Windows client and another WRT310N as client too.
Is there any way of testing or accessing logs to know what's going on? Ideas?
Here's my VPN server config:
cd /tmp
openvpn --mktun --dev tap0
brctl addif br0 tap0
ifconfig tap0 0.0.0.0 promisc up
echo '
# Tunnel options
mode server # Set OpenVPN major mode
proto udp # Setup the protocol (server)
port 1194 # TCP/UDP port number
dev tap0 # TUN/TAP virtual network device
keepalive 15 60 # Simplify the expression of --ping
daemon # Become a daemon after all initialization
verb 3 # Set output verbosity to n
comp-lzo # Use fast LZO compression
# OpenVPN server mode options
client-to-client # tells OpenVPN to internally route client-to-client traffic
# TLS Mode Options
tls-server # Enable TLS and assume server role during TLS handshake
ca ca.crt # Certificate authority (CA) file
dh dh1024.pem # File containing Diffie Hellman parameters
cert server.crt # Local peers signed certificate
key server.key # Local peers private key
' > openvpn.conf
echo '
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
' > ca.crt
echo '
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
' > server.key
chmod 600 server.key
echo '
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
' > server.crt
echo '
-----BEGIN DH PARAMETERS-----
-----END DH PARAMETERS-----
' > dh1024.pem
sleep 5
ln -s /usr/sbin/openvpn /tmp/myvpn
/tmp/myvpn --config openvpn.conf
Thank you!