moving up

This commit is contained in:
godot 2024-07-24 02:31:09 +02:00
parent d68669ffaf
commit ec0c627d13
2 changed files with 19 additions and 13 deletions

View File

@ -0,0 +1,4 @@
## To DO
- [ ] Set statick IP's
- [ ] Caddy reverse proxy for services
- [ ] Setup Gates (MC, NarniePVE)

View File

@ -1,4 +1,3 @@
// Example/default ACLs for unrestricted connections.
{
// Define the tags which can be applied to devices and by which users.
"tagOwners": {
@ -14,14 +13,13 @@
// Tailscale IP addresses, and subnet ranges.
"acls": [
// Allow all connections.
// Comment this section out if you want to define specific restrictions.
// {"action": "accept", "src": ["*"], "dst": ["*:*"]},
// Random can
{"action": "accept", "src": ["tag:Random"], "dst": ["*:*"]},
// Host can
{"action": "accept", "src": ["tag:Host"], "dst": ["tag:Service":*]},
{"action": "accept", "src": ["tag:Host"], "dst": ["tag:Service:*"]},
// Hidden serves
{"action": "accept", "src": ["*"], "dst": ["tag:Hidden:*"]},
@ -57,20 +55,24 @@
// Allow all users to SSH into their own devices in check mode.
// Comment this section out if you want to define specific restrictions.
{
"action": "check",
"src": ["autogroup:member"],
"dst": ["autogroup:self"],
"action": "accept",
"src": ["tag:Random"],
"dst": ["autogroup:taged"],
"users": ["autogroup:nonroot", "root"],
},
],
// Test access rules every time they're saved.
// "tests": [
// {
// "src": "alice@example.com",
// "accept": ["tag:example"],
// "deny": ["100.101.102.103:443"],
// },
// ],
"tests": [
{
"src": "tag:Bridge",
"accept": ["tag:Random:80"],
"deny": ["tag:Host:80"],
},
{
"src": "tag:Random",
"accept": ["tag:Bridge:80", "tag:Host:80"],
},
],
}