diff options
Diffstat (limited to 'zarb-ml/mageia-discuss/2012-August/008647.html')
-rw-r--r-- | zarb-ml/mageia-discuss/2012-August/008647.html | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/2012-August/008647.html b/zarb-ml/mageia-discuss/2012-August/008647.html new file mode 100644 index 000000000..a5f14a3e1 --- /dev/null +++ b/zarb-ml/mageia-discuss/2012-August/008647.html @@ -0,0 +1,89 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-discuss] Setting up a port forward + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Setting%20up%20a%20port%20forward&In-Reply-To=%3C504113A2.8040706%40mageia.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="008646.html"> + <LINK REL="Next" HREF="008639.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-discuss] Setting up a port forward</H1> + <B>Thomas Backlund</B> + <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Setting%20up%20a%20port%20forward&In-Reply-To=%3C504113A2.8040706%40mageia.org%3E" + TITLE="[Mageia-discuss] Setting up a port forward">tmb at mageia.org + </A><BR> + <I>Fri Aug 31 21:42:26 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="008646.html">[Mageia-discuss] Setting up a port forward +</A></li> + <LI>Next message: <A HREF="008639.html">[Mageia-discuss] Where ara the isos for mga3 alpha1? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#8647">[ date ]</a> + <a href="thread.html#8647">[ thread ]</a> + <a href="subject.html#8647">[ subject ]</a> + <a href="author.html#8647">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>31.08.2012 14:41, Anne Wilson skrev: +><i> -----BEGIN PGP SIGNED MESSAGE----- +</I>><i> Hash: SHA1 +</I>><i> +</I>><i> I need to set up ssh in such a way that it comes in on a high port, +</I>><i> say 5122 which is forwarded to 22 - or otherwise to have ssh listen on +</I>><i> 5122. I assume this is beyond MCC, and will entail editing iptables. +</I>><i> This is not something I'm familiar with. Can someone please advise me? +</I>><i> +</I> +Why not simply have sshd listen on 2 ports and skip need for port +forwarding? + + +Just uncomment the "Port 22" line in /etc/ssh/sshd_config +and add a second line with the second port + +so it would look like + +Port 22 +Port 5122 + +and restart sshd + +with this all access that expects port 22 will continue to work, +and you can also access it through the new 5122 port. + +Simple and effective, and no portforwarding needed. + +-- +Thomas + + + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="008646.html">[Mageia-discuss] Setting up a port forward +</A></li> + <LI>Next message: <A HREF="008639.html">[Mageia-discuss] Where ara the isos for mga3 alpha1? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#8647">[ date ]</a> + <a href="thread.html#8647">[ thread ]</a> + <a href="subject.html#8647">[ subject ]</a> + <a href="author.html#8647">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss +mailing list</a><br> +</body></html> |