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