maoyipeng
V2EX  ›  问与答

pptp over openvpn可行性讨论

  •  
  •   maoyipeng · Jun 27, 2013 · 4795 views
    This topic created in 4882 days ago, the information mentioned may be changed or developed.
    国内的vps跑openvpn客户端和pptp服务端(tun0 ip 10.8.0.2)
    国外的vps跑openvpn服务端(tun0ip 10.8.0.1)
    使用static key 方式的openvpn
    国内vps iptables -t nat -A POSTROUTING -s pptp客户端网段 -o tun0 -j MASQUERADE
    国外vps iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
    现在pptp连上后能ping 10.8.0.2 和10.8.0.1 但是ping不通外网
    4 replies  •  1970-01-01 08:00:00 +08:00
    maoyipeng
    maoyipeng
    OP
    Jun 27, 2013
    1
    没人么。。。。。。
    ownway
    ownway
    Jun 27, 2013
    2
    理论可行吧。。。
    ericFork
    ericFork
    Jun 27, 2013
    3
    使用static key 方式的openvpn
    ——照封不误
    maoyipeng
    maoyipeng
    OP
    Jun 27, 2013
    4
    @ericFork 没有封啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   555 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 22:07 · PVG 06:07 · LAX 14:07 · JFK 17:07
    ♥ Do have faith in what you're doing.