howto/Edgeos-Config-Example-number-2.md
... ...
@@ -36,13 +36,13 @@ Peer BGP Neighbour IPv4: Z.Z.Z.Z
36 36
37 37
...
38 38
39
-###Create IPv4 OpenVPM Interface
39
+###Create IPv4 OpenVPN Interface
40 40
41 41
start a ssh session to your router
42 42
43 43
copy vpn key to /config/auth/giveITaName -- Create folder if needed
44 44
45
-configure
45
+configure
46 46
set interface openssh vtun0
47 47
set interfaces openvpn vtun0 mode site-to-site
48 48
set interfaces openvpn vtun0 local-port 1194
... ...
@@ -67,6 +67,10 @@ show openvpn status site-to-site
67 67
68 68
### Create IPv4 BGP Session
69 69
70
+#### Open Firewall
71
+
72
+* You need to open the firewall to local for the tunnel Interface on port 179/tcp
73
+
70 74
#### Configure the BGP Neighbor
71 75
72 76
* You must not use AS before the as numbers !!
... ...
@@ -85,11 +89,16 @@ show ip bgp summary
85 89
86 90
### Set route to blackhole
87 91
88
-*so bgp can announce the route
92
+* so bgp can announce the route
89 93
90 94
set protocols static route 172.AA.AA.64/27 blackhole
91 95
commit
96
+save
97
+
98
+### Announce prefix to BGP
92 99
100
+set protocols bgp 111111 network 172.A.A.64/27
101
+commit
93 102
94 103
95 104