mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
9f874dd95e
- The default cipher is BF-CBC, which openvpn refuses to use by default. Switched to AES-256-CBC. - openvpn does not require an external "ip" executable anymore, and does not support the "ipconfig" option by default, so remove that option.
31 lines
821 B
Plaintext
31 lines
821 B
Plaintext
remote 192.168.1.3
|
|
dev tun
|
|
ifconfig 10.8.0.2 10.8.0.1
|
|
# Only force VLAN 2 through the VPN
|
|
route 192.168.2.0 255.255.255.0 10.8.0.1
|
|
cipher AES-256-CBC
|
|
secret [inline]
|
|
<secret>
|
|
#
|
|
# 2048 bit OpenVPN static key
|
|
#
|
|
-----BEGIN OpenVPN Static key V1-----
|
|
553aabe853acdfe51cd6fcfea93dcbb0
|
|
c8797deadd1187606b1ea8f2315eb5e6
|
|
67c0d7e830f50df45686063b189d6c6b
|
|
aab8bb3430cc78f7bb1f78628d5c3742
|
|
0cef4f53a5acab2894905f4499f95d8e
|
|
e69b7b6748b17016f89e19e91481a9fd
|
|
bf8c10651f41a1d4fdf5f438925a6733
|
|
13cec8f04701eb47b8f7ffc48bc3d7af
|
|
65f07bce766015b87c3db4d668c655ff
|
|
be5a69522a8e60ccb217f8521681b45d
|
|
27c0b70bdfbfbb426c7646d80adf7482
|
|
3ddac58b25cb1c1bb100de974478b4c6
|
|
8b45a94261a2405e99810cb2b3abd49f
|
|
21b3198ada87ff3c4e656a008e540a8d
|
|
e7811584363597599cce2040a68ac00e
|
|
f2125540e0f7f4adc37cb3f0d922eeb7
|
|
-----END OpenVPN Static key V1-----
|
|
</secret>
|