- 1,047
- 785
Is it possible to configure Gnome Remote Desktop to share the desktop over the Ethernet interface but block connections over WiFi? Where is the config file for this daemon?
GNOME Remote Desktop can be configured to allow connections over the Ethernet interface while blocking access over WiFi by implementing specific firewall rules. The configuration file for GNOME Remote Desktop is located at ~/.config/gnome-remote-desktop, typically containing files like server.conf. To enforce network access, users can utilize tools such as ufw or iptables to manage traffic on the Ethernet (eth0) and WiFi (wlan0) interfaces. After applying these changes, it is essential to restart the GNOME Remote Desktop service using the command systemctl --user restart gnome-remote-desktop.
This discussion is beneficial for system administrators, network engineers, and users seeking to enhance the security of GNOME Remote Desktop by controlling access based on network interfaces.
~/.config/gnome-remote-desktop
ip link
sudo ufw allow in on eth0
sudo ufw deny in on wlan0
sudo iptables -A INPUT -i eth0 -p tcp --dport 3389 -j ACCEPT
sudo iptables -A INPUT -i wlan0 -p tcp --dport 3389 -j DROP
systemctl --user restart gnome-remote-desktop