V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Linode 各机房速度测试
http://www.linode.com/speedtest/
masterqing
V2EX  ›  Linode

linode openvpn statickey

  •  
  •   masterqing · 2014-11-30 10:45:16 +08:00 · 563 次点击
    这是一个创建于 3441 天前的主题,其中的信息可能已经有所发展或是发生改变。
    statickey 模式下如何PUSH DNS 到client1

    server.conf
    port 8500
    proto udp
    dev tun
    ifconfig 10.8.0.1 10.8.0.2
    secret static.key
    push "dhcp-option DNS 8.8.4.4."
    push "dhcp-option DNS 8.8.8.8"
    push "redirect-gateway def1 bypass-dhcp"
    keepalive 10 60
    persist-tun
    persist-key
    comp-lzo
    daemon


    client.ovpn
    remote linode server
    port 8500
    proto udp
    dev tun
    ifconfig 10.8.0.2 10.8.0.1
    secret static.key
    redirect-gateway
    route-method exe


    客户端能连上,ping 不通twitter
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2372 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 12:27 · PVG 20:27 · LAX 05:27 · JFK 08:27
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.