When I run 'netclient daemon &' I get the followin...
# client
f
When I run 'netclient daemon &' I get the following output
Copy code
[netclient] 2022-10-24 14:20:39 [netclientutils_linux.go-18] RunCmd(): error running command: wg-quick down /etc/netclient/config/nm-xxxxx.conf
[netclient] 2022-10-24 14:20:39 [netclientutils_linux.go-19] RunCmd(): [#] ip link delete dev nm-xxxxx
[#] `iptables -D FORWARD -i nm-xxxxx -j ACCEPT ; iptables -D FORWARD -o nm-xxxxx -j ACCEPT ;  ; iptables -t nat -D POSTROUTING -o br0 -j MASQUERADE ; `
/usr/bin/wg-quick: command substitution: line 295: syntax error near unexpected token `;'
/usr/bin/wg-quick: command substitution: line 295: `iptables -D FORWARD -i nm-xxxxx -j ACCEPT ; iptables -D FORWARD -o nm-xxxxx -j ACCEPT ;  ; iptables -t nat -D POSTROUTING -o br0 -j MASQUERADE ; '
is this something that breaks anything?
b
what version are you running>
f
Odd. This is with the 0.16.2 netclient binary on that machine
b
hmmm, will have to look into that ... workaround remove one semi-colon after the ACCEPT (.... -j ACCEPT ; : iptables ....) in POSTDOWN command in /etc/netclient/config/nm-xxxx.conf may be an extra semi-colon in the POST_DOWN section as well
f
OK, will try that
That solved it, thanks 😄