Compare commits

...

2 Commits

Author SHA1 Message Date
5bba4c651f better test 2024-07-24 08:40:04 +02:00
2279d5bfc2 first good one 2024-07-24 08:37:56 +02:00

View File

@ -23,7 +23,6 @@
// Hidden serves
{"action": "accept", "src": ["*"], "dst": ["tag:Hidden:*"]},
],
// Define postures that will be applied to all rules without any specific
@ -52,12 +51,10 @@
// Define users and devices that can use Tailscale SSH.
"ssh": [
// Allow all users to SSH into their own devices in check mode.
// Comment this section out if you want to define specific restrictions.
{
"action": "accept",
"src": ["tag:Random"],
"dst": ["autogroup:taged"],
"dst": ["tag:Host", "tag:Service"],
"users": ["autogroup:nonroot", "root"],
},
],
@ -66,7 +63,7 @@
"tests": [
{
"src": "tag:Bridge",
"accept": ["tag:Random:80"],
"accept": ["tag:Hidden:80"],
"deny": ["tag:Host:80"],
},
{
@ -75,4 +72,3 @@
},
],
}