User Tools

Site Tools


technical:ipsec:ipsec-tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
technical:ipsec:ipsec-tools [2023/03/27 15:10] jctechnical:ipsec:ipsec-tools [2023/03/27 15:23] (current) jc
Line 11: Line 11:
 ip tunnel add gre0  mode gre remote <remote_ip_addr> local <local_ip_addr> ttl 255 ip tunnel add gre0  mode gre remote <remote_ip_addr> local <local_ip_addr> ttl 255
 ip link set gre0 up ip link set gre0 up
-ip address <tunnel_ip_addr>/<subnet_mask>+ip address <tunnel_ip_addr>/<subnet_mask> dev gre0
 ``` ```
 # Configure ipsec.conf # Configure ipsec.conf
 +Create /etc/ipsec.conf
 ``` ```
 spdflush; spdflush;
Line 20: Line 21:
 ``` ```
 # Configure racoon.conf # Configure racoon.conf
 +Make racoon directory.
 +```
 +mkdir /etc/racoon
 +```
 +Create racoon.conf file.
 ``` ```
 path certificate "/etc/racoon/"; path certificate "/etc/racoon/";
Line 52: Line 58:
  compression_algorithm deflate;  compression_algorithm deflate;
 } }
-``` 
-mkdir /etc/racoon 
 ``` ```
 # Copy Certificates and Key # Copy Certificates and Key
 ``` ```
-scp {ca.pem,cert.pem,key.pem} <user>@<host>:/etc/racoon/ done+scp {ca.pem,cert.pem,key.pem} <user>@<host>:/etc/racoon/
 ``` ```
 # Enable the IPsec Service # Enable the IPsec Service
technical/ipsec/ipsec-tools.1679944250.txt.gz · Last modified: by jc