The new and improved Saskatoon Techworks wiki, powered by DokuWiki.

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
openvpnas [2018/11/20 15:53]
andrew
openvpnas [2020/03/30 17: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
  
  
 ====== init_openvpnas ====== ====== init_openvpnas ======
 +/etc/letsencrypt/init_openvpnas
 <code> <code>
-/etc/letsencrypt/init_openvpnas 
- 
 #!/bin/sh #!/bin/sh
  
Line 32: 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
Print/export
QR Code
QR Code openvpnas (generated for current page)