This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
technical:openvpn-bridges-prep-openvpn [2023/10/23 14:51] admin [OpenVPN server config for br0.101] |
technical:openvpn-bridges-prep-openvpn [2024/01/11 13:24] (current) admin [OpenVPN server config for br0.103] |
||
|---|---|---|---|
| Line 30: | Line 30: | ||
| script-security 2 | script-security 2 | ||
| - | local 178.79.130.12 | + | local 178.1.1.20 |
| port 1194 | port 1194 | ||
| proto udp | proto udp | ||
| Line 51: | Line 51: | ||
| allow-compression no | allow-compression no | ||
| data-ciphers none | data-ciphers none | ||
| - | ncp-disable | ||
| cipher none | cipher none | ||
| </ | </ | ||
| Line 62: | Line 61: | ||
| auth none | auth none | ||
| - | cipher none | ||
| tmp-dir /dev/shm | tmp-dir /dev/shm | ||
| Line 71: | Line 69: | ||
| script-security 2 | script-security 2 | ||
| - | local 198.27.111.78 | + | local 178.1.1.20 |
| port 1195 | port 1195 | ||
| proto udp | proto udp | ||
| Line 80: | Line 78: | ||
| dh dh.pem | dh dh.pem | ||
| - | up "/ | + | up "/ |
| server-bridge 10.102.0.1 255.255.0.0 10.102.0.2 10.102.0.100 | server-bridge 10.102.0.1 255.255.0.0 10.102.0.2 10.102.0.100 | ||
| Line 86: | Line 84: | ||
| ; | ; | ||
| keepalive 10 120 | keepalive 10 120 | ||
| - | comp-lzo | ||
| persist-key | persist-key | ||
| persist-tun | persist-tun | ||
| status openvpn-status.log | status openvpn-status.log | ||
| verb 4 | verb 4 | ||
| + | allow-compression no | ||
| + | data-ciphers none | ||
| + | cipher none | ||
| </ | </ | ||
| Line 100: | Line 100: | ||
| auth none | auth none | ||
| - | cipher none | ||
| tmp-dir /dev/shm | tmp-dir /dev/shm | ||
| Line 109: | Line 108: | ||
| script-security 2 | script-security 2 | ||
| - | local 198.27.111.78 | + | local 178.1.1.20 |
| port 1196 | port 1196 | ||
| proto udp | proto udp | ||
| Line 118: | Line 117: | ||
| dh dh.pem | dh dh.pem | ||
| - | up "/ | + | up "/ |
| server-bridge 10.103.0.1 255.255.0.0 10.103.0.2 10.103.0.100 | server-bridge 10.103.0.1 255.255.0.0 10.103.0.2 10.103.0.100 | ||
| Line 124: | Line 123: | ||
| ; | ; | ||
| keepalive 10 120 | keepalive 10 120 | ||
| - | comp-lzo | ||
| persist-key | persist-key | ||
| persist-tun | persist-tun | ||
| status openvpn-status.log | status openvpn-status.log | ||
| verb 4 | verb 4 | ||
| + | allow-compression no | ||
| + | data-ciphers none | ||
| + | cipher none | ||
| </ | </ | ||
| ===== Prepare / | ===== Prepare / | ||
| Line 169: | Line 170: | ||
| sudo chmod 755 / | sudo chmod 755 / | ||
| </ | </ | ||
| - | * Make sure the Perl modules that are used by this script | + | * Make sure the Perl modules that are used by this script |
| <code bash> | <code bash> | ||
| sudo apt-get install liblwp-protocol-https-perl | sudo apt-get install liblwp-protocol-https-perl | ||