cap wrote:
So I changed the iptables port to a wide range and set the connection to just my client's private ip, and it works now.
Another option (if you're essentially locking things down to a specific client) is to set up a VPN, such as OpenVPN, from the client, and then let any VPN tunnel traffic through in general on the server side.
That way, you have a single client-side step of establishing the VPN, and after that you have full access to your server without requiring any further fiddling with any filters.
-- David