简要说明一下OpenVPN的配置,这是一个OpenVPN自带的example:
server.conf文件
# Sample OpenVPN configuration file for# office using a pre-shared static key.## ‘#’ or ‘;’ may be used to delimit comments.# Use a dynamic tun device.# For Linux 2.2 or non-Linux OSes,# you may want to use an explicit# unit number such as “tun1″.# OpenVPN also supports virtual# ethernet “tap” devices.proto tcpdev tun# 10.1.0.1 is our local VPN endpoint (office).# 10.1.0.2 is our remote VPN endpoint (home).ifconfig 10.8.0.5 10.8.0.20server 10.8.0.0 255.255.255.0#ifconfig-pool-persist ipp.txt