-
Notifications
You must be signed in to change notification settings - Fork 4
/
skeleton.conf
62 lines (53 loc) · 1.63 KB
/
skeleton.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
log syslog all;
# FIXME: Change this to one of your router's IPv4 addresses.
# If you have none, pick something random from 240.0.0.0/4.
router id 192.0.2.1;
protocol kernel {
scan time 60;
ipv4 {
export where source != RTS_STATIC;
# NOTE: this basic export above doesn't make the routes inserted into
# the kernel prefer your own IPs. Things will work fine with your
# server's IP assigned by the provider if you have a single upstream
# but strange things will happen if you have more than one peer.
# Instead, to use your own IP as the default source IP for outgoing
# connections on your system, add an IP from your range to the `lo`
# interface, remove the line above, and use the block below, changing
# 192.0.2.1 to the IP used.
#
# export filter {
# if source = RTS_STATIC then reject;
# if source = RTS_BGP then krt_prefsrc = 192.0.2.1;
# accept;
# };
};
}
protocol kernel {
scan time 60;
ipv6 {
export where source != RTS_STATIC;
# NOTE: similar to above, use the following block to change the default
# source IP for outgoing connections.
# export filter {
# if source = RTS_STATIC then reject;
# if source = RTS_BGP then krt_prefsrc = 2001:db8::1;
# accept;
# };
};
}
protocol device {
scan time 60;
}
include "filter_bgp.conf";
protocol static node_v4 {
ipv4 {};
}
protocol static node_v6 {
ipv6 {};
}
protocol static node_v4_anycast {
ipv4 {};
}
protocol static node_v6_anycast {
ipv6 {};
}