howto/Edgeos-Config-Example-number-2.md
... ...
@@ -0,0 +1,56 @@
1
+## EdgeRouterPro-8 DN42 config example with v1.9.0
2
+After a lot of searching and trying I [Phil/ALS7] finnaly got a working config
3
+
4
+##Features
5
+
6
+* IPv4/IPv6 Tunnel via OpenVPN
7
+* dn42 DNS
8
+
9
+##How-To
10
+
11
+--> still work in Progress
12
+
13
+1) you need to create all required fields in the registry --> look at howto/Getting startet page
14
+
15
+The data i used are the following:
16
+
17
+Own ASN: AS4242422684
18
+Own IPv4: 172.20.4.64/27
19
+Own IPv6: fd33:ac1d:d1ce::/48
20
+
21
+2) get a peer --> ask nice @irc
22
+
23
+3) You need following data
24
+
25
+--tunnel options, secret key
26
+--ASN from the peer (in this example i use remote-as XXXXX)
27
+--ip's
28
+
29
+...
30
+
31
+
32
+start a ssh session to your router
33
+
34
+copy vpn key to /config/auth/giveITaName -- Create folder if needed
35
+
36
+configure
37
+set interface openssh vtun0
38
+set interfaces openvpn vtun0 mode site-to-site
39
+set interfaces openvpn vtun0 local-port 1194 //you get the port from your peer
40
+set interfaces openvpn vtun0 remote-port 1194 //you get the port from your peer
41
+set interfaces openvpn vtun0 local-address 172.20.4.64 //your ip
42
+set interfaces openvpn vtun0 remote-address X.X.X.X //from your peer
43
+set interfaces openvpn vtun0 remote-host X.X.X.Y //from your peer
44
+set interfaces openvpn vtun0 shared-secret-key-file /config/auth/giveITaName // your keyfile
45
+set interfaces openvpn vtun0 openvpn-option "--comp-lzo" //if your peer support compression
46
+commit
47
+save
48
+
49
+Now the ipv4 tunnel should be up&running
50
+
51
+
52
+
53
+
54
+
55
+
56
+