V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
DigitalOcean - SSD Cloud Servers
jerryhe9500
V2EX  ›  VPS

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

  •  
  •   jerryhe9500 · 2015-06-11 09:15:47 +08:00 · 383 次点击
    这是一个创建于 3249 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我在 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 条回复    2015-06-18 23:36:08 +08:00
    kbuddy
        1
    kbuddy  
       2015-06-18 15:42:34 +08:00
    把锐速关了就可以了
    jerryhe9500
        2
    jerryhe9500  
    OP
       2015-06-18 23:36:08 +08:00
    @kbuddy 谢谢,关了立刻就好了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   831 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 22:28 · PVG 06:28 · LAX 15:28 · JFK 18:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.