96f4dad7401c8800ee8a48789ab03450d26ec172
gre-on-freebsd.md
... | ... | @@ -1,20 +0,0 @@ |
1 | -# GRE on FreeBSD |
|
2 | - |
|
3 | -This page describes how to configure GRE tunnels on FreeBSD. |
|
4 | - |
|
5 | -## Requirements |
|
6 | -* Root access to a FreeBSD system. |
|
7 | -* Loaded if_gre.ko or device gre |
|
8 | -* A static IPv4 address on both ends if you would like to preserve your sanity. |
|
9 | - |
|
10 | -## Create a temporary gre tunnel |
|
11 | - ifconfig gre$INDEX create |
|
12 | - ifconfig gre$INDEX tunnel $TUNNEL_SRC $TUNNEL_DST |
|
13 | - ifconfig gre$INDEX inet $LOCAL $REMOTE netmask 0xffffffff |
|
14 | - ifconfig gre$INDEX descr $DESCR |
|
15 | - |
|
16 | -## Create a persistent gre tunnel |
|
17 | -Add this to your rc.conf. |
|
18 | - |
|
19 | - cloned_interfaces="$cloned_interfaces gre0" |
|
20 | - ifconfig_gre0="10.0.0.1 10.0.0.2 netmask 0xffffffff tunnel 1.2.3.4 5.6.7.8 descr foo" |
|
... | ... | \ No newline at end of file |