• 生成两端共享key
openvpn --genkey --secret static.key
  • server
dev tun
ifconfig 10.8.0.1 10.8.0.2
secret static.key
  • client
remote myremote.mydomain
dev tun
ifconfig 10.8.0.2 10.8.0.1
secret static.key
Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-07-11 11:32:48

results matching ""

    No results matching ""