documentation:examples:gre_ipsec_and_openvpn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
documentation:examples:gre_ipsec_and_openvpn [2020/09/15 16:21] – [Router 2] olivier | documentation:examples:gre_ipsec_and_openvpn [2022/07/08 11:59] – [Tunnel with IKEv2 (strongswan)] olivier | ||
---|---|---|---|
Line 254: | Line 254: | ||
Take care of avoiding fragmentation, | Take care of avoiding fragmentation, | ||
< | < | ||
- | [root@VM2]~# | ||
set skip on lo0 | set skip on lo0 | ||
scrub on gif1 inet all max-mss 1200 | scrub on gif1 inet all max-mss 1200 | ||
Line 698: | Line 697: | ||
< | < | ||
- | cat > / | + | cat > / |
config setup | config setup | ||
Line 716: | Line 715: | ||
rightid=VM4 | rightid=VM4 | ||
auto=start | auto=start | ||
- | 'EOF' | + | EOF |
</ | </ | ||
Line 722: | Line 721: | ||
< | < | ||
- | cat > / | + | cat > / |
VM4 VM2 : PSK "This is a strong password" | VM4 VM2 : PSK "This is a strong password" | ||
- | 'EOF' | + | EOF |
</ | </ | ||
Line 730: | Line 729: | ||
< | < | ||
- | sysrc strongswan_enable=YES | + | service strongswan enable |
service strongswan restart | service strongswan restart | ||
</ | </ | ||
Line 744: | Line 743: | ||
< | < | ||
- | cat > / | + | cat > / |
config setup | config setup | ||
Line 761: | Line 760: | ||
rightid=VM2 | rightid=VM2 | ||
auto=route | auto=route | ||
- | 'EOF' | + | EOF |
</ | </ | ||
Line 767: | Line 766: | ||
< | < | ||
- | cat > / | + | cat > / |
VM4 VM2 : PSK "This is a strong password" | VM4 VM2 : PSK "This is a strong password" | ||
- | 'EOF' | + | EOF |
</ | </ | ||
Line 775: | Line 774: | ||
< | < | ||
- | sysrc strongswan_enable=YES | + | service strongswan enable |
service strongswan restart | service strongswan restart | ||
</ | </ |
documentation/examples/gre_ipsec_and_openvpn.txt · Last modified: 2023/07/10 12:40 by olivier