-
Notifications
You must be signed in to change notification settings - Fork 212
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
error #339
Comments
Ok., fresh install:
|
Ubuntu 18.04
cat /etc/wireguard/wg0.conf
PostUp = sysctl --write net.ipv4.ip_forward=1; sysctl --write net.ipv6.conf.all.forwarding=1; nft add table inet wireguard-wg0; nft add chain inet wireguard-wg0 wireguard_chain {type nat hook postrouting priority srcnat;}; nft add rule inet wireguard-wg0 wireguard_chain oifname ens3 masquerade
root@vps:~# sysctl --write net.ipv4.ip_forward=1; sysctl --write net.ipv6.conf.all.forwarding=1; nft add table inet wireguard-wg0; nft add chain inet wireguard-wg0 wireguard_chain {type nat hook postrouting priority srcnat;}; nft add rule inet wireguard-wg0 wireguard_chain oifname ens3 masquerade
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1
Error: syntax error, unexpected string, expecting - or number
add chain inet wireguard-wg0 wireguard_chain {type nat hook postrouting priority srcnat;}
^^^^^^
Error: NAT is only supported for IPv4/IPv6
add rule inet wireguard-wg0 wireguard_chain oifname ens3 masquerade
^^^^^^^^^^
The text was updated successfully, but these errors were encountered: