Skip to content

Wg0 can't start - Table does not exist (do you need to insmod?) Perhaps ip6tables or your kernel needs to be upgraded. #130

@DJIronic

Description

@DJIronic

Describe the bug
I wanted to change an endpoint domain. I was unable to edit tge wg0, so I deleted in and created it again with the new domain on ednpoint. But now my wg0 server will not start.

To Reproduce
Steps to reproduce the behavior:
Add and remove a server and try to start it.

Platform:

  • OS: Docker on Ubuntu 20.04.4 LTS
  • Chrome with Adblock disabled
  • I pulled the newst image today a part of debug process

Stacktrace/error output
Log form docker container when I click the start button:
wg-manager | b"[#] ip link add wg0 type wireguard\n[#] wg setconf wg0 /dev/fd/63\n[#] ip -4 address add 10.0.200.1/24 dev wg0\n[#] ip -6 address add fd42:42:42::1/64 dev wg0\n[#] ip link set mtu 1420 up dev wg0\n[#] iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE;ip6tables -A FORWARD -i wg0 -j ACCEPT; ip6tables -t nat -A POSTROUTING -o eth0 -j MASQUERADE;\nmodprobe: FATAL: Module ip6_tables not found in directory /lib/modules/5.4.0-104-generic\nip6tables v1.8.4 (legacy): can't initialize ip6tables table 'filter': Table does not exist (do you need to insmod?)\nPerhaps ip6tables or your kernel needs to be upgraded.\n[#] ip link delete dev wg0\n"

Additional context
I tried disabling IPv6, asi I dont have it on the server at all.

Screenshots
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    TODObugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions