Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

netfilter rules not created on clearlinux #12

@engel75

Description

@engel75

Describe the bug
I was able to build wireguard-ui on a ubuntu 18.04 system using buildah. But I would like to use clealinux to run it. Clearlinux got all kernel modules included and uses netfilter. But it looks like wireguard.ui does not create any netfilter rules.

To Reproduce
Steps to reproduce the behavior:

  1. Copy go binary to any clealinux VM (amd64)
  2. Start binary like ./wireguard-ui --listen-address=":80" --wg-endpoint="wireguard.xxxxxxx.xxx:51820" --nat-device="ens3" --data-dir="/srv" --log-level=debug
  3. check netfilter with nft tables list
  4. ping from client to any network on ens3 is not working

Expected behavior
There should be netfilter rules enabling NAT and MASQUARADE.

Screenshots

Device:

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions