Compare commits

13 Commits

Author SHA1 Message Date
andonome 98a2a30961 add graph-easy dependency 2025-03-25 22:04:21 +01:00
andonome 6fc42cc949 note recutils package required 2025-03-25 21:46:47 +01:00
andonome 991f4bed90 add record info to network.rec 2025-03-25 21:13:01 +01:00
andonome 9051d524f6 embiggen recutils examples 2025-03-25 21:03:40 +01:00
andonome 703d0d01e8 create check target 2025-03-22 14:23:44 +01:00
andonome 53b4d0e041 autogenerate map from network info 2025-03-22 14:06:24 +01:00
andonome fe14e0aacc give example of inserting record 2025-03-21 02:11:49 +01:00
andonome ed9ef924d3 note recutils example command 2025-03-21 01:51:31 +01:00
andonome e0be97277a fix container and host names 2025-03-20 23:38:11 +01:00
andonome 13253824c6 rework routers 2025-03-20 22:35:49 +01:00
andonome 26ffee17be names and places 2025-03-20 22:29:28 +01:00
andonome f60153aca6 expand network db 2025-03-20 22:20:14 +01:00
andonome 7d66d5c55e basic network db 2025-03-20 22:05:41 +01:00
5 changed files with 1 additions and 70 deletions
-2
View File
@@ -1,5 +1,3 @@
--- ---
VMID: 114 VMID: 114
--- ---
[wiki page](https://wiki.dmz.rs/en/sysadmin/ssh)
-58
View File
@@ -1,58 +0,0 @@
---
VMID: 103
---
[Wireguard VPN quickstart](https://www.wireguard.com/quickstart)
Check dmzadmin for `wireguard.gpg` to know who to contact for access
---
### Server config
New user/client needs to provide their wireguard `publickey` and new ip on the network needs to be assigned (`x`)
add next lines to the bottom of the conf file - `/etc/wireguard/wg0.conf`
```conf
[Peer]
PublicKey = <client_public_key>
AllowedIPs = 192.168.164.x/32
```
---
### Client config
client conf example
`x` is the assinged on the server as peer
```conf
[Interface]
Address = 192.168.164.x/32
DNS = 1.1.1.1
MTU = 1420
SaveConfig = true
ListenPort = 51820
FwMark = 0xca6c
PrivateKey = <your_private_wg_key>
[Peer]
PublicKey = JP2FTHLUujkevz1kUymciLImsx1OX9ViUko7oPAIoiA=
AllowedIPs = 192.168.164.0/24, 192.168.1.0/24
Endpoint = 77.105.27.232:51820
PersistentKeepalive = 21
```
---
Command to resolve ip clashing with current and wireguard network
```shell
ip route add <ip> dev <wg0>
```
- `ip` you want to resove -> for wireguard vm 192.168.1.10
- `wg0` name of the wireguard conf
-5
View File
@@ -1,5 +0,0 @@
---
VMID: 100
---
[wiki page](https://wiki.dmz.rs/en/sysadmin/ssh)
-5
View File
@@ -1,5 +0,0 @@
#!/bin/bash
echo $(shuf shared/english.txt | head) | sed "s/ //g"
+1
View File
@@ -56,6 +56,7 @@ Now all the files have 'read, write, and execute', but only for `$USER`.
Host soft Host soft
HostName soft.dmz.rs HostName soft.dmz.rs
Port 2222 Port 2222
User ghost
IdentityFile ~/.ssh/id rsa IdentityFile ~/.ssh/id rsa
Host dmz Host dmz
HostName dmz.rs HostName dmz.rs