ufw: note WLAN tethering

Resolves: #164
This commit is contained in:
Aminda Suomalainen 2019-09-19 15:57:08 +03:00
parent d66413b612
commit 164984398b
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
1 changed files with 12 additions and 0 deletions

View File

@ -91,6 +91,18 @@ ufw allow from fe80::/10 to any port 1714:1764 proto tcp
ufw allow from fe80::/10 to any port 1714:1764 proto udp
```
EXTRA:
If you need WLAN tethering, edit `/etc/ufw/sysctl.conf` and:
```
ufw route allow in on enp3s0 out on wlp2s0
ufw route allow in on wlp2s0 out on enp3s0
```
I am not sure if both rules are required, enp3s0 is the ethernet interface
and wlp2s0 the wireless one. I think it would make sense for only the first
to be required.
* * * * *