From 164984398b406464520675a934217402dfac8002 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 19 Sep 2019 15:57:08 +0300 Subject: [PATCH] ufw: note WLAN tethering Resolves: #164 --- blog/_posts/2015-06-12-ufw.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/blog/_posts/2015-06-12-ufw.md b/blog/_posts/2015-06-12-ufw.md index a4bf5df..511d977 100644 --- a/blog/_posts/2015-06-12-ufw.md +++ b/blog/_posts/2015-06-12-ufw.md @@ -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. * * * * *