|
|
@ -161,6 +161,12 @@ curl -o /etc/systemd/system/wg-netns@.service https://raw.githubusercontent.com/
|
|
|
|
systemctl enable --now wg-netns@example.service
|
|
|
|
systemctl enable --now wg-netns@example.service
|
|
|
|
~~~
|
|
|
|
~~~
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If you are using SELinux, you have to change the SELinux context label, e.g. to `bin_t`, otherwise the service will not find the executable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
~~~ bash
|
|
|
|
|
|
|
|
chcon -t bin_t /root/.local/bin/wg-netns
|
|
|
|
|
|
|
|
~~~
|
|
|
|
|
|
|
|
|
|
|
|
### Podman Integration
|
|
|
|
### Podman Integration
|
|
|
|
|
|
|
|
|
|
|
|
A podman container can be easily attached to a network namespace created by `wg-netns`.
|
|
|
|
A podman container can be easily attached to a network namespace created by `wg-netns`.
|
|
|
|