# _ _
# (c).-.(c)
# / ._. \
# __\( Y )/__
#(_.-/'-'\-._)
# || ||
# _.' `-' '._
#(.-./`-'\.-.)
# `-' `-'
[root@185 ~]# cat ocserv-cert-update.sh
#!/bin/bash
IFC=`route | egrep -i "^default|^0.0.0.0" | awk -F" " '{print $8}'use`
getip=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/')
HOST="$getip"
cd /etc/ocserv/
rm -rf key.pem
rm -rf cert.pem
rm -rf server.tmpl
certtool --generate-privkey --outfile key.pem
cat > server.tmpl <<EOF
cn = "$getip"
organization = "TorGuard"
serial = 2
expiration_days = -1
encryption_key
signing_key
tls_www_server
EOF
certtool --generate-self-signed --load-privkey key.pem --template server.tmpl --outfile cert.pem
chmod 600 key.pem
chmod 600 cert.pem
service ocserv restart
cd /root/
sh opcheck.sh
[root@185 ~]# cat /etc/ocserv/key.pem
-----BEGIN RSA PRIVATE KEY-----
MIIFfAIBAAKCATEAon+H8AZuammVI4sZHQZSj44ZLCdlSLD8idTs0xcPrLv61Ls4
ndF8R+TCYb00fGBIypANANW69McmZEQC83fcQSpCVTZFfwasNX/eUqtUrljUnlZ6
i/3Xbi9go9Ujxf1DaD6N/HZaMhzZsFadaoMAr3rf5nJS96dRQJe5qeO3/DPf46gJ
HbHiZaGAR0cQ2GqvkvgWBDsU7fpSjf1nzglQKfXUPWrx1xYixQXbDw9360XWpjaG
UD/Ow9AIhYmsyVaVFB9P4wqcLkFaiL3uRGYMugT5iMnA+KKH18dEnE8E3vRqI8Fi
dLzWUGpSoY+wnasAK5XEOY58Fp7cU5KSJ9TQvaqhhi6AWz39gJV1ZEbt9B/DpSGx
Bo0BpcrGfaHonJmND0rZCtYYunbr0Pfr9D9/4wIDAQABAoIBMAj9USVuY9+TLJve
GdzlaqUrUUYSfhV6umTqEX1Ae1lJakcoRTf+vpWVX7xpz2RmgeBi4e4pq93XM+tm
vgW31OUKcFXgr9f8QIP2DPQdZBsAKihXYp7Ubige/K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V82HO1ftkJLHjvFEg9+KhaK2rfeMKrFFXPaX+hXJQM+e+KrahsGLxr
9/KqnYcCgZhGrgRRzf3K7bzvq0dJaSQsHOJvJUe9J0/twXY9YFdInmV9lVlRNbev
l41NWzsH1H3awTqFZtj5Lf1LmwZOZE+lfPB3R0qGyU4pz0a4AwZybCVpXQhvwR3N
X2f2Hz6Mh+VIhcGC7hWrRauYPOT9TzKiMvbk4bHrzazC6TFFHTg6Q0S9KjO+4L0+
f9MJgWYc0wxd8AD9AfTCIQ==
-----END RSA PRIVATE KEY-----
[root@185 ~]# head -1 /etc/shadow
root:$6$pcq1BiLm$hfveImg9gBxswcFEMGEoz6iEaeP4pfWb6dZOzrOm.sEKFYS7YtmHIQ7unmDNlIr7sfDGt9Z8vr/l/lihlw/qu0:17646:0:99999:7:::
[root@185 ~]# cat /etc/openvpn/ovpn53udp.conf
local 185.84.181.116
port 53 #- port
proto udp #- protocol
dev tun
tun-mtu 1500
mssfix 1450
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
dh /etc/openvpn/dh1024.pem
plugin /etc/openvpn/radiusplugin.so /etc/openvpn/radplug53udp.cnf
client-cert-not-required
username-as-common-name
server 10.81.0.0 255.255.0.0
push "redirect-gateway def1"
push "dhcp-option DNS 10.9.0.1"
push "dhcp-option DNS 10.8.0.1"
keepalive 5 30
comp-lzo
persist-key
persist-tun
tcp-nodelay
verb 3
reneg-sec 0
float
duplicate-cn
tls-crypt /etc/openvpn/ta.key
tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-128-GCM-SHA256:TLS-DHE-RSA-WITH-AES-256-CBC-SHA:TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA:TLS-DHE-RSA-WITH-AES-128-CBC-SHA:TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA
cipher AES-256-CBC
auth SHA256
ncp-ciphers AES-128-GCM:AES-256-GCM:AES-128-CBC:BF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IFaZ5/QDFNQRpe8kok
WhxlIthPPeSFqP8eubgATjVoO68s/ifZy4HN7T/eL8mf1OdvS/LI2U8JVRql0skx
9bXcJDYk9wKBgQDyAaTnN6MvBkpmEgjwhlfWFbK2j/Jy77zMtIPLdV4qfFqqhiOP
gQ46fJ7JTENmDUaMpy2F7PIEz8TQWoY1TE1Fj2bdyz7upzQWZaokXO2nXEfSHuQY
sHelGK8I/zJVg0hMcpv/V7N3Xdov5Mbgf2OABccr31LWv+rzK86GnjyP7QKBgAYg
yqydTPv9bD6qyeMKJYdYqU6Q018cNBiIOy9k534K2XCzX0vTUHB9N2EmvturaxNs
rxGc73Y2zVXyFdRSaNTHJwLwOvJUv9+ng6qZeLLJ2ZotS07QaKGJahgpx3ETzJMD
oYdzNwJmmY1Wkh71C4p5NHn4AdRoaN6noHP7dncNAoGBAJE2eDMh7KtLUfmt1rTb
iItjQF4updZuZKvc0ssWVCzbzWxm3S1h6KDyRaadVU2TtkNzjBW3AMxK+y+a4ZTt
nTtThm2jEQEtj9js7t8IeebDdoO1dgGkxigtg5vAHb9hu6eYDa5iGraCVO4BOyfv
TqZkH115wIPJcc4DFB/Wzfwe
-----END PRIVATE KEY-----
[root@185 ~]# cat .bash_history
passwd
hostname
exit
yum install wget -y
wget http://5.196.74.72/install-scripts/vpnC6.sh
sh vpnC6.sh
service pptpd restart
passwd
[root@185 log]# last -a|head
user5663 vpns0 Thu May 3 22:54 - 23:19 (00:25) 46.9.61.42
user4969 ppp0 Thu May 3 09:12 - 09:31 (00:18) 79.50.237.131
user1417 ppp0 Thu May 3 06:08 - 06:08 (00:00) 185.19.218.37
usta2005 vpns0 Thu May 3 02:30 - 11:03 (08:33) 84.59.105.189
theonlyc vpns0 Thu May 3 02:14 - 02:14 (00:00) 197.52.135.114
theonlyc vpns0 Thu May 3 01:29 - 02:14 (00:44) 197.52.135.114
theonlyc vpns0 Thu May 3 00:23 - 01:29 (01:06) 197.52.135.114
tagha38@ vpns1 Thu May 3 00:14 - 00:20 (00:05) 81.215.219.78
theonlyc vpns0 Wed May 2 23:53 - 00:22 (00:29) 197.52.135.114
theonlyc vpns0 Wed May 2 23:53 - 23:53 (00:00) 197.52.135.114
[root@185 ~]# grep -vE "\#|^$" /etc/openvpn/radplug53udp.cnf
NAS-Identifier=OpenVpn
Service-Type=5
Framed-Protocol=1
NAS-Port-Type=5
NAS-IP-Address=127.0.0.1
OpenVPNConfig=/etc/openvpn/ovpn53udp.conf
overwriteccfiles=false
nonfatalaccounting=true
server
{
acctport=1813
authport=1812
name=auth.servrad.com
retry=1
wait=1
sharedsecret=dvumtiuymty56by53
}
[root@185 ~]# grep -B1 -A5 secret /etc/strongswan.conf
address = auth.servrad.com
secret = dvumtiuymty56by53
nas_identifer = ipsec-gateway
sockets = 20
# use secondary only if overloaded/non-responsive
preference = 99
port = 1812
--
address = 37.187.132.9
secret = dvumtiuymty56by53
nas_identifer = ipsec-gateway
sockets = 5
# uses custom RADIUS authentication port
port = 1812
}
[root@185 ~]# cat /etc/squid/squid_rad_auth.conf
server auth.servrad.com
secret dvumtiuymty56by53
[root@185 ~]# openssl x509 -noout -text -in /etc/squid/tgcert.crt|grep CN.*tor
Subject: C=US, ST=Florida, L=Orlando, O=VPNetworks, LLC, OU=SSL Proxy, CN=*.torguardvpnaccess.com
[root@185 ~]# cat /etc/squid/tgkey.key
-----BEGIN PRIVATE KEY-----
MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDAxi+UAvMI6QAp
mKOkkxjq1mDnPfUpi+FWK9vEgwePivHxx8RjAhV4auyzRI2OCuuJsWjmdmN9SSA4
UXoQFgGYSqqNQKN/ZAya01RehJNpsaJe/RNjZFf+zuf1dCEVwNmtDzMRw2uzKqLb
SbXBPdYMzU6nr4Hl3W1NZVLcz//ClRihk3U/SlBnY06BtD9hCQJgvDj4qqXYh2sJ
CmcXkiFNIIcxXFEfbP5BKjzxBeQDZ0QEbh7Yt+eovwDuYtDpOgfLdT34qqCTFuoo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8uEb
YNXtoOCQRTZymjuSQsjT16mbNF3tYgbCh6gMIZW+HDq2FsYfFFzya3QEyDFy0ZUc
BZ2+eqTUV9oYlGALDOqNktNtTFFC252nhH/QIQ26FnnJ1xC3/h1Jg9/1FIwjtES2
+Hor5vtDsJF8tS8=
-----END CERTIFICATE-----
[root@185 ~]# ls -la
total 200
dr-xr-x---. 5 root root 4096 May 3 18:06 .
dr-xr-xr-x. 22 root root 4096 Apr 28 21:25 ..
-rw-------. 1 root root 1166 Jul 11 2017 anaconda-ks.cfg
-rw-------. 1 root root 131 Sep 26 2017 .bash_history
-rw-r--r--. 1 root root 18 May 20 2009 .bash_logout
-rw-r--r--. 1 root root 176 May 20 2009 .bash_profile
-rw-r--r--. 1 root root 176 Sep 23 2004 .bashrc
-rw-r--r-- 1 root root 2790 Jul 25 2016 check_dummy.py
-rw-r--r-- 1 root root 370 Mar 22 06:24 check.sh
-rw-r--r-- 1 root root 1536 Mar 25 03:47 cleanupdate.sh
-rw-r--r-- 1 root root 81 Apr 4 21:10 commands.sh
-rw-r--r--. 1 root root 100 Sep 23 2004 .cshrc
-rw-r--r-- 1 root root 816 Mar 21 18:17 dnscheck.sh
-rw-r--r-- 1 root root 107 Oct 18 2016 dns-resolv-fix.sh
-rw-r--r--. 1 root root 8845 Jul 11 2017 install.log
-rw-r--r--. 1 root root 3384 Jul 11 2017 install.log.syslog
-rw-r--r-- 1 root root 199 Jul 29 2016 ipsec-cert-update.sh
-rw-r--r-- 1 root root 806 Mar 17 2017 ipseccheck.sh
-rw-r--r--. 1 root root 59597 May 3 18:06 logfile
-rw-r--r-- 1 root root 627 Feb 27 15:38 ocserv-cert-update.sh
-rw-r--r-- 1 root root 817 Mar 17 2017 opcheck.sh
-rw-r--r-- 1 root root 820 Mar 17 2017 ovpncheck.sh
drwxr-----. 3 root root 4096 Jul 14 2017 .pki
-rw-r--r-- 1 root root 814 Mar 17 2017 pppcheck.sh
-rw-r--r--. 1 root root 1722 Mar 28 2009 RPM-GPG-KEY-elrepo.org
-rw-r--r-- 1 root root 814 Mar 17 2017 sdcheck.sh
drwxr-xr-x. 3 root root 4096 Jul 19 2017 .ssh
-rw-r--r-- 1 root root 830 Feb 28 17:16 stcheck.sh
drwxrwxr-x. 9 1000 1000 4096 Jul 14 2017 strongswan-5.5.0
-rw-r--r-- 1 root root 46 Mar 1 01:33 stunnel-start.sh
-rw-r--r-- 1 root root 126 Mar 21 18:09 swupdates.sh
-rw-r--r--. 1 root root 129 Dec 3 2004 .tcshrc
-rw-r--r-- 1 root root 0 May 3 18:06 vpn.log
-rw-r--r-- 1 root root 817 Mar 17 2017 xltcheck.sh
[root@185 ~]# grep @ .ssh/authorized_keys|awk '{print $NF}'
Atom@Atoms-iMac.local
Keith@Keiths-iMac.local