3

关于 openvpn server.conf 的配置问题

 2 years ago
source link: https://www.v2ex.com/t/844094
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

关于 openvpn server.conf 的配置问题

  Lighthughjiajin · 13 小时 23 分钟前 · 528 次点击

当客户端 使用 OpenVPN 客户端连接 vpn 服务端时,我不希望所有请求都通过 VPN 服务端转发;所以我取消了 push "redirect gateway def1",但当我这么做时,客户端无法访问 Internet 上的其他地址(百度,京东等)。

简单点理解就是, 我家有台电脑连接了 openvpn ,在 vpn 内组的网 ip 地址是 10.8.0.2 , 我在公司的电脑,连接了 openvpn ,在 vpn 内组的网 ip 地址是 10.8.0.3 , 我想在家里的电脑上 访问 10.8.0.3 的时候能通,同时也可以访问 百度、京东等网站。

求大佬帮助。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK