2025年4月2日 星期三 乙巳(蛇)年 正月初三 设为首页 加入收藏
rss
您当前的位置:首页 > 计算机 > 软件应用 > 网络应用

群晖OpenVPN服务器网关配置

时间:10-30来源:作者:点击数:50

使用群晖OpenVpn服务套件搭建了VPN服务后,导出配置文件,默认是不会在客户端的 openvpn.ovpn 文件中设置重定向网关选项的,此时连接上VPN是无法通过该VPN访问互联网的,只能访问局域网。如果想要访问互联网,打开网管重定向即可:

  • # If redirect-gateway is enabled, the client will redirect it's
  • # default network gateway through the VPN.
  • # It means the VPN connection will firstly connect to the VPN Server
  • # and then to the internet.
  • # (Please refer to the manual of OpenVPN for more information.)
  • redirect-gateway def1

之后重新连接,会发现网关已经被指定为VPN局域网内DHCP分发的网关。

方便获取更多学习、工作、生活信息请关注本站微信公众号城东书院 微信服务号城东书院 微信订阅号
推荐内容
相关内容
栏目更新
栏目热门