527c21d2f9bd1b1f84d88435f79cf2510a36b0b9
gre-plus-ipsec-debian.md
| ... | ... | @@ -78,11 +78,12 @@ sainfo address 1.2.3.4 47 address 5.6.7.8 47 { |
| 78 | 78 | Add this to /etc/network/interfaces: |
| 79 | 79 | ``` |
| 80 | 80 | auto gre1 |
| 81 | -iface gre1 inet static |
|
| 82 | - address 10.0.0.1 |
|
| 81 | +iface fritz inet tunnel |
|
| 82 | + mode gre |
|
| 83 | 83 | netmask 255.255.255.255 |
| 84 | - up ifconfig gre1 multicast |
|
| 85 | - pre-up ip tunnel add gre1 mode gre local 1.2.3.4 remote 5.6.7.8 ttl 255 |
|
| 86 | - pointtopoint 10.0.0.2 |
|
| 87 | - post-down ip tunnel del gre1 |
|
| 84 | + address 10.0.0.1 |
|
| 85 | + dstaddr 10.0.0.2 |
|
| 86 | + endpoint 5.6.7.8 |
|
| 87 | + local 1.2.3.4 |
|
| 88 | + ttl 255 |
|
| 88 | 89 | ``` |