Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #sets script dir as working dir
- cd "$(dirname "$0")"
- #gives the ip we bind transmission to the wireguard tunnel device so it works.
- ip addr add 192.168.168.168 dev oet1
- #killall transmissiond
- #sleep 2
- #unused transmission load command for killswitch
- #transmissiond --config-dir /opt/transmission/config
- #sleep 2
- #runs script to bind port but also setup firewall for port wireguard wipes the firewall rules when it restarts blocking the port.
- ./portforwardbind.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement