Skip to content

Conversation

cubercsl
Copy link

@cubercsl cubercsl commented Jan 22, 2023

nftables supports cgroupv2 now, this PR allows users to choose to use nft rules to set up tproxy.

Since nft does not support --socket-exists, nat rules for enable_gateway are not yet implemented.

@CoelacanthusHex
Copy link

Tested-by: Coelacanthus <CoelacanthusHex@gmail.com>

@himekifee
Copy link

Any further update on enable_gateway?

@CoelacanthusHex
Copy link

Any further update on enable_gateway?

It need nftables support socket-exists check.

@himekifee
Copy link

Can't we use the old ctstat trick or the new socket transparent nft socket expression?

@sixg0000d
Copy link
Contributor

Tested on Fedora 38, works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants