Skip to content
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

can't initialize iptables table `filter': Table does not exist #192

Open
fcwys opened this issue Mar 12, 2023 · 1 comment
Open

can't initialize iptables table `filter': Table does not exist #192

fcwys opened this issue Mar 12, 2023 · 1 comment

Comments

@fcwys
Copy link

fcwys commented Mar 12, 2023

INFO[0000]main.go:85 starting wireguard server on 0.0.0.0:51820   
INFO[0000]main.go:99 wireguard VPN network is 10.44.0.0/24        
FATA[0000]main.go:102 failed to set ip tables rule: running [/sbin/iptables -t filter -C WG_ACCESS_SERVER_FORWARD -s 10.44.0.0/24 -d 0.0.0.0/0 -j ACCEPT --wait]: exit status 3: modprobe: can't change directory to '/lib/modules': No such file or directory
iptables v1.8.3 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded. 
[root@localhost ~]# docker run   -it   --rm   --cap-add NET_ADMIN   --device /dev/net/tun:/dev/net/tun   -v wg-access-server-data:/data   -e "WG_ADMIN_PASSWORD=$WG_ADMIN_PASSWORD"   -e "WG_WIREGUARD_PRIVATE_KEY=$WG_WIREGUARD_PRIVATE_KEY"   -p 8601:8000/tcp   -p 8600:51820/udp   place1/wg-access-server
INFO[0000]main.go:85 starting wireguard server on 0.0.0.0:51820   
INFO[0000]main.go:99 wireguard VPN network is 10.44.0.0/24        
FATA[0000]main.go:102 failed to set ip tables rule: running [/sbin/iptables -t filter -C WG_ACCESS_SERVER_FORWARD -s 10.44.0.0/24 -d 0.0.0.0/0 -j ACCEPT --wait]: exit status 3: modprobe: can't change directory to '/lib/modules': No such file or directory
iptables v1.8.3 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
alexandre-abrioux pushed a commit to alexandre-abrioux/wg-access-server that referenced this issue Jun 20, 2023
…n/website/typescript-4.7.2

Bump typescript from 4.6.2 to 4.7.2 in /website
@GoliathLabs
Copy link

You may want to try out the fork over at https://github.com/freifunkMUC/wg-access-server.

If there still are any problems, feel free to open an issue over there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants