Skip to content

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

@fcwys

Description

@fcwys
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions