mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-07 11:59:59 +03:00
add firewalld config file
This commit is contained in:
@@ -97,6 +97,10 @@ gtk-update-icon-cache /usr/local/share/icons/hicolor/
|
||||
# install desktop entry
|
||||
sudo mkdir -p /usr/local/share/applications
|
||||
sudo cp de.feschber.LanMouse.dekstop /usr/local/share/applications
|
||||
|
||||
# when using firewalld: install firewall rule
|
||||
sudo cp firewall/lan-mouse.xml /etc/firewalld/services
|
||||
# -> enable the service in firewalld settings
|
||||
```
|
||||
|
||||
### Conditional Compilation
|
||||
|
||||
8
firewall/lan-mouse.xml
Normal file
8
firewall/lan-mouse.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- for packaging: /usr/lib/firewalld/services/lan-mouse.xml -->
|
||||
<!-- configure manually: /etc/firewalld/services/lan-mouse.xml -->
|
||||
<service>
|
||||
<short>LAN Mouse</short>
|
||||
<description>mouse and keyboard sharing via LAN</description>
|
||||
<port port="4242" protocol="udp"/>
|
||||
</service>
|
||||
Reference in New Issue
Block a user