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%.













在PVE使用虚拟 USB 存储设备 + ARPL 引导 DSM

  部分内容来自: https://blog.myds.cloud/archives/synoboot-usb-image-in-pve-virtual-machine.html 虚拟机建好之后,打开配置文件 nano /etc/pve/qemu-server/100.conf ...