Wireguard to go

This commit is contained in:
Maurice
2025-09-24 13:29:25 +02:00
parent c49ffa1769
commit 12681bd7e2
11 changed files with 94 additions and 40 deletions

View File

@@ -11,4 +11,11 @@ modprobe -v iptable_nat #if NAT is used
rc-update add iptables
rc-update add ip6tables
rc-service iptables start
rc-service ip6tables start
rc-service ip6tables start
# In the global policy, LAN rules are omitted, as we are behind a NAT router.
# If not, add this to global.policy.json:
# "LAN": { "iface": "eth1" },
# ...
# { "in": "LAN", "action": "accept" },
# { "out": "LAN", "action": "accept" },

View File

@@ -11,7 +11,7 @@ modprobe tun
echo tun >> /etc/modules
echo podman:100000:65536 > /etc/subuid
echo podman:100000:65536 > /etc/subgid
doas su -c "podman system migrate" podman
su -c "podman system migrate" podman
# Get rid of podman compose docker warning
touch /etc/containers/nodocker