If I connect to an openvpn server on port 1194 from Tunnelblick on a Mac (OSX 10.10), how can I ensure that the port used by Transmission (e.g. 66887) will be open for incoming connections?
Current setup:
Connected to a Wifi Hotspot (out of my control, no access to router settings)
Connected to OpenVPN server (I have full control over the config)
Transmission 'works' but is slow and the port is showing as closed in the Transmission network preferences. The openvpn VPN connection works normally for all standard http traffic.
Openvpn is running on a remote Ubuntu server. I tried using ufw to open the above port but this had no effect and I suspect that there is a deeper network config required.
openvpn version is OpenVPN 2.3.2 x86_64.
Is it possible to forward port 66887 in this scenario or do I need access to the local LAN router for this to work?
I tried changing the bind address – BindAddressIPv4 – for Transmission via the preferences plist file but either did this incorrectly or it made no difference.
Best Answer
Surprised nobody noticed, but 66887 isn't a valid port number.
https://stackoverflow.com/questions/113224/what-is-the-largest-tcp-ip-network-port-number-allowable-for-ipv4#113228
The valid range for ports is 0-65535.
Because you're specifying the invalid port 66887, most operating systems will truncate that to 1351:
Or in C: