From: Michael K. <li...@mk...> - 2018-04-19 07:57:33
|
> Am 19.04.2018 um 01:23 schrieb Michael Knill <mic...@ip...>: > > Hi Group > > Just wondering if its possible to manually define an address from the OVPN IP Address Pool for a specific device. > I want to do this to prevent it from changing e.g. I will be pointing an Asterisk SIP Peer to it. > > Regards > Michael Knill Hi Michael, that can be done easily: - Create a client file in the /mnt/kd/openvpn/ccd/ directory named like the profile name for the device. - It then shows up on the WebGUI under "OpenVPN Client Configs". - Add e.g. "ifconfig-push 10.8.122.82 255.255.255.0" to that file, and - add "client-config-dir /etc/openvpn/ccd" to the "Raw Commands" in the OpenVPN server section. Michael http://www.mksolutions.info |