OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: teces on November 02, 2017, 08:21:26 pm

Title: OpenVPN config for Grandstream IP phones
Post by: teces on November 02, 2017, 08:21:26 pm
Hello,

I'm trying to set up a VPN (OpenVPN) to connect my Grandstream brand IP phones to my local PBX

I have configured many OpenVPN connections, both for independent users and connecting sites to each other, but this one resists me.

After talking with the manufacturer, this tells me that the connection configuration must be very specific for the phone to support it, and even has a guide where it is indicated. The configuration provided by the manufacturer is as follows:

port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 10.10.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
client-to-client
cipher BF-CBC
comp-lzo
duplicate-cn
keepalive 10 120
max-clients 100
status openvpn-status.log
log openvpn.log
verb 7

The problem is that OPNsense does not let me import the configuration file, and when I create a VPN with the wizard I do not know how to configure the parameters, besides, I have opened the file /etc/var/openvpn/server1.conf and there are many more parameters that I do not need and possibly prevent the functioning of the VPN.
I have tryid to "traduct" the config file but without success...

Has someone managed to configure a VPN and connect Grandstream phones through its integrated OpenVPN client?

Thank you very much.