Hi Well, You can use whatever port You want, just put that into /etc/ssh/sshd_config, and restart sshd. But be sure not to use some port that is "reserved" by another application / server. Default 22 is okay... To use port-forwarding, there is nothing more to do.. By default, port forwarding is active with SuSE 8.0. Jaska. On Tuesday 03 December 2002 18:15, Tom Nielsen wrote:
Thanks for the information. Quick question: does it matter what port I use if I'm SSH'ing in? Whoops, one more: is there anything I should do on my SuSE box?
Thanks for the information!!!
Tom
On Tue, 2002-12-03 at 15:08, jaakko tamminen wrote:
Hi
To forward a port with ipchains use:
"ipmasqadm portfw -a -P tcp -L s.s.s.s <port> -R d.d.d.d [<dest-port>]"
replace s.s.s.s with source-ip, usually the ext-interface IP, and d.d.d.d with the SuSE box IP.
The last IP can be used to change the port number too.. but not needed, if the port stays the same.
Hope this helps.
Jaska.
On Tuesday 03 December 2002 02:34, Tom Nielsen wrote:
On Mon, 2002-12-02 at 16:12, Count Schemula wrote:
--- Tom Nielsen <tom@neuro-logic.com> wrote:
I'm not using SuSEfirewall. My firewall box is a stand-alone Red Hat which I bought 2 years ago. It's running IPChains. My work box (Suse 8.0) is not running a firewall because it's behind the firewall box.
Thoughts?
Wouldn't you do the forwarding on the redhat box?
Yes. I just don't know the proper commands.
whatever software your using on SuSE just needs the port its using forwarded, and calls to the port forwarded in?
I just want to ssh into my box which is behind the firewall box. I can do a 2-part ssh.... ssh into firewall then ssh into my box, but transfering files becomes a bit hard.