nuno revisou este gist 1 month ago. Ir para a revisão
1 file changed, 20 insertions
gistfile1.txt(arquivo criado)
| @@ -0,0 +1,20 @@ | |||
| 1 | + | This will: | |
| 2 | + | 1. Create /etc/wireguard/.wgctl/config/ and /etc/wireguard/.wgctl/data/ | |
| 3 | + | 2. Convert wgctl.conf → wgctl.json | |
| 4 | + | 3. Move data files to data/ | |
| 5 | + | ||
| 6 | + | Would create: /etc/wireguard/.wgctl/config/ | |
| 7 | + | Would create: /etc/wireguard/.wgctl/data/ | |
| 8 | + | [dry-run] wgctl.conf → config/wgctl.json | |
| 9 | + | [dry-run] hosts.json → data/hosts.json | |
| 10 | + | [dry-run] services.json → data/services.json | |
| 11 | + | [dry-run] subnets.json → data/subnets.json | |
| 12 | + | [dry-run] policies.json → data/policies.json | |
| 13 | + | [dry-run] rules/ → data/rules/ | |
| 14 | + | [dry-run] identities/ → data/identities/ | |
| 15 | + | [dry-run] groups/ → data/groups/ | |
| 16 | + | [dry-run] blocks/ → data/blocks/ | |
| 17 | + | [dry-run] meta/ → data/meta/ | |
| 18 | + | [dry-run] peer-history/ → data/peer-history/ | |
| 19 | + | ||
| 20 | + | => WARN: ⚠️ 🔒 Dry run — no changes made | |
Próximo
Anterior