Skip to content

Commit c9deb6e

Browse files
committed
add firewalld config file
1 parent 5cc8cda commit c9deb6e

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ gtk-update-icon-cache /usr/local/share/icons/hicolor/
9797
# install desktop entry
9898
sudo mkdir -p /usr/local/share/applications
9999
sudo cp de.feschber.LanMouse.dekstop /usr/local/share/applications
100+
101+
# when using firewalld: install firewall rule
102+
sudo cp firewall/lan-mouse.xml /etc/firewalld/services
103+
# -> enable the service in firewalld settings
100104
```
101105

102106
### Conditional Compilation

firewall/lan-mouse.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- for packaging: /usr/lib/firewalld/services/lan-mouse.xml -->
3+
<!-- configure manually: /etc/firewalld/services/lan-mouse.xml -->
4+
<service>
5+
<short>LAN Mouse</short>
6+
<description>mouse and keyboard sharing via LAN</description>
7+
<port port="4242" protocol="udp"/>
8+
</service>

0 commit comments

Comments
 (0)