Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
openvpnas [2018/06/19 17:04] – created andrew | openvpnas [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 |
* 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:// | * #get url from https:// | ||
* wget http:// | * wget http:// | ||
* 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 / | + | * vim / |
* chmod a+x / | * chmod a+x / | ||
* / | * / | ||
- | * vi / | + | * vim / |
* chmod a+x / | * chmod a+x / | ||
- | * vi / | + | * vim / |
* 41 3 * * * root / | * 41 3 * * * root / | ||
====== init_openvpnas ====== | ====== init_openvpnas ====== | ||
+ | / | ||
< | < | ||
- | / | ||
- | |||
#!/bin/sh | #!/bin/sh | ||
Line 30: | Line 31: | ||
systemctl restart openvpnas | systemctl restart openvpnas | ||
- | |||
- | / | ||
</ | </ | ||
====== upd_openvpnas ====== | ====== upd_openvpnas ====== | ||
+ | / | ||
< | < | ||
#!/bin/sh | #!/bin/sh |