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

netfilter rules not created on clearlinux #12

Open
engel75 opened this issue Nov 1, 2019 · 1 comment
Open

netfilter rules not created on clearlinux #12

engel75 opened this issue Nov 1, 2019 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@engel75
Copy link

engel75 commented Nov 1, 2019

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

@engel75 engel75 added the bug Something isn't working label Nov 1, 2019
@suom1 suom1 added enhancement New feature or request and removed bug Something isn't working labels Nov 22, 2019
@suom1
Copy link
Member

suom1 commented Nov 22, 2019

This is not a bug, as netfilter and nftables are different things.
Could be a good feature to add support for netfilter also.

@suom1 suom1 added the good first issue Good for newcomers label May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants