|
|
@ -26,3 +26,18 @@ Configure the connection with NetworkManager. |
|
|
sudo nmcli con add type vlan con-name eno1.832 dev eno1 id 832 egress "0:0,1:0,2:0,3:0,4:0,5:0,6:6,7:0" |
|
|
sudo nmcli con add type vlan con-name eno1.832 dev eno1 id 832 egress "0:0,1:0,2:0,3:0,4:0,5:0,6:6,7:0" |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
## Future |
|
|
|
|
|
|
|
|
|
|
|
In the future, starting with Kernel 5.7, the "egress" netfilter hook might be sufficient and this patch could disappear. |
|
|
|
|
|
|
|
|
|
|
|
> Commit e687ad60af09 ("netfilter: add netfilter ingress hook after |
|
|
|
|
|
> handle\_ing() under unique static key") introduced the ability to |
|
|
|
|
|
> classify packets on ingress. |
|
|
|
|
|
> |
|
|
|
|
|
> Allow the same on egress. |
|
|
|
|
|
> |
|
|
|
|
|
> This hook is also useful for NAT46/NAT64, tunneling and filtering of |
|
|
|
|
|
> locally generated af\_packet traffic such as dhclient. |
|
|
|
|
|
|
|
|
|
|
|
Source: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8537f78647c072bdb1a5dbe32e1c7e5b13ff1258 |
|
|
|
|
|
|
|
|
|