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:12] – 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 | ||
| Line 21: | Line 21: | ||
| ``` | ``` | ||
| # Configure racoon.conf | # Configure racoon.conf | ||
| - | ## Make racoon directory. | + | Make racoon directory. |
| ``` | ``` | ||
| mkdir /etc/racoon | mkdir /etc/racoon | ||
| ``` | ``` | ||
| - | # Create racoon.conf file. | + | Create racoon.conf file. |
| ``` | ``` | ||
| path certificate "/ | path certificate "/ | ||
| Line 58: | Line 58: | ||
| compression_algorithm deflate; | compression_algorithm deflate; | ||
| } | } | ||
| + | ``` | ||
| # Copy Certificates and Key | # Copy Certificates and Key | ||
| ``` | ``` | ||
| - | scp {ca.pem, | + | scp {ca.pem, |
| ``` | ``` | ||
| # Enable the IPsec Service | # Enable the IPsec Service | ||