Tag: pptpd

如何允许我的vpn客户端访问远程LAN(eth1)?

我的ubuntu服务器有两个if: eth0, eth1 。 eth0: Public IP eth1: 192.168.0.2 我使用pptpd为vpn服务器配置了eth0 。 vpn ip_range是192.168.100.234-248 #/etc/pptpd.conf logwtmp bcrelay eth2 localip 192.168.100.1 remoteip 192.168.100.234-238,192.168.100.245 现在从我的客户端可以连接到vpn服务器并获取192.168.100.234地址。 但我无法访问192.168.0.2/24 LAN网络中的任何内容。 我尝试设置iptables -A FORWARD -j ACCEPT以及-t nat设置。 但似乎没有影响。 如何正确完成这项工作? 非常感谢。 这是我的服务器和客户端相关信息https://gist.github.com/4635571

无法连接到Ubuntu上的PPTP VPN服务器

我正在尝试连接到PPTP VPN服务器。 相同的配置在Windows中正常工作但在Ubuntu 12.10中失败。 它必须是一些配置问题。 sudo pptpsetup –create MYVPN –server xxx.xxx.xxx.xxx –username username –password password 一切都正确设置。 但是当我尝试实际运行VPN时,我得到了这个: $ sudo pppd call MYVPN updetach Using interface ppp1 Connect: ppp1 /dev/pts/2 LCP: timeout sending Config-Requests Connection terminated. Modem hangup 当我这样做更多细节: tail -n 30 /var/log/syslog | grep -i ppp Mar 18 06:33:08 tp pppd[5082]: pppd 2.4.5 started by […]

pptpd VPN:连接后无法访问互联网

我按照本教程中的说明设置了一个vpn服务器,以便我可以连接到该服务器并从另一个位置虚拟浏览互联网。 到目前为止,从Windows,我可以连接到它,但没有互联网访问。 我在conf文件中使用的ip地址与教程中的完全相同 localip 192.168.0.1 remoteip 192.168.0.100-200 DNS相同,即8.8.8.8。 (关于我所做的事情你需要知道的一切都已经在那个链接中了) 您认为这可能是什么问题?