반응형
A-M
#cd /etc/ssl/
#openssl req –new –out vpn.req –newkey rsa:2048 –nodes –keyout vpn.key
※cn은 vpn.alpha.com
#openssl ca –in vpn.req –out vpn.crt
A-S
#apt –y install openvpn
#cd /etc/openvpn/
#scp 192.168.0.1:/etc/ssl/vpn.* ./
#scp 192.168.0.1:/etc/ssl/alpha/cacert.pem ./
#openssl dhparam –out dh2048.pem 2048
#cp /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz /etc/openvpn/
#gunzip /etc/openvpn/server.conf.gz
#vim /etc/openvpn/server.conf.
※맨 밑에 추가
#systemctl restart openvpn@server
REMOTE
※alpha-CA 인증서를 / 아래에 옮긴 후, 진행
#apt –y install network-manager-openvpn-gnome
반응형
'OS > Linux' 카테고리의 다른 글
라이믹스 설치하는법 (0) | 2021.11.17 |
---|---|
[21전국] 1과제 10. PROXY 구성 (0) | 2021.11.10 |
[21전국] 1과제 9. WEB (0) | 2021.11.09 |
[21전국] 1과제 8. MAIL&CHAT (0) | 2021.11.09 |
[21전국] 1과제 7. PAM Authentication (0) | 2021.11.09 |