[Mageia-discuss] Setting up a port forward

AL13N alien at rmail.be
Fri Aug 31 17:28:03 CEST 2012


Op vrijdag 31 augustus 2012 12:41:37 schreef Anne Wilson:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I need to set up ssh in such a way that it comes in on a high port,
> say 5122 which is forwarded to 22 - or otherwise to have ssh listen on
> 5122.  I assume this is beyond MCC, and will entail editing iptables.
>  This is not something I'm familiar with.  Can someone please advise me?
> 
> Anne
> - --
> Need KDE help? Try
> http://userbase.kde.org or
> http://forum.kde.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAlBAotgACgkQj93fyh4cnBdvGQCfVekp2kR9mF1CRdKmTbFeGcce
> 5U8An3o2acASf0DHzLLMvl9EHLyiHuD5
> =fGe5
> -----END PGP SIGNATURE-----

better to put it in shorewall:

use the /etc/shorewall/rules file... on top of the file (and man shorewall-
rules) is documented...


More information about the Mageia-discuss mailing list