2023年3月1日星期三

is it possible to increase the maximum number of concurrent VPN connections of synology

 

/volume1/@appstore/VPNCenter/etc/openvpn/openvpn.conf

/volume1/@appstore/VPNCenter/user_data_collector/vpnserver.config


/volume1/@appconf/VPNCenter/openvpn/openvpn.conf

/var/packages/VPNCenter/etc/openvpn/openvpn.conf

上面两个文件是指向同一个地址,传说是这里改连接数量(确实是这里控制,但只对openvpn)


/volume1/@appconf/VPNCenter/synovpn.conf
这里配置的是单个用户可以连接的数量,不是主机连接数

/usr/syno/etc/user.data.conf/vpnserver.config



vi /var/packages/VPNCenter/etc/openvpn/openvpn.conf


Possible workaround is to edit configuration files over SSH

For PPTP edit the file /usr/syno/etc/packages/VPNCenter/pptp/accel-pppd.conf Change the line "tunnel=10.0.0.1-5" to "tunnel=10.0.0.1-10" - then the Maximum connection number will be set to 10.

For OpenVPN edit the file /usr/syno/etc/packages/VPNCenter/openvpn/openvpn.conf Adjust the line "Max-clients 5".

For L2TP edit /usr/syno/etc/packages/VPNCenter/l2tp/x12tpd.conf Change the line "ip range=10.2.0.1-5" to something like "ip range=10.2.0.1-10"

Finally restart NAS.

Keep in mind, that each encrypted VPN connection puts additional load on CPU, so keep the limit reasonable according to your model. Though with 1 GHz CPU in DS216j and 7 concurrent VPN users, I rarely see it go over 30%.













youtube的dns屏蔽方法

  216.239.38.120 是 Google 提供的一个特殊 DNS 服务器,用于强制开启 YouTube 受限模式(Restricted Mode) 。 如果你想在家里强制 YouTube 进入受限模式,可以在 路由器的 DNS 设置 中配置以下 DNS 服务器: D...