I follow Static IPs for Asus router VPN clients.
Still unable to let the client get static ip
My method of executing openvpn
is sudo openvpn --config /etc/openvpn/client/client.ovpn
SSH connect to Asus Router
Go to the
jffs
folder,mkdir configs cd configs mkdir openvpn cd openvpn mkdir ccd cd ccd touch nuc vi nuc ifconfig-push 10.8.0.22 255.255.255.0
Exit SSH.
Asus Router Web Settings ->
http://192.168.0.1/
-> VPN -> OpenVpn -> Custom Configuration ->client-config-dir /jffs/configs/openvpn /ccd
Username / Password Auth. Only to "Yes"
Allowed Clients
- Common Name(CN) =>
tester
(the account set by my OpenVPN) - Subnet =>
10.8.0.0
- Mask =>
255.255.255.0
- Push =>
No
- Common Name(CN) =>
What other settings does the Server have to do? Or is there anything to be added to the key?
I just need to follow the steps in the answer
I didn’t make any changes to the rest
Are there other places to set?