通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
DigitalOcean - SSD Cloud Servers
jerryhe9500
V2EX  ›  VPS

求助: ocserv 连接成功后无任何数据被转发

  •  
  •   jerryhe9500 · Jun 11, 2015 · 1355 views
    This topic created in 4018 days ago, the information mentioned may be changed or developed.

    我在 VPS 上装了 ocserv 0.10.5,原来是正常的,但我重新启动服务器后能够正常连接,但没有任何数据被转发。
    sysctl 中也已重新加入过net.ipv4.ip_forward=1

    iptables 如下

    iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
    iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
    iptables -I INPUT -p tcp --dport 5930 -j ACCEPT
    iptables -I OUTPUT -p tcp --dport 5930 -j ACCEPT
    iptables -I INPUT -p udp --dport 5930 -j ACCEPT
    iptables -I OUTPUT -p udp --dport 5930 -j ACCEPT
    
    2 replies    2015-06-18 23:36:08 +08:00
    kbuddy
        1
    kbuddy  
       Jun 18, 2015
    把锐速关了就可以了
    jerryhe9500
        2
    jerryhe9500  
    OP
       Jun 18, 2015
    @kbuddy 谢谢,关了立刻就好了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2687 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 15:47 · PVG 23:47 · LAX 08:47 · JFK 11:47
    ♥ Do have faith in what you're doing.