howto/openvpn.md
... ...
@@ -81,7 +81,7 @@ Clients connect using certificates, and simply get attributed dn42 IPs in the or
81 81
82 82
## Server configuration
83 83
84
-Replace `<PORT>` with the UDP port you want OpenVPN to listen to
84
+Replace `<PORT>` with the UDP port you want OpenVPN to listen to, and change the IP ranges (`ifconfig` and `route-gateway` options).
85 85
86 86
```
87 87
mode server
... ...
@@ -119,13 +119,13 @@ push "topology subnet"
119 119
120 120
keepalive 10 60
121 121
122
-# That's 172.23.185.144/28 (172.23.185.144 to 172.23.185.159)
123
-ifconfig 172.23.185.145 255.255.255.240
124
-ifconfig-pool 172.23.185.146 172.23.185.158 255.255.255.240
122
+# That's 172.22.X.144/28 (172.22.X.144 to 172.22.X.159)
123
+ifconfig 172.22.X.145 255.255.255.240
124
+ifconfig-pool 172.22.X.146 172.22.X.158 255.255.255.240
125 125
126 126
ifconfig-pool-persist pool-persist.txt
127 127
128
-push "route-gateway 172.23.185.145"
128
+push "route-gateway 172.22.X.145"
129 129
push "route 172.22.0.0 255.254.0.0"
130 130
###push "route 172.31.0.0 255.255.0.0"
131 131
###push "route 10.0.0.0 255.0.0.0"