diff --git a/hosts/vps/configuration.nix b/hosts/vps/configuration.nix index eed8752..e1edce6 100644 --- a/hosts/vps/configuration.nix +++ b/hosts/vps/configuration.nix @@ -12,6 +12,7 @@ let homeServer = config.my.ips.wg-server; wgWorkstation = config.my.ips.wg-workstation; wgFriend1 = config.my.ips.wg-friend1; + wgFriend6 = config.my.ips.wg-friend6; wgGuest1 = config.my.ips.wg-guest1; wgGuest2 = config.my.ips.wg-guest2; }; @@ -115,6 +116,7 @@ in iifname "${wgInterface}" ip saddr ${subnets.wgFriends} ip daddr ${ips.homeServer}/32 icmp type echo-request accept iifname "${wgInterface}" ip saddr ${ips.wgFriend1}/32 ip daddr ${ips.homeServer}/32 tcp dport ${portsStr.stash} accept + iifname "${wgInterface}" ip saddr ${ips.wgFriend6}/32 ip daddr ${ips.homeServer}/32 tcp dport ${portsStr.stash} accept iifname "${wgInterface}" ip saddr ${subnets.wgGuests} ip daddr ${ips.homeServer}/32 tcp dport { ${portsStr.stash}, ${portsStr.jellyfin}, ${portsStr.audiobookshelf}, ${portsStr.kavita} } accept iifname "${wgInterface}" ip saddr ${subnets.wgGuests} ip daddr ${ips.homeServer}/32 icmp type echo-request accept