目前我的 openvpn 服务器的 IP 地址为 10.8.0.1。我想将其更改为 10.9.0.1。我尝试在 server.conf 中更改以下行
# Configure server mode and supply a VPN subnet
# for OpenVPN to draw client addresses from.
# The server will take 10.8.0.1 for itself,
# the rest will be made available to clients.
# Each client will be able to reach the server
# on 10.8.0.1. Comment this line out if you are
# ethernet bridging. See the man page for more info.
server 10.9.0.0 255.255.255.0
但是当我重新启动 OpenVPN 时,它仍然得到地址 10.8.0.1。这是正确的方法吗?
你做得很好。确保稍后在配置文件中不会覆盖此地址。
您应该通过执行以下命令重新启动 openVPN:
server.conf
只能通过以下方式重新启动: