40722ebbcaf7d1ea1ea618999c78c4da54fbd46e
howto/Edgeos-Config-Example-number-2.md
| ... | ... | @@ -13,6 +13,8 @@ Also thanx to drathir for his patience and support |
| 13 | 13 | |
| 14 | 14 | --> still work in Progress |
| 15 | 15 | |
| 16 | +* Basic EdgeOS knowledge is required |
|
| 17 | + |
|
| 16 | 18 | 1) you need to create all required fields in the registry --> look at howto/Getting startet page |
| 17 | 19 | |
| 18 | 20 | 2) get a peer --> ask nice @irc |
| ... | ... | @@ -36,14 +38,25 @@ Peer Remote Host: X.X.X.Y |
| 36 | 38 | Peer Port: 1194 |
| 37 | 39 | Peer ASN: AS222222 |
| 38 | 40 | Peer BGP Neighbour IPv4: Z.Z.Z.Z |
| 41 | +Peer BGP Neighbour IPv6: fdAA::CC |
|
| 42 | + |
|
| 43 | + |
|
| 44 | +### Copy OpenVPN key to the ErPro |
|
| 39 | 45 | |
| 46 | +copy vpn key to /config/auth/giveITaName |
|
| 40 | 47 | |
| 48 | + sudo su |
|
| 49 | + cd /config |
|
| 50 | + mkdir auth |
|
| 51 | + cd auth |
|
| 52 | + cat > giveITaName |
|
| 41 | 53 | |
| 42 | -###Create IPv4 OpenVPN Interface |
|
| 54 | +now paste the key in the terminal window, hit return once and kill cat with CTRL+C |
|
| 55 | +last thing to do is type exit |
|
| 43 | 56 | |
| 44 | -start a ssh session to your router |
|
| 57 | +### Create IPv4 OpenVPN Interface |
|
| 45 | 58 | |
| 46 | -copy vpn key to /config/auth/giveITaName -- Create folder if needed |
|
| 59 | +Set up Interface vtunX -- i used vtun0 |
|
| 47 | 60 | |
| 48 | 61 | configure |
| 49 | 62 | set interface openssh vtun0 |