diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-discuss/2012-August/008646.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-discuss/2012-August/008646.html')
-rw-r--r-- | zarb-ml/mageia-discuss/2012-August/008646.html | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/2012-August/008646.html b/zarb-ml/mageia-discuss/2012-August/008646.html new file mode 100644 index 000000000..06fc79fdc --- /dev/null +++ b/zarb-ml/mageia-discuss/2012-August/008646.html @@ -0,0 +1,109 @@ +<!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=%3C50410F16.4030907%40kde.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="008641.html"> + <LINK REL="Next" HREF="008647.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-discuss] Setting up a port forward</H1> + <B>Anne Wilson</B> + <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Setting%20up%20a%20port%20forward&In-Reply-To=%3C50410F16.4030907%40kde.org%3E" + TITLE="[Mageia-discuss] Setting up a port forward">annew at kde.org + </A><BR> + <I>Fri Aug 31 21:23:02 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="008641.html">[Mageia-discuss] Setting up a port forward +</A></li> + <LI>Next message: <A HREF="008647.html">[Mageia-discuss] Setting up a port forward +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#8646">[ date ]</a> + <a href="thread.html#8646">[ thread ]</a> + <a href="subject.html#8646">[ subject ]</a> + <a href="author.html#8646">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +On 31/08/12 16:28, AL13N wrote: +><i> Op vrijdag 31 augustus 2012 12:41:37 schreef Anne Wilson: I need to +</I>><i> set up ssh in such a way that it comes in on a high port, say 5122 +</I>><i> which is forwarded to 22 - or otherwise to have ssh listen on 5122. +</I>><i> I assume this is beyond MCC, and will entail editing iptables. This +</I>><i> is not something I'm familiar with. Can someone please advise me? +</I>><i> +</I>><i> Anne +</I>><i> +</I>><i> better to put it in shorewall: +</I>><i> +</I>><i> use the /etc/shorewall/rules file... on top of the file (and man +</I>><i> shorewall- rules) is documented... +</I> +I'd love to - but I'm not having much success. After much reading of +man pages (largely gobbledegook if you don't already know it) and +tutorials from +<A HREF="http://runtime.bordeaux.inria.fr/oaumage/oa/Teaching/ARSA_06/Shorewall/">http://runtime.bordeaux.inria.fr/oaumage/oa/Teaching/ARSA_06/Shorewall/</A> +(much +easier to understand) I ended up adding lines like + +DNAT net loc:192.168.0.40 tcp 143 5143 +DNAT net loc:192.168.0.40 tcp 22 5122 + +An attempt to restart seems to imply that I can't forward two +addresses like this, so I assume I'm on the wrong track altogether. + +Before adding those lines I used to get + +ssh: connect to host 192.168.0.40 port 5122: Connection refused + +Now it just hangs. + +Depressing :-( This worked so easily and perfectly with the old, +unreliable LinkSys router. Now I have to find a way to configure it +on local firewalls, and frankly I'm simply not up to it. + +Anne +- -- +Need KDE help? Try +<A HREF="http://userbase.kde.org">http://userbase.kde.org</A> or +<A HREF="http://forum.kde.org">http://forum.kde.org</A> +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) +Comment: Using GnuPG with Mozilla - <A HREF="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</A> + +iEYEARECAAYFAlBBDw4ACgkQj93fyh4cnBcPpACZAQ4Xgz+A/UDS4uKjPT3KkEoO +HNIAn0nQZ4zE0bg2ODI5BhxbFZckrXC3 +=8dCh +-----END PGP SIGNATURE----- +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="008641.html">[Mageia-discuss] Setting up a port forward +</A></li> + <LI>Next message: <A HREF="008647.html">[Mageia-discuss] Setting up a port forward +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#8646">[ date ]</a> + <a href="thread.html#8646">[ thread ]</a> + <a href="subject.html#8646">[ subject ]</a> + <a href="author.html#8646">[ 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> |