dd-wrtでOpenVPN (6)

サーバ側(dd-wrt)の設定
Services > VPNの設定でOpenVPNの設定を入れていく。
項目
OpenVPNEnable
CVE-2019-14899 MitigationEnable
Start TypeWAN Up
Inbound Firewall on TUN(no)
Configure asGUI(server)
Server modeRouter(TUN)
Network10.10.1.0
Netmask255.255.255.0
Port1194
Tunnel Protocoludp
Encryption CipherAES-256-CBC
Has AlgorithmSHA256
First Data CipherAES-256-CBC
Second Data CipherAES-256-CBC
Third Data CipherAES-256-CBC
Advanced OptionDisable
Public Server Key(server3.key)
DH PEM(dh2048.pem)
Additional Config
TLS Key ChoiceTLS Auth
TLS Key
Certificate Revoke List

クライアント側の設定(ubuntu)
参考:https://qiita.com/noraworld/items/05658055446c41482cce
$ sudo apt-get -y install network-manager-openvpn-gnome

GUIで設定できる。(設定> Network > (+) VPN)
項目
Gatewaydd-wrtIPアドレス
Authentication TypeCertificates (TLS)
User Certificateclient1.crt
CA Certificateca.crt
Private Keyclient1.key
Private Key Password
Advanced項目(変更した項目)
項目
Use LZO data compressiony
CipherAES-256-CBC
CipherAES-256-CBC
Use custom size of cipher key256
HMAC AuthenticationSHA-256
(つづく)