我有一个webmin运行openvpn与我生成我的客户端密钥和服务器密钥。 在Windows端,我用windows openvpn客户端连接到vpn。 但是,连接保持失败: login服务器: Thu Jan 17 11:08:55 2013 OpenVPN 2.2.1 i686-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Mar 30 2012 Thu Jan 17 11:08:55 2013 WARNING: using –duplicate-cn and –client-config-dir together is probably not what you want Thu Jan 17 11:08:55 2013 NOTE: your local LAN […]
当我使用此参数management localhost 25333在openVPN(windows)上启用telnet时,我无法再通过它们的虚拟IP访问客户端。 同时,当我在服务器configuration中禁用此参数management localhost 25333时,客户端可通过虚拟IP访问,但远程loginpipe理控制台丢失。 请参阅下面连接的服务器和客户端configuration文件。 服务器configuration文件: proto tcp dev tun ca ca.crt cert server.crt key server.key dh dh1024.pem server 100.86.0.0 255.255.0.0 duplicate-cn keepalive 10 120 comp-lzo persist-remote-ip persist-key persist-tun status openvpn-status.log 5 verb 3 port 1194 management localhost 25333 客户端configuration文件: client dev tun proto tcp remote my.ovpnserver.com 1194 resolv-retry infinite nobind persist-key persist-tun […]
我遵循这里的指南https://help.ubuntu.com/10.04/serverguide/openvpn.html但是当我尝试启动OpenVPN我得到以下错误: ovpn-server[2455]: Options error: –server and –server-bridge cannot be used together 我如何解决这个问题?
最后,我得到了OpenVPN运行,但现在我真的很想念通过VPN服务器访问我所有的Web服务(Apache,FTP,SSH等)。 有一个简单的方法来路由从我的wlan1设备到tap0的所有stream量? 为server.conf: port 1193 proto tcp dev tap0 ca ca.crt cert server.crt key server.key # This file should be kept secret dh dh1024.pem ifconfig-pool-persist ipp.txt server 10.8.0.0 255.255.255.0 keepalive 10 120 ;tls-auth ta.key 0 # This file is secret comp-lzo user nobody group nogroup persist-key persist-tun status openvpn-status.log verb 3 script-security 2 我其实希望这个前进能解决问题,但事实并非如此: /sbin/iptables […]
这里的设置:我有一个服务器在远程位置运行OpenVPN和一个本地客户端。 该服务器有多个WAN IPv4地址。 我想使用OpenVPN将服务器的一个WAN IP地址专用于客户端。 也就是说,服务器在专用IP上接收的所有内容都应该被转发(并适当地伪装)给客户端; 客户通常应该通过隧道设备发送一切; 服务器应该为客户端发送的所有数据使用专用的IP地址。 这可能吗? 我有OpenVPN和运行,但我没有希望在路由规则。
这是非常广泛的,所以告诉我,如果我超出了本网站的范围。 照这样说…. 我想在我的networking上安装一台安装了OpenVPN客户端的Ubuntu机器,configuration为发送所有networkingstream量。 然后,我想使用Ubuntu机器作为局域网上某些设备的网关,以便他们也使用OpenVPN客户端提供的连接。 我一直在挖掘Ubuntu论坛,并且空白,主要是因为我不确定我在找什么。 我是否需要使用静态路由来完成这个? 还是有一个简单的方法来设置这种types的configuration? 非常感谢。
我在VPS上使用OpenVPN,我想通过iptables将来自外部IP 198.23.248.150的传入端口7999转发到内部IP 10.1.10.2。 我似乎无法得到正确的语法,我已经确保转发已启用: root@insanity:~# cat /proc/sys/net/ipv4/conf/venet0/forwarding 1 所以,如果有人能告诉我iptables命令我正在寻找使用,我会非常感激。 我正在想方设法弄清楚。
我有两台物理机器(都是Ubuntu Linux)位于不同的托pipe公司。 现在,一台机器运行客户端可以通过VPN(OpenVPN)访问的虚拟机。 我现在需要的是将另一个物理服务器连接到它的虚拟机,VPN客户端也可以看到它,并且可以从内部DNSMasq服务器获得它们的本地IP。 这是我目前的configuration: +————————————–+ | Current VPN Server | | | | | |——+ | | | +—————–+ | | tun |<====>| DNSMasq | | | | +—————–+ | |——+\ ^ ^ | | || \\ / \ | | || \\ / \ | | || \\ / \ | | +———————————+ […]
我想在我的一台电脑上安装一个openVPN连接。 但我想通过过滤除了openVPN以外的所有内容来确保连接是安全的。 因此,OpenVPN将是唯一的方法来访问互联网。 什么是最好的方法来做到这一点? iptables的? 安全的方式,如果没有开放的VPN连接,没有访问互联网。
我试图让一个OpenVPN服务器工作,让客户访问一个networking是10.202.0.0/16。 我想OpenVPN的客户范围是10.202.46.1-255。 我configuration了服务器,并可以连接到它。 我正在使用它来replace客户端的默认网关。 但是,由于某种原因,OpenVPN服务器给我的客户地址10.202.46.6,并说我的默认网关是10.202.46.5。 我可以ping 10.202.46.1,但是我不能ping任何networking内的其他东西。 我的server.conf文件可以在http://pastebin.com/jM3G5yhV阅读。 任何人有任何想法,为什么我不能在networking上ping任何东西? 10.202.0.0/16networking的网关是10.202.1.1。