Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
openvpnas [2020/03/30 21:34] andrewopenvpnas [2020/03/30 21:53] (current) andrew
Line 2: Line 2:
  
   * yum update -y   * yum update -y
-  * yum install -y net-tools wget epel-release && yum install -y certbot+  * yum install -y net-tools wget epel-release && yum install -y certbot vim
   * systemctl stop firewalld && systemctl disable firewalld   * systemctl stop firewalld && systemctl disable firewalld
   * iptables -F   * iptables -F
-  * certbot certonly --standalone -d vpn2.acemfginc.com+  * certbot certonly --standalone -d blah.tld
   * #get url from https://openvpn.net/index.php/access-server/download-openvpn-as-sw/113.html?osfamily=CentOS   * #get url from https://openvpn.net/index.php/access-server/download-openvpn-as-sw/113.html?osfamily=CentOS
   * wget http://swupdate.openvpn.org/as/openvpn-as-2.x.x-CentOS7.x86_64.rpm   * wget http://swupdate.openvpn.org/as/openvpn-as-2.x.x-CentOS7.x86_64.rpm
   * rpm -i openvpn-as-2.x.x-CentOS7.86_64.rpm   * rpm -i openvpn-as-2.x.x-CentOS7.86_64.rpm
   * passwd openvpn   * passwd openvpn
-  * vi /etc/letsencrypt/init_openvpnas #see contents below+  * vim /etc/letsencrypt/init_openvpnas #see contents below
   * chmod a+x /etc/letsencrypt/init_openvpnas   * chmod a+x /etc/letsencrypt/init_openvpnas
   * /etc/letsencrypt/init_openvpnas   * /etc/letsencrypt/init_openvpnas
-  * vi /etc/letsencrypt/upd_openvpnas #see contents below+  * vim /etc/letsencrypt/upd_openvpnas #see contents below
   * chmod a+x /etc/letsencrypt/upd_openvpnas   * chmod a+x /etc/letsencrypt/upd_openvpnas
-  * vi /etc/crontab +  * vim /etc/crontab 
     * 41 3 * * * root /etc/letsencrypt/upd_openvpnas     * 41 3 * * * root /etc/letsencrypt/upd_openvpnas
  
Line 31: Line 31:
  
 systemctl restart openvpnas systemctl restart openvpnas
- 
-/etc/letsencrypt/upd_openvpnas 
 </code> </code>
  
openvpnas.txt · Last modified: 2020/03/30 21:53 by andrew
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0