Linux HowTo


 * ssh config
 * bash scripts

OpenVPN
Static Key OpenVPN

OpenVPN HowTo


 * 1) apt-get install openvpn easy-rsa
 * 2) make-cadir cafiles
 * 3) cd cafiles
 * 4) nano ./vars
 * 5) source ./vars
 * 6) ./clean-all
 * 7) ./build-ca
 * 8) ./build-key-server servername
 * 9) ./build-key username
 * 10) ./build-dh

server-side:
 * 1) nano /etc/openvpn/minta.conf

dev tun0 ca ca.crt key server1.key cert server1.crt dh dh2048.pem
 * 1) Comment

server 192.168.0.0 255.255.255.0 ifconfig-pool-persist ip_cimek.txt

client-side:
 * 1) nano /etc/openvpn/minta.conf

remote 192.168.50.1 dev tun0 client ca ca.rt cert user1.srt key user1.key
 * 1) Comment

start service both side: service openvpn start tail -f /var/log/syslog

find
Find files:

Find text in files (print line number and filenames):