Place1 / wg-access-server

An all-in-one WireGuard VPN solution with a web ui for connecting devices
MIT License
1.78k stars 222 forks source link

Not working on Synology DSM #105

Open ares1977 opened 3 years ago

ares1977 commented 3 years ago

Synology NAS devices run a customized Linux distro called DSM. When executing wg-access-server docker container on DSM I get this error:

time="2021-02-07T12:09:39Z" level=fatal msg="failed to set ip tables rule: running [/sbin/iptables -t filter -C WG_ACCESS_SERVER_FORWARD -s 10.44.0.0/24 -j REJECT --wait]: exit status 2: iptables v1.8.3 (legacy): Couldn't load target ``REJECT':No such file or directory\n\nTry iptables -h' or 'iptables --help' for more information.\n" file="main.go:102"

This is caused by DSM iptables lacking the REJECT target kernel module.

SlavikCA commented 3 years ago

Yes, same issue with my Synology DS1621xs+ DSM 7.0.1

Gh-mean commented 2 years ago

Yes, same issue with my Synology DS3617xs DSM 6.2.2379