maoyipeng
V2EX  ›  问与答

pptp over openvpn可行性讨论

  •  
  •   maoyipeng · Jun 27, 2013 · 4490 views
    This topic created in 4738 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
        1
    maoyipeng  
    OP
       Jun 27, 2013
    没人么。。。。。。
    ownway
        2
    ownway  
       Jun 27, 2013
    理论可行吧。。。
    ericFork
        3
    ericFork  
       Jun 27, 2013
    使用static key 方式的openvpn
    ——照封不误
    maoyipeng
        4
    maoyipeng  
    OP
       Jun 27, 2013
    @ericFork 没有封啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5403 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 02:58 · PVG 10:58 · LAX 19:58 · JFK 22:58
    ♥ Do have faith in what you're doing.