Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Interface configuration not restart-proof #494

@bobvandevijver

Description

@bobvandevijver

Describe the bug

When the wg-portal container is restarted, the wireguard interface are brought up, but the configured post-up commands are not executed.

Expected behavior

The command should be executed.

Steps to reproduce

Have the following as a post-up command:

ip6tables -A FORWARD -i %i -j ACCEPT; ip6tables -A FORWARD -o %i -j ACCEPT; ip6tables -t nat -A POSTROUTING -o eth+ -j MASQUERADE

Restart the container and see that the interface is coming up and can be connected to, but the ip6tables are not added.

Screenshots

Additional context

  • Application version: v2.1.0-beta.1-112f6bf
  • Install method: docker

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions