Lines Matching refs:pub1
86 pub1="$(pp wg pubkey <<<"$key1")"
109 peer "$pub1" \
164 n2 wg set wg0 peer "$pub1" endpoint 127.0.0.1:1
188 n2 wg set wg0 peer "$pub1" endpoint [::1]:1
198 n2 wg set wg0 peer "$pub1" endpoint 127.0.0.1:1
216 [[ $(n2 wg show wg0 endpoints) == "$pub1 127.212.121.99:9999" ]]
222 [[ $(n2 wg show wg0 endpoints) == "$pub1 [::1]:9998" ]]
246 n2 wg set wg0 private-key <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") a…
249 n2 wg set wg0 peer "$pub3" preshared-key <(echo "$psk") allowed-ips 192.168.241.1/32 peer "$pub1" r…
259 n2 wg set wg0 private-key <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") a…
342 [[ $(n2 wg show wg0 endpoints) == "$pub1 10.0.0.1:1" ]]
361 n2 wg set wg1 private-key <(echo "$key3") listen-port 5 peer "$pub1" allowed-ips 192.168.242.1/32
392 n2 wg set wg0 peer "$pub1" remove
461 n2 wg set wg0 peer "$pub1" endpoint 10.0.0.1:1
463 [[ $(n2 wg show wg0 endpoints) == "$pub1 10.0.0.1:1" ]]
464 n2 wg set wg0 peer "$pub1" endpoint [fd00:aa::1]:1
466 [[ $(n2 wg show wg0 endpoints) == "$pub1 [fd00:aa::1]:1" ]]
467 n2 wg set wg0 peer "$pub1" endpoint 10.0.0.2:1
469 [[ $(n2 wg show wg0 endpoints) == "$pub1 10.0.0.2:1" ]]
470 n2 wg set wg0 peer "$pub1" endpoint [fd00:aa::2]:1
472 [[ $(n2 wg show wg0 endpoints) == "$pub1 [fd00:aa::2]:1" ]]
479 n2 wg set wg0 peer "$pub1" endpoint 10.50.0.1:1
481 [[ $(n2 wg show wg0 endpoints) == "$pub1 10.50.0.1:1" ]]
508 [[ $(n2 wg show wg0 endpoints) == "$pub1 10.0.0.1:1" ]]
515 [[ $(n2 wg show wg0 endpoints) == "$pub1 10.0.0.3:1" ]]
576 n0 wg set wg0 peer "$pub1"
580 [[ $pub == "$pub1" && $allowedips == "(none)" ]]
643 n2 wg set wg0 peer "$pub1" endpoint [fd00:aa::1]:1