Hi Team,
I am looking for CLI commands to do the following on an openvpn launched from an AMI created from another openvpnas:
- change hostname
Since the AMI would launch an exact copy of access-server the hostname would also be the hostname of the server the image was created from.
It's quite easy to just replace the name from web UI but my problem is I am trying to use this AMI in my cloudformation script and need to automate this by passing CLI commands via user-data.
I have been trying to google for a while but could not really find much.
Any help would mean world. Thank you in advance. !!
Customizing openvpnas via cli
-
- OpenVpn Newbie
- Posts: 1
- Joined: Wed Jun 28, 2017 7:06 am
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: Customizing openvpnas via cli
Look at these commands:
cd /usr/local/openvpn_as/scripts/
./confdba -s
./confdba -mk "parameter.name.here" -v "new.value.here"
./sacli start
And https://docs.openvpn.net/access-server/ - specifically the command line section.
cd /usr/local/openvpn_as/scripts/
./confdba -s
./confdba -mk "parameter.name.here" -v "new.value.here"
./sacli start
And https://docs.openvpn.net/access-server/ - specifically the command line section.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.