I seem to be moving backwards a little.
After starting off with
Code:
bash /port_forward.sh
I was getting
Code:
root@transmission_1:/ # bash /port_forward.sh
Transmission Port Forward 2017-01-20-13:25:02
nc: getaddrinfo: hostname nor servname provided, or not known
VPN connection down. Exiting.
root@transmission_1:/ #
Poking through the logs in the GUI, I found an event that happened just before I started trying to work on this, two lines as follows:
Code:
kernel: tun0: link state changed to DOWN
kernel: tun0: link state changed to DOWN
I've searched around the forum and haven't encountered a way to kick start the link. From what testing I have done, I can ping some domains from FreeNAS (google.com works fine, but something like
https://www.google.com does not), and I cannot ping _anything_ from inside the transmission jail.
Code:
root@transmission_1:/ # ping google.com
ping: cannot resolve google.com: Host name lookup failure
root@transmission_1:/ #
Code:
root@transmission_1:/ # ifconfig tun0
ifconfig: interface tun0 does not exist
root@transmission_1:/ #
So yeah. I would love to run the script that you provided, but it doesn't seem like it will do much since I can't reach the outside internet at all right now. The CheckMyIP torrent can't reach it's trackers or anything, so as far as I can tell everything has ground to a halt.