I have configured VPN as described in this manual:
VPN auf Snom-Tischtelefonen konfigurieren
The Config tarball i've putted on my local server. My IP is 192.168.5.100 and the phone have 192.168.5.5 so both can see each other. I also have configured some action urls pointing to the same server, which works fine.
I have switched on "VPN" and gave the url for the tarball and restarted the phone. After the restart, the phone says VPN is off. I tried to investigate whats going on with netcat, and provide a url (ip port) for it in the webinterface of the phone, but nothing comes over to netcat.
Even in the "Log" i don't see any tries to access my local server for the VPN-config, except access from the action url's like
Oct 18 11:49:01.732 [NOTICE] PHN: Sending post request http://192.168.5.100:8000/?action=dnd&mac=0000000000&value=1
i can see in the Log. Only the first time i configured the VPN the Phone tried to access the config file (I am on macOS with Little Snitch (Firewall) who asked me is it allowed for the IP 192.168.5.5 to access my webserver. I confirmed that).
I installed a openVPN client on my Mac, and used the same config for the Phone (crt, key, ca and config) and i can connect successfully to the server.
My questions:
1) How often the phone tries to get the VPN-Config? On every boot? Can i force that in any way?
2) Why i don't see any "logs" in netcat?
Firmware: snomD385-SIP 10.1.159.12
VPN-Patch: http://192.168.5.100:80/snom/snomD385-10.1.159.12-vpnfeature-r.bin
Kind Regards
Thomas
1 Comment
Snom Federico Rossi
Hi,
1) How often the phone tries to get the VPN-Config? On every boot? Can i force that in any way?
Only the one time. To download the file again, you have to change the .tar filename and change the url in the phone
2) Why i don't see any "logs" in netcat?
Please try to rename the tar file and reboot the phone. Check if the file is downloaded from your http server by checking the http server logs! (is the fast way)
If the file is donloaded and the VPN still down, probably there is something to change in the configuration file. This not means that the there is an error, as you said, the OpenVPN client on your Mac worked, but the phone has some specifical requisites that the standard client don't have.
Regards