Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 425 Bytes

File metadata and controls

29 lines (17 loc) · 425 Bytes

openvpn-create-users

作用为批量添加用户

  1. 搭建openvpn 引用的脚本为:

    https://github.com/Nyr/openvpn-install

  2. 目录结构为


	|-- openvpn-install

	|	  |-- create_user.sh

	|	  |-- users.txt

	|	  ......

	|--  vpnuser
  1. 用户信息填入users.txt中,一个用户占一行

  2. bash create_user.sh

    用户配置文件会移动到vpnuser目录下