randomize exit node
This commit is contained in:
parent
18384ce42a
commit
191ec06b7c
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ def tse [exit_node?] {
|
||||||
}
|
}
|
||||||
|
|
||||||
def tsr [] {
|
def tsr [] {
|
||||||
tailscale status --json | from json | get Peer | transpose nodekey node | get node | filter {$in.Location?.Country == USA} | get TailscaleIPs | each {get 0} | select (random int 0..($in | length)) | tse $in.0;
|
tailscale status --json | from json | get Peer | transpose nodekey node | get node | filter {$in.Location?.Country == USA} | get TailscaleIPs | each {get 0} | select (random int 0..($in | length)) | tse $in.0
|
||||||
tailscale status
|
tailscale status
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue