Differences

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

Link to this comparison view

Next revision
Previous revision
openvpnas [2018/06/19 17:04] – created andrewopenvpnas [2020/03/30 21:53] (current) andrew
Line 1: Line 1:
 +(This guide assumes you're not living in the stoneages and are using 64bit centos)
 +
   * 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
  
  
 ====== init_openvpnas ====== ====== init_openvpnas ======
 +/etc/letsencrypt/init_openvpnas
 <code> <code>
-/etc/letsencrypt/init_openvpnas 
- 
 #!/bin/sh #!/bin/sh
  
Line 30: Line 31:
  
 systemctl restart openvpnas systemctl restart openvpnas
- 
-/etc/letsencrypt/upd_openvpnas 
 </code> </code>
  
 ====== upd_openvpnas ====== ====== upd_openvpnas ======
 +/etc/letsencrypt/upd_openvpnas
 <code> <code>
 #!/bin/sh #!/bin/sh
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