Hi all,
I've followed this guide to setup OpenVPN and IPFW.
My Transmission jail is up and running. My VPN (PIA) is configured and works with OpenVPN. My firewall is configured with ipfw and works (the connection is stopped if the VPN stops). My only concern now is to port forward a port to Transmission. I'm using FreeNAS 9.10, PIA for VPN and IPFW.
I tried to use this script to port forward a port to Transmission (as this script generates the same port each time it is executed, according to the author) . However, I get an error (command not found) when I try to execute the script. I've been reading a lot, specially this thread, and I followd Glorious1 advice to install bash, as you can see per code, but it's already installed. So, I don't know what to try now to get the script working. Could you please help me with this issue?
Thanks a lot!
I've followed this guide to setup OpenVPN and IPFW.
My Transmission jail is up and running. My VPN (PIA) is configured and works with OpenVPN. My firewall is configured with ipfw and works (the connection is stopped if the VPN stops). My only concern now is to port forward a port to Transmission. I'm using FreeNAS 9.10, PIA for VPN and IPFW.
I tried to use this script to port forward a port to Transmission (as this script generates the same port each time it is executed, according to the author) . However, I get an error (command not found) when I try to execute the script. I've been reading a lot, specially this thread, and I followd Glorious1 advice to install bash, as you can see per code, but it's already installed. So, I don't know what to try now to get the script working. Could you please help me with this issue?
Code:
root@transmission_1:/ # cd /usr/local/etc/openvpn root@transmission_1:/usr/local/etc/openvpn # ls 4b05e93c63684ea1a95518fcfbd8a6a04461b1d5 PIA ca.rsa.2048.crt crl.rsa.2048.pem openvpn.conf openvpn.zip password.txt port_forward.sh port_forward.sh.1 root@transmission_1:/usr/local/etc/openvpn # pkg install bash Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking integrity... done (0 conflicting) The most recent version of packages are already installed root@transmission_1:/usr/local/etc/openvpn # ./port_forward.sh testuname testpas sword ./port_forward.sh: Command not found. root@transmission_1:/usr/local/etc/openvpn #
Thanks a lot!
Last edited: