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

Can't write correct rules for Debian 10 nft #402

Open
lokapal opened this issue Nov 6, 2023 · 1 comment
Open

Can't write correct rules for Debian 10 nft #402

lokapal opened this issue Nov 6, 2023 · 1 comment

Comments

@lokapal
Copy link

lokapal commented Nov 6, 2023

Debian 10, nft, wireguard manager is the last one, obtained by

curl https://raw.githubusercontent.com/complexorganizations/wireguard-manager/main/wireguard-manager.sh --create-dirs -o /usr/local/bin/wireguard-manager.sh

The result is the error:

Error: NAT is only supported for IPv4/IPv6
add rule inet wireguard-wg0 POSTROUTING ip saddr 10.0.0.0/8 oifname eth0 masquerade
                                                                         ^^^^^^^^^^
[#] ip link delete dev wg0

Kernel: Linux 5.10.0-0.deb10.21-amd64 #1 SMP Debian 5.10.162-1~deb10u1 (2023-02-14) x86_64 GNU/Linux
lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
nft -v
nftables v0.9.0 (Fearless Fosdick)

Any advices?

@lokapal lokapal changed the title Can't write correct rules for Debian !)/тае Can't write correct rules for Debian 10 Nov 6, 2023
@lokapal lokapal changed the title Can't write correct rules for Debian 10 Can't write correct rules for Debian 10 nft Nov 6, 2023
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

No branches or pull requests

2 participants
@lokapal and others