This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| technical:ipsec:ipsec-tools [2023/03/27 15:10] – jc | technical:ipsec:ipsec-tools [2023/03/27 15:23] (current) – jc | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| ip tunnel add gre0 mode gre remote < | ip tunnel add gre0 mode gre remote < | ||
| ip link set gre0 up | ip link set gre0 up | ||
| - | ip address < | + | ip address < |
| ``` | ``` | ||
| # Configure ipsec.conf | # Configure ipsec.conf | ||
| + | Create / | ||
| ``` | ``` | ||
| spdflush; | spdflush; | ||
| Line 20: | Line 21: | ||
| ``` | ``` | ||
| # Configure racoon.conf | # Configure racoon.conf | ||
| + | Make racoon directory. | ||
| + | ``` | ||
| + | mkdir /etc/racoon | ||
| + | ``` | ||
| + | Create racoon.conf file. | ||
| ``` | ``` | ||
| path certificate "/ | path certificate "/ | ||
| Line 52: | Line 58: | ||
| compression_algorithm deflate; | compression_algorithm deflate; | ||
| } | } | ||
| - | ``` | ||
| - | mkdir /etc/racoon | ||
| ``` | ``` | ||
| # Copy Certificates and Key | # Copy Certificates and Key | ||
| ``` | ``` | ||
| - | scp {ca.pem, | + | scp {ca.pem, |
| ``` | ``` | ||
| # Enable the IPsec Service | # Enable the IPsec Service | ||