Skip to content

Unable to bring Wireguard tunnel up - iptablesrestore #1

@glahera

Description

@glahera

I am having trouble following your guide to bring up tunnel to Mullvad service. Everything worked fine until the step of turning on the tunnel. Here's its output:

# WG_QUICK_USERSPACE_IMPLEMENTATION=boringtun wg-quick up wg0
[#] ip link add wg0 type wireguard
RTNETLINK answers: Operation not supported
[!] Missing WireGuard kernel module. Falling back to slow userspace implementation.
[#] boringtun wg0 --disable-drop-privileges=1
BoringTun started successfully
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.68.51.35/32 dev wg0
[#] ip link set mtu 1412 up dev wg0
[#] wg set wg0 fwmark 51820
[#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820
[#] ip -4 rule add not fwmark 51820 table 51820
[#] ip -4 rule add table main suppress_prefixlength 0
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
[#] iptables-restore -n
iptables-restore v1.6.1: iptables-restore: unable to initialize table 'raw'

Error occurred at line: 1
Try 'iptables-restore -h' or 'iptables-restore --help' for more information.

Any idea?
Edit: Reformat output into code block

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