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/14 21:57] – [Router 4] olivier | documentation:examples:gre_ipsec_and_openvpn [2022/07/08 11:59] – [Tunnel with IKEv2 (strongswan)] olivier | ||
---|---|---|---|
Line 250: | Line 250: | ||
service routing restart | service routing restart | ||
config save | config save | ||
+ | </ | ||
+ | |||
+ | Take care of avoiding fragmentation, | ||
+ | < | ||
+ | set skip on lo0 | ||
+ | scrub on gif1 inet all max-mss 1200 | ||
+ | scrub on gif1 inet6 all max-mss 1180 | ||
+ | pass | ||
</ | </ | ||
==== Router 4 ==== | ==== Router 4 ==== | ||
Line 689: | Line 697: | ||
< | < | ||
- | cat > / | + | cat > / |
config setup | config setup | ||
Line 707: | Line 715: | ||
rightid=VM4 | rightid=VM4 | ||
auto=start | auto=start | ||
- | 'EOF' | + | EOF |
</ | </ | ||
Line 713: | Line 721: | ||
< | < | ||
- | cat > / | + | cat > / |
VM4 VM2 : PSK "This is a strong password" | VM4 VM2 : PSK "This is a strong password" | ||
- | 'EOF' | + | EOF |
</ | </ | ||
Line 721: | Line 729: | ||
< | < | ||
- | sysrc strongswan_enable=YES | + | service strongswan enable |
service strongswan restart | service strongswan restart | ||
</ | </ | ||
Line 735: | Line 743: | ||
< | < | ||
- | cat > / | + | cat > / |
config setup | config setup | ||
Line 752: | Line 760: | ||
rightid=VM2 | rightid=VM2 | ||
auto=route | auto=route | ||
- | 'EOF' | + | EOF |
</ | </ | ||
Line 758: | Line 766: | ||
< | < | ||
- | cat > / | + | cat > / |
VM4 VM2 : PSK "This is a strong password" | VM4 VM2 : PSK "This is a strong password" | ||
- | 'EOF' | + | EOF |
</ | </ | ||
Line 766: | 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