반응형
A-EDGE, B-EDGE
#apt –y install strongswan
A-M
#cd /etc/ssl
#openssl req –new –out a.req –newkey rsa:2048 –nodes –keyout a.key
※CN은 100.0.0.1
#openssl ca –in a.req –out a.crt
#openssl req –new –out b.req –newkey rsa:2048 –nodes –keyout b.key
※CN은 100.0.1.1
#openssl ca –in b.req –out b.crt
A-EDGE
#scp 192.168.0.1:/etc/ssl/alpha/cacert.pem /etc/ipsec.d/cacerts/
#scp 192.168.0.1:/etc/ssl/*.crt /etc/ipsec.d/certs/
#scp 192.168.0.1:/etc/ssl/*.key /etc/ipsec.d/private/
#vim /etc/ipsec.conf
#vim /etc/ipsec.secrets
#systemctl restart strongswan
B-EDGE
#scp –r 100.0.0.1:/etc/ipsec.* /etc/
#vim /etc/ipsec.conf
#vim /etc/ipsec.secrets
#systemctl restart strongswan
반응형
'OS > Linux' 카테고리의 다른 글
[21전국] 1과제 5. DHCP 구성 (0) | 2021.11.09 |
---|---|
[21전국] 1과제 4. NAT 구성 (0) | 2021.11.09 |
[21전국] 1과제 CA 구성 (0) | 2021.11.09 |
[21전국] 1과제 1. DNS 구성 (0) | 2021.11.09 |
데비안 리눅스 초기 설정 속성 솔루션 (0) | 2021.11.09 |