Open bagherfathi opened 1 year ago
hi is it an option in configuration or a tricky solution to prevent RustDesk from a p2p connection and force it to pass all traffic through the relay server? thanks
variable | binary | description |
---|---|---|
ALWAYS_USE_RELAY | hbbs | if set to "Y" disallows direct peer connection |
thank you @DoM1niC
@bagherfathi Do you make it? I don't know how to set the 'ALWAYS_USE_RELAY'.PLEASEA HELP ME!!!
@bagherfathi Add: I have already used the '-k' parameter when run the hbbs and hbbr , but it dont work.All I get is p2p connection without using relay
@bagherfathi Do you make it? I don't know how to set the 'ALWAYS_USE_RELAY'.PLEASEA HELP ME!!!
[root@sh ~]# cat /usr/lib/systemd/system/hbbs.service
[Unit]
Description=rustdesk server hbbs
After=network.target network-online.target
[Service]
......
Environment="ALWAYS_USE_RELAY=Y"
WorkingDirectory=/data/rustdesk
ExecStart=/usr/local/bin/hbbs --config hbbs.conf
ExecStop=/bin/kill -s QUIT $MAINPID
Restart=on-failure
[Install]
WantedBy=multi-user.target
hi is it an option in configuration or a tricky solution to prevent RustDesk from a p2p connection and force it to pass all traffic through the relay server? thanks