info about project and wireGuard

This commit is contained in:
Artur Kuś 2025-09-09 10:10:01 +02:00
parent 17e0c94d9b
commit 053a31416e
6 changed files with 13 additions and 11 deletions

View File

@ -26,6 +26,10 @@ pipeline {
git remote set-url origin https://${GIT_USER}:${GIT_PASS}@git.arti24.eu/arti24/${project}.git git remote set-url origin https://${GIT_USER}:${GIT_PASS}@git.arti24.eu/arti24/${project}.git
git fetch --prune origin git fetch --prune origin
git checkout -B main origin/main git checkout -B main origin/main
echo "--- Last commit for ${project} ---"
git log -1 --pretty=format:"Date: %cd%nMessage: %s"
echo "-------------------------------------"
""" """
} }
} else { } else {

1
vpn-wiregurad/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/wg0.conf

1
vpn-wiregurad/import-conf.sh Executable file
View File

@ -0,0 +1 @@
nmcli connection import type wireguard file wg0.conf

View File

@ -0,0 +1,5 @@
ping 10.13.13.1
ping 10.13.13.2
ping 10.0.0.65
ping svn.arti24.eu
ping 10.0.0.167

2
vpn-wiregurad/wg0UpDown.sh Executable file
View File

@ -0,0 +1,2 @@
sudo wg-quick up ./wg0.conf
sudo wg-quick down ./wg0.conf

View File

@ -1,11 +0,0 @@
[Interface]
Address = 10.13.13.2
PrivateKey = aHAaS8XPD7IE0EDh3Mz4eayjZF6RyFgIVcsFTRCic2U=
ListenPort = 51820
DNS = 10.13.13.1
[Peer]
PublicKey = kaFGhRV5S98kIeKz8VGorO/GZbogkkyr/9NcMmxCwks=
PresharedKey = lRyOeqKtAp7Vh747LTafGN/DNdP9SuoWuFmRBWxoi+o=
Endpoint =89.168.114.8:51820
AllowedIPs = 0.0.0.0/0, ::/0