?? static-office.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.dev tun# 10.1.0.1 is our local VPN endpoint (office).# 10.1.0.2 is our remote VPN endpoint (home).ifconfig 10.1.0.1 10.1.0.2# Our up script will establish routes# once the VPN is alive.up ./office.up# Our pre-shared static keysecret static.key# OpenVPN uses UDP port 5000 by default.# Each OpenVPN tunnel must use# a different port number.# lport or rport can be used# to denote different ports# for local and remote.; port 5000# Downgrade UID and GID to# "nobody" after initialization# for extra security.; user nobody; group nobody# If you built OpenVPN with# LZO compression, uncomment# out the following line.; comp-lzo# Send a UDP ping to remote once# every 15 seconds to keep# stateful firewall connection# alive. Uncomment this# out if you are using a stateful# firewall.; ping 15# Verbosity level.# 0 -- quiet except for fatal errors.# 1 -- mostly quiet.# 5 -- medium output, good for normal operation.# 8 -- verbose, good for troubleshootingverb 5
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -