summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/2012-August/008646.html
blob: 06fc79fdc2af0fd0e742ddc7cbe2525dc5c66ae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
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:
&gt;<i> Op vrijdag 31 augustus 2012 12:41:37 schreef Anne Wilson: I need to
</I>&gt;<i> set up ssh in such a way that it comes in on a high port, say 5122
</I>&gt;<i> which is forwarded to 22 - or otherwise to have ssh listen on 5122.
</I>&gt;<i> I assume this is beyond MCC, and will entail editing iptables. This
</I>&gt;<i> is not something I'm familiar with.  Can someone please advise me?
</I>&gt;<i> 
</I>&gt;<i> Anne
</I>&gt;<i> 
</I>&gt;<i> better to put it in shorewall:
</I>&gt;<i> 
</I>&gt;<i> use the /etc/shorewall/rules file... on top of the file (and man
</I>&gt;<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>