Openvpn manages multiple configuration files

Source: Internet
Author: User
Article title: openvpn manages multiple configuration files. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

After the company's network has been adjusted recently, there are three vpn connections that need to be used. according to the default configuration, it seems that only one configuration file under the config directory can be used. in this case, you need to change the directory name for different vpn switches, very troublesome. After 10 minutes of observation and 10 minutes of thinking, I suddenly thought of a method. so I tried it and it was OK.

After the openvpn client is installed, there will be a config directory under the installation directory, which contains the relevant configuration files, now this operation. Name the directory where the configuration files of the original vpn are located as config.1 config.2 config.3, and then clear the files in the original config directory, copy config.1 config.2 config.3 to the config directory, and then paste the client under each directory with specific configuration file information. change ovpn to client1.ovpn. When openvpn is started, you can clearly identify the difference.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.