bryopsida / oci-wireguard

A multi-arch alpine based container image for wireguard
MIT License
2 stars 4 forks source link

iptables: command not found #18

Closed klauserber closed 11 months ago

klauserber commented 11 months ago

Hello, the container does not work anymore since alpine 3.19:

[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.52.18.1/24 dev wg0
[#] ip link set mtu 1380 up dev wg0
[#] ip -4 route add 10.6.6.0/24 dev wg0
[#] wg set wg0 private-key /etc/wireguard/privatekey && iptables -t nat -A POSTROUTING  -o eth0 -j MASQUERADE
/usr/bin/wg-quick: line 295: iptables: command not found

The last working Tag is: 20231207-bcfa2df

bryopsida commented 11 months ago

Thanks for reporting this!