X-Panel-SSH-User-Management icon indicating copy to clipboard operation
X-Panel-SSH-User-Management copied to clipboard

Could you please update a resolution for audio and video call issues (UDPGW)

Open hamed00019 opened this issue 1 year ago • 0 comments

sudo wget -O /usr/bin/badvpn-udpgw "https://raw.githubusercontent.com/daybreakersx/premscript/master/badvpn-udpgw64"

apt install screen

sudo touch /etc/rc.local

echo -e '#!/bin/sh -e\nscreen -dmS udpvpn /bin/badvpn-udpgw --listen-addr 127.0.0.1:7300 --max-clients 1000 --max-connections-for-client 10\nscreen -AmdS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7300\nscreen -dmS udpvpn /bin/badvpn-udpgw --listen-addr 127.0.0.1:2097 --max-clients 1000 --max-connections-for-client 10\nscreen -AmdS badvpn badvpn-udpgw --listen-addr 127.0.0.1:2097\nexit 0' >> /etc/rc.local

ufw allow 7300
ufw allow 2097
sudo chmod +x /etc/rc.local
sudo chmod +x /usr/bin/badvpn-udpgw
sudo chmod +x /bin/badvpn-udpgw

reboot
sudo systemctl status rc-local.service
sudo lsof -i -P -n | grep LISTEN

Install the "screen" so that all users can access UDPGW The 2097 port should be added if the 7300 fails to respond --max-connections-for-client 10 For when multiple users are connected to the same SSH user

hamed00019 avatar May 12 '23 20:05 hamed00019