Load ACL policy on headscale startup

This commit is contained in:
Juan Font committed 2021-07-04 13:24:05 +02:00
1 parent 401e6aec32
commit 202d6b506f
4 files changed
+18 -3

No files matched your search

+1 -1
View File
@@ -373,7 +373,7 @@ func (h *Headscale) getMapResponse(mKey wgkey.Key, req tailcfg.MapRequest, m Mac
DNS: []netaddr.IP{},
SearchPaths: []string{},
Domain: "foobar@example.com",
PacketFilter: tailcfg.FilterAllowAll,
PacketFilter: *h.aclRules,
DERPMap: h.cfg.DerpMap,
UserProfiles: []tailcfg.UserProfile{},
}