docs: add guide for ufw 'binding to LAN' (#372)

This commit is contained in:
ston 2023-12-19 21:45:31 +08:00 committed by GitHub
parent 89628f1f28
commit 1f08e47c51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,18 @@ ufw
firewalld
```
UFW users may need some extra steps to make sure `Binding to LAN` working.
Such as adding as follows to `/etc/ufw/before*.rules`:
```bash
# before.rules
-A ufw-before-input -m mark --mark 0x8000000 -j ACCEPT
# before6.rules
-A ufw6-before-input -m mark --mark 0x8000000 -j ACCEPT
```
### Troubleshoot PPPoE
dae does not support PPPoE due to it is too complexity for a ebpf program. Binding to LAN for other machines should work fine. If you want to proxy the machine itself, see <<https://github.com/daeuniverse/dae/discussions/304>.