小编Aus*_*tin的帖子

尝试在 vps 上设置 OpenVPN 服务器

当我在公共场所时,我正在尝试在我的 VPS 上为自己设置 OpenVPN 服务器,使用本教程http://tipupdate.com/how-to-install-openvpn-on-ubuntu-vps/

但是,每当我尝试启动服务器时,它都会给我这个,

root@vps:~# /etc/init.d/openvpn start
 * Starting virtual private network daemon(s)...                                                                 *   Autostarting VPN 'server'                                                                           [fail]
Run Code Online (Sandbox Code Playgroud)

日志包含这个

Tue Dec 11 10:53:32 2012 Diffie-Hellman initialized with 1024 bit key
Tue Dec 11 10:53:32 2012 /usr/bin/openssl-vulnkey -q -b 1024 -m <modulus omitted>
Tue Dec 11 10:53:33 2012 TLS-Auth MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Dec 11 10:53:33 2012 ROUTE: default_gateway=UNDEF
Tue Dec 11 10:53:33 2012 Note: Cannot open TUN/TAP dev /dev/net/tun: No …
Run Code Online (Sandbox Code Playgroud)

vpn vps openvpn ubuntu-10.04

10
推荐指数
2
解决办法
1万
查看次数

OpenVPN 客户端超时

我最近在我的 Ubuntu VPS 上安装了 OpenVPN。每当我尝试连接到它时,我都可以很好地建立连接。

但是,我尝试连接的所有内容都超时。

如果我尝试 ping 某些东西,它会解析 IP,但会在解析 IP 后超时。(所以 DNS 服务器似乎工作正常)

我的 server.conf 有这个相关信息(至少我认为它是相关的。我不确定你是否需要更多)

port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key  # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
;push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
;client-to-client
;duplicate-cn
keepalive 10 120
;tls-auth ta.key 0 # This file is secret
comp-lzo
persist-key
persist-tun
status openvpn-status.log
# Set the …
Run Code Online (Sandbox Code Playgroud)

networking vpn vps routing openvpn

7
推荐指数
1
解决办法
3134
查看次数

标签 统计

openvpn ×2

vpn ×2

vps ×2

networking ×1

routing ×1

ubuntu-10.04 ×1