Skip to content
Snippets Groups Projects
Commit fd94483b authored by Alexander Werner's avatar Alexander Werner
Browse files

vpn.sh: set -v

parent 6c862c1e
No related branches found
No related tags found
No related merge requests found
......@@ -31,8 +31,6 @@ REMOTE_IP=$1
ssh -i $SSH_KEY -o StrictHostKeyChecking=no ubuntu@${REMOTE_IP} "sudo ip link del gretap1 2> /dev/null; sudo modprobe fou; sudo ip fou add port 52323 gue; sudo ip link add name gretap1 type gretap local ${REMOTE_IP} remote ${LOCAL_IP} ignore-df nopmtudisc encap gue encap-sport auto encap-dport 52323 && sudo ip add add 192.168.186.11/24 dev gretap1 && sudo ip link set gretap1 mtu 1500 && sudo ip link set gretap1 master bridge && sudo ip link set gretap1 promisc on&& sudo ip link set up gretap1 && echo Remote ready"
# set up local vpn
set -v
set -e
sudo ip link del gretap1 2> /dev/null || /bin/true
sudo modprobe fou
sudo ip fou del port 52323 gue 2> /dev/null || /bin/true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment