Hot answers tagged port-forwarding
That's not possible. Packets generated by local processes are not involved in the forwarding plan. As a consequence you won't be able to use PREROUTING and FORWARD chains in the tables locally generated packets will go through, but only OUTPUT (in raw/mangle/nat/filter tables) and POSTROUTING (in mangle/nat tables) chains while the routing decision is ...
You could let one SSH server listen on a non-standard port (e.g. 51234) and then SSH to it by passing the "-p 51234" option to your SSH client. Man page for linux SSH client: http://www.freebsd.org/cgi/man.cgi?query=ssh
I had a feeling this was simple, but perhaps this will help someone. I just needed to add an exception to my security group (ie my firewall) through my AWS console. I have come across this exact scenario several times before, after spending an hour plus checking my server's firewall. So I hope this will be a reminder to myself and others to check other ...
Only top voted, non community-wiki answers of a minimum length are eligible