This commit is contained in:
Nico Schottelius 2023-07-29 17:14:51 +02:00
parent 815a883c89
commit c19332486f
2 changed files with 14 additions and 2 deletions

View file

@ -15,6 +15,18 @@ case "$conn" in
tmux split-window -t ping_rm -v ping 2a0f:98c0:1::3
tmux attach -t ping_rm
;;
rmapu)
tmux new-session -s ping_rm -d ping 2a0f:98c0:1::15
tmux split-window -t ping_rm -h ping 2a0f:98c0:2::15
tmux split-window -t ping_rm -h ping 2a0f:98c0:9::15
tmux select-layout -t ping_rm even-horizontal
tmux split-window -t ping_rm -v ping 2a0f:98c0:9::16
tmux select-pane -t ping_rm -L
tmux split-window -t ping_rm -v ping 2a0f:98c0:2::16
tmux select-pane -t ping_rm -L
tmux split-window -t ping_rm -v ping 2a0f:98c0:1::16
tmux attach -t ping_rm
;;
rmv6)
tmux new-session -s rmv6 -d ping 2a0f:98c0:7::1
tmux split-window -t rmv6 -h ping 2a0f:98c0:3::1

4
vpn.sh
View file

@ -38,12 +38,12 @@ case "$1" in
sudo wg-quick up rmr4n2
sudo wg-quick up rmr6n2
;;
sun2)
sun)
sudo wg-quick up rmr1n3
sudo wg-quick up rmr3n3
sudo wg-quick up rmr5n3
;;
sun)
sun2)
sudo wg-quick up rmr2n3
sudo wg-quick up rmr4n3
sudo wg-quick up rmr6n3