blob: 293bbb661fa7a18202c59df49ce203bb59b7451f (
plain)
1
2
3
4
5
6
|
# at least `net.ipv4.ip_forward = 1` is needed for wireguard masquerade? to work. Without will result into can't ping ips, can't curl websites, browser can't visit websites
# ka seems has this as default, maybe arch linux cloud-init image has this as default?
# https://forums.rockylinux.org/t/wireguard-masquerade-wont-work/7752
# https://wiki.archlinux.org/title/Nftables#NAT_with_port_forwarding
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1
|