<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; SSH на MandrivaOne 2010]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=8476&amp;type=atom" />
	<updated>2010-11-24T01:50:21Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=8476</id>
		<entry>
			<title type="html"><![CDATA[Re: SSH на MandrivaOne 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=115725#p115725" />
			<content type="html"><![CDATA[<p>внешний IP есть, динамический, поэтому пользуюсь сервисом DynDNS</p>]]></content>
			<author>
				<name><![CDATA[Logof]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4838</uri>
			</author>
			<updated>2010-11-24T01:50:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=115725#p115725</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: SSH на MandrivaOne 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=115686#p115686" />
			<content type="html"><![CDATA[<p>т.е. получается, что нужно войти по SSH на компьютер с удалённой машины через интернет?<br />Нужн реальный IP адрес, его выдают провайдеры. Возможно у Вас уже есть такой адрес, уточните у своего провайдера.</p>]]></content>
			<author>
				<name><![CDATA[vint]]></name>
				<uri>https://linuxforum.ru/profile.php?id=308</uri>
			</author>
			<updated>2010-11-23T19:17:09Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=115686#p115686</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: SSH на MandrivaOne 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=115272#p115272" />
			<content type="html"><![CDATA[<p>да, в локальной сети все работает</p>]]></content>
			<author>
				<name><![CDATA[Logof]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4838</uri>
			</author>
			<updated>2010-11-22T15:04:41Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=115272#p115272</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: SSH на MandrivaOne 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=115194#p115194" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Logof пишет:</cite><blockquote><p>не совсем</p></blockquote></div><p>а напрямую работает?<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">doc@bx:~/soft/slackware$ ssh bx<br />The authenticity of host &#039;[bx]:53276 ([127.0.0.1]:53276)&#039; can&#039;t be established.<br />RSA key fingerprint is e4:bd:6c:32:04:d3:7a:da:3e:b1:4d:cd:12:f2:e5:4e.<br />Are you sure you want to continue connecting (yes/no)? yes<br />Warning: Permanently added &#039;[bx]:53276&#039; (RSA) to the list of known hosts.<br />doc@bx&#039;s password: <br />Last login: Fri Nov 19 19:19:02 2010<br />Linux 2.6.29.6-smp.</p><p>Недостаток - это достоинство, из которого еще не научились извлекать пользу.<br />&nbsp; &nbsp; &nbsp; &nbsp; -- К.Мелихан</p><br /><p>Ваш банк выполнил недопустимyю операцию и бyдет закрыт.</p><p>xhost:&nbsp; unable to open display &quot;&quot;<br />Пнд Ноя 22 12:15:20 MSK 2010<br />X уже запущенны<br />doc@bx:~$ <br /></div><br />Примечание: моя система меня не сразу пустила....</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2010-11-22T09:17:43Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=115194#p115194</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: SSH на MandrivaOne 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=115154#p115154" />
			<content type="html"><![CDATA[<p>есть подозрение, что проблема в файерволе линукса, а не в настройках роутера</p>]]></content>
			<author>
				<name><![CDATA[Logof]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4838</uri>
			</author>
			<updated>2010-11-22T02:50:55Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=115154#p115154</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: SSH на MandrivaOne 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=114845#p114845" />
			<content type="html"><![CDATA[<p>не совсем<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />lsof -i | grep -i &quot;ssh&quot;<br />ssh&nbsp; &nbsp; &nbsp; &nbsp;11171&nbsp; live&nbsp; &nbsp; 3u&nbsp; IPv4&nbsp; 799125&nbsp; &nbsp; &nbsp; &nbsp;TCP 192.168.1.2:34795-&gt;192.168.1.1:ssh (ESTABLISHED)<br />sshd&nbsp; &nbsp; &nbsp; 21831&nbsp; root&nbsp; &nbsp; 3u&nbsp; IPv4&nbsp; 120167&nbsp; &nbsp; &nbsp; &nbsp;TCP 192.168.1.2:2222 (LISTEN)<br /></div></p><br /><p>при выполнении # ssh logof@logof.webhop.net:2222<br />получаю вот такое <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" /><br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">ssh: Could not resolve hostname logof.webhop.net:2222: Name or service not known<br /></div></p>]]></content>
			<author>
				<name><![CDATA[Logof]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4838</uri>
			</author>
			<updated>2010-11-20T14:03:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=114845#p114845</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: SSH на MandrivaOne 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=114770#p114770" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Logof пишет:</cite><blockquote><p>при запуске ssh 92.124.48.2 -p 2222 -v получаю результат</p></blockquote></div><p>что-то не пойму, локально-то всё работает? вот так:<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"># # lsof -i | grep -i &quot;ssh&quot;<br />sshd&nbsp; &nbsp; &nbsp; 2643&nbsp; &nbsp;root&nbsp; &nbsp; 3u&nbsp; IPv4&nbsp; &nbsp;8311&nbsp; &nbsp; &nbsp; &nbsp;TCP *:2222 (LISTEN)<br />sshd&nbsp; &nbsp; &nbsp; 2643&nbsp; &nbsp;root&nbsp; &nbsp; 4u&nbsp; IPv6&nbsp; &nbsp;8313&nbsp; &nbsp; &nbsp; &nbsp;TCP *:2222 (LISTEN)</p><p></div><br />да?</p><br /><p>PS: что-то я перепутал с фтп. fixed</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2010-11-20T07:47:25Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=114770#p114770</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: SSH на MandrivaOne 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=114754#p114754" />
			<content type="html"><![CDATA[<p>1. маршрутизация включена<br />2. </p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">&gt; iptables -t nat -L -n<br />Chain PREROUTING (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination<br />ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 224.0.0.0/3<br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.1.1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;udp dpt:53 to:195.46.116.1<br />REDIRECT&nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:5190 redir ports 5190<br />REDIRECT&nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:1863 redir ports 1863<br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 92.124.26.124&nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:19110 to:192.168.1.2<br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 92.124.26.124&nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:2222 to:192.168.1.2<br />REDIRECT&nbsp; &nbsp;udp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;udp dpt:5060 redir ports 5060<br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;udp dpt:46243 to:192.168.1.4:46243-0</p><p>Chain POSTROUTING (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination<br />MASQUERADE&nbsp; all&nbsp; --&nbsp; 192.168.1.0/24&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0</p><p>Chain OUTPUT (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination</div></p><br /><br /><br /><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />&gt; iptables -L -n<br />Chain INPUT (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination<br />ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; 192.168.1.0/24&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;udp dpt:30006<br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:30005<br />ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;udp dpts:7070:7079<br />ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;udp dpt:5060<br />ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;udp dpt:69<br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:23<br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:22<br />ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;udp dpt:161<br />ACCEPT&nbsp; &nbsp; &nbsp;icmp --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;icmp type 8<br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:80<br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:21<br />ACCEPT&nbsp; &nbsp; &nbsp;2&nbsp; &nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0<br />ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;state RELATED,ESTABLISHED<br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpts:1863:1864<br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:4443<br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:5190<br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:5566<br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpts:40000:40099<br />LOG&nbsp; &nbsp; &nbsp; &nbsp; tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp flags:0x16/0x02 limit: avg 6/hour burst 5 LOG flags 0 level 1 prefix `Intrusion -&gt; &#039;<br />DROP&nbsp; &nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0</p><p>Chain FORWARD (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination<br />ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 239.255.255.250<br />DROP&nbsp; &nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 224.0.0.22<br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.1.4&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:46243<br />ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.1.4&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;udp dpt:46243<br />ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; 192.168.1.0/24&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;udp dpt:30006<br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:30005<br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.1.2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:2222<br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.1.2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:19110<br />ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 224.0.0.0/3<br />TCPMSS&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp flags:0x06/0x02 TCPMSS clamp to PMTU<br />TCPMSS&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp flags:0x06/0x02 TCPMSS clamp to PMTU<br />ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;state RELATED,ESTABLISHED<br />LOG&nbsp; &nbsp; &nbsp; &nbsp; tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp flags:0x16/0x02 limit: avg 6/hour burst 5 LOG flags 0 level 1 prefix `Intrusion -&gt; &#039;<br />DROP&nbsp; &nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0</p><p>Chain OUTPUT (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination<br />DROP&nbsp; &nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 239.255.255.250<br /></div><br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br /># netstat -pan --inet | grep 2222<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 192.168.1.2:2222&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN&nbsp; &nbsp; &nbsp; 21831/sshd</div></p>]]></content>
			<author>
				<name><![CDATA[Logof]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4838</uri>
			</author>
			<updated>2010-11-20T03:46:57Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=114754#p114754</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: SSH на MandrivaOne 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=114718#p114718" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Logof пишет:</cite><blockquote><p>ssh поднят за роутером на порту 2222</p></blockquote></div><p>Будем считать, что я понимаю вас правильно: на вашем ноутбуке <em>sshd</em> запущен на <strong>2222</strong> порту.<br />Если вы хотите получить доступ извне, отправляя запрос вида<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />ssh logof@dyndns-adress:2222<br /></div><br />Убедитесь, что на роутере включена маршрутизация<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br /># cat /proc/sys/net/ipv4/ip_forward<br />1<br /></div><br />Правила должны выглядеть так:<br /></p><div class="codebox"><pre><code>iptables -t nat -L -n
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination         
...
REDIRECT   tcp  --  anywhere             92.124.52.82        tcp dpt:2222 redir ports 2222
...</code></pre></div><div class="codebox"><pre><code>iptables -L -n
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
...
ACCEPT     tcp  --  anywhere             192.168.1.2         tcp dpt:2222 
...</code></pre></div><p>Ну и соответственно на ноутбуке должен быть разрешён доступ к 2222 порту.<br />P.S. Покажите на ноутбуке<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />netstat -pan --inet | grep 2222<br /></div></p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2010-11-19T21:14:50Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=114718#p114718</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: SSH на MandrivaOne 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=114708#p114708" />
			<content type="html"><![CDATA[<p>ssh поднят за роутером на порту 2222<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />ptables --list<br />Chain INPUT (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; 192.168.1.0/24&nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; udp dpt:30006 <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:30005 <br />ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; udp dpts:7070:7079 <br />ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; udp dpt:5060 <br />ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; udp dpt:tftp <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:telnet <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:ssh <br />ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; udp dpt:snmp <br />ACCEPT&nbsp; &nbsp; &nbsp;icmp --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; icmp echo-request <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:www <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:ftp <br />ACCEPT&nbsp; &nbsp; &nbsp;2&nbsp; &nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; state RELATED,ESTABLISHED <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpts:1863:1864 <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:4443 <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:5190 <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:5566 <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpts:40000:40099 <br />LOG&nbsp; &nbsp; &nbsp; &nbsp; tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp flags:SYN,RST,ACK/SYN limit: avg 6/hour burst 5 LOG level alert prefix `Intrusion -&gt; &#039; <br />DROP&nbsp; &nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </p><p>Chain FORWARD (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;239.255.255.250&nbsp; &nbsp; &nbsp;<br />ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; 192.168.1.0/24&nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; udp dpt:30006 <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:30005 <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;192.168.1.2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:2222 <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;192.168.1.2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:19110 <br />ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;224.0.0.0/3&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />TCPMSS&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU <br />TCPMSS&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU <br />ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; state RELATED,ESTABLISHED <br />LOG&nbsp; &nbsp; &nbsp; &nbsp; tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp flags:SYN,RST,ACK/SYN limit: avg 6/hour burst 5 LOG level alert prefix `Intrusion -&gt; &#039; <br />DROP&nbsp; &nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </p><p>Chain OUTPUT (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />DROP&nbsp; &nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;239.255.255.250</div></p><p>внес изменения в правилах как сказано было выше, но результат тот же ssh: connect to host xxx.xxx.xxx.xxx port 2222: Connection timed out</p><br /><p>при запуске ssh 92.124.48.2 -p 2222 -v получаю результат<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />OpenSSH_5.5p1, OpenSSL 1.0.0a 1 Jun 2010<br />debug1: Reading configuration data /etc/ssh/ssh_config<br />debug1: Applying options for *<br />debug1: Connecting to 92.124.48.2 [92.124.48.2] port 2222.<br />debug1: connect to address 92.124.48.2 port 2222: Connection timed out<br />ssh: connect to host 92.124.48.2 port 2222: Connection timed out</div></p>]]></content>
			<author>
				<name><![CDATA[Logof]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4838</uri>
			</author>
			<updated>2010-11-19T20:22:17Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=114708#p114708</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: SSH на MandrivaOne 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=114673#p114673" />
			<content type="html"><![CDATA[<p><strong>Logof</strong>, <br />если sshd на компьютере за роутером поднят на порту 22, измените правило на<br /></p><div class="codebox"><pre><code>iptables --list
...
Chain FORWARD (policy ACCEPT)
...
ACCEPT     tcp  --  anywhere             192.168.1.2         tcp dpt:22
...</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2010-11-19T17:04:55Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=114673#p114673</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: SSH на MandrivaOne 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=114662#p114662" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Chain PREROUTING (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;224.0.0.0/3&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;224.0.0.0/3&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />REDIRECT&nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:5190 redir ports 5190 <br />REDIRECT&nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:1863 redir ports 1863 <br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;95.189.13.202&nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:19110 to:192.168.1.2 <br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;95.189.13.202&nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:222 to:192.168.1.2 <br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;95.189.13.202&nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:ssh to:192.168.1.2 <br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;92.124.52.82&nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:19110 to:192.168.1.2 <br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;92.124.52.82&nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:2222 to:192.168.1.2 <br />REDIRECT&nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;92.124.52.82&nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:2222 redir ports 22 <br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;92.124.39.165&nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:19110 to:192.168.1.2 <br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;92.124.39.165&nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:2222 to:192.168.1.2 <br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;95.189.14.163&nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:19110 to:192.168.1.2 <br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;95.189.14.163&nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:2222 to:192.168.1.2 <br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;92.124.48.2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:19110 to:192.168.1.2 <br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;92.124.48.2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:2222 to:192.168.1.2 <br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;92.124.62.41&nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:19110 to:192.168.1.2 <br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;92.124.62.41&nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:2222 to:192.168.1.2 <br />REDIRECT&nbsp; &nbsp;udp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; udp dpt:5060 redir ports 5060 <br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;192.168.1.1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;udp dpt:domain to:195.46.116.1 <br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; udp dpt:46243 to:192.168.1.4:46243-0 <br />DNAT&nbsp; &nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:46243 to:192.168.1.4:46243-0 </p><p>Chain POSTROUTING (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />MASQUERADE&nbsp; all&nbsp; --&nbsp; 192.168.1.0/24&nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </p><p>Chain OUTPUT (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[Logof]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4838</uri>
			</author>
			<updated>2010-11-19T15:42:52Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=114662#p114662</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: SSH на MandrivaOne 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=114548#p114548" />
			<content type="html"><![CDATA[<p><strong>Logof</strong>, тогда покажите и<br /></p><div class="codebox"><pre><code>iptables -t nat --list</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2010-11-19T06:15:13Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=114548#p114548</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: SSH на MandrivaOne 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=114533#p114533" />
			<content type="html"><![CDATA[<p>iptables-save на роутере нет, прикладываю iptables --list (вроде по результату - одинаковый результат)</p><div class="quotebox"><blockquote><p>&gt; iptables --list<br />Chain INPUT (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; 192.168.1.0/24&nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; udp dpt:30006 <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:30005 <br />ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; udp dpt:tftp <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:telnet <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:ssh <br />ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; udp dpt:snmp <br />ACCEPT&nbsp; &nbsp; &nbsp;icmp --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; icmp echo-request <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:www <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:ftp <br />ACCEPT&nbsp; &nbsp; &nbsp;2&nbsp; &nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; state RELATED,ESTABLISHED <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpts:1863:1864 <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:4443 <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:5190 <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:5566 <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpts:40000:40099 <br />LOG&nbsp; &nbsp; &nbsp; &nbsp; tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp flags:SYN,RST,ACK/SYN limit: avg 6/hour burst 5 LOG level alert prefix `Intrusion -&gt; &#039; <br />DROP&nbsp; &nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </p><p>Chain FORWARD (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />DROP&nbsp; &nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;224.0.0.22&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; 192.168.1.0/24&nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; udp dpt:30006 <br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp dpt:30005 <br /><strong>ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;192.168.1.2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:2222 </strong><br />ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;192.168.1.2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:19110 <br />ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;224.0.0.0/3&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />TCPMSS&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU <br />TCPMSS&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU <br />ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; state RELATED,ESTABLISHED <br />LOG&nbsp; &nbsp; &nbsp; &nbsp; tcp&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp flags:SYN,RST,ACK/SYN limit: avg 6/hour burst 5 LOG level alert prefix `Intrusion -&gt; &#039; <br />DROP&nbsp; &nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </p><p>Chain OUTPUT (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination</p></blockquote></div><p>на роутере открыт 2222 порт</p>]]></content>
			<author>
				<name><![CDATA[Logof]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4838</uri>
			</author>
			<updated>2010-11-18T23:56:18Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=114533#p114533</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: SSH на MandrivaOne 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=114454#p114454" />
			<content type="html"><![CDATA[<p>Покажите на роутере<br /></p><div class="codebox"><pre><code>iptables-save</code></pre></div><p>На каком порту у вас запущен sshd на ноутбуке? «Проброшен» ли порт с внешнего интерфейса на роутере на соответствующий порт sshd на ноутбуке?<br />P.S. У меня у самого настроен доступ по ssh к компьютеру за роутером и тоже с использованием DynDNS. Так вот иногда, особенно когда активно качаются торренты на удалённом компьютере, подключиться удаётся с раза пятого, а то и десятого. oO</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2010-11-18T17:31:40Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=114454#p114454</id>
		</entry>
</feed>
