V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
theresa233
V2EX  ›  宽带症候群

OpenConnect 的 DNS 设置无效

  •  
  •   theresa233 · 2019-09-18 19:36:47 +08:00 · 3687 次点击
    这是一个创建于 1653 天前的主题,其中的信息可能已经有所发展或是发生改变。

    oc 服务器上设置的 dns 是 Google 的,1.1.1.1 也试过了,连接上之后直接 ping IP 没问题,ping 域名就会提示 unknown host,使用 dig 和 nslookup 也一样

    5 条回复    2019-10-13 18:05:35 +08:00
    zpfhbyx
        1
    zpfhbyx  
       2019-09-18 21:07:39 +08:00
    是不是有 ipv6 的地址啊.
    theresa233
        2
    theresa233  
    OP
       2019-09-19 06:46:10 +08:00 via Android
    @zpfhbyx 服务器有 2 个 ipv4 和一个 IPv6,家里的宽带只有一个 IPv4
    DGideas
        3
    DGideas  
       2019-09-19 14:48:31 +08:00
    https://nova.moe/deploy-openconnect-ocserv-with-letsencrypt/

    我通过这篇文章的方法配置的,没有任何问题。看看是不是漏掉了某些步骤?
    DGideas
        4
    DGideas  
       2019-09-19 14:49:01 +08:00
    @theresa233 另外可以考虑下使用 AnyConnect 客户端连接 ocserv 服务器试试看,https://hk1.server.dgclouds.net/
    stuazt
        5
    stuazt  
       2019-10-13 18:05:35 +08:00 via iPhone
    ocserv.conf 配置文件里,tunnel-all-dns 设置为 true
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1140 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 18:35 · PVG 02:35 · LAX 11:35 · JFK 14:35
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.