http://www.tuicool.com/articles/FjuyQj 注:文中有些内容做了修改,特别是那个配置文件,不能直接抄着用. Most people use TunnelBrick to setup OpenVPN client connections on Mac OSX, i prefer using the command line. To get OpenVPN up and running off the command line is a simple proces
1. 修改本机hostname // 查看本机hostname hostnamectl //永久性的修改主机名称, 修改完后新开的terminal中立刻生效. 也可以直接修改 /etc/hostname 文件 hostnamectl set-hostname base 修改对本机hostname的解析 vi /etc/hosts # The following lines are desirable for IPv4 capable hosts 127.0.0.1 base base 127.0
安装openvpn不再赘述 准备证书文件主要有以下文件: (服务端)ca.crtdh2048.pemserver.crtserver.key(客户端)ca.crtclient01.keydp-client.key 配置服务端1. 修改 /etc/config/openvpn, 修改如下 config openvpn sample_server # Set to to enable this instance: option enabled # Which local IP address sho
Mac 配置 vim 安装 vim 7.4 cd ~ hg clone https://code.google.com/p/vim/ cd vim ./configure --with-features=huge \ --enable-multibyte \ --enable-rubyinterp \ --enable-pythoninterp \ --with-python-config-dir=/usr/lib/python2.7/config \ --enable-perlinterp \
The official Windows OpenVPN client does not seem to work properly with the tls-auth option if a key direction is used. The client will read your ovpn file, embed all the keys, and save it under <client install directory>\etc\profile. It seems to ig