Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add nftables support #52

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

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 <[email protected]>

@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