<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>Аспро: ЛайтШоп [тема: [РЕШЕНО]Не могу (больше) подключиться по SSH к root из той же сети.]</title>
		<link>http://proxmox.su</link>
		<description>Новое в теме [РЕШЕНО]Не могу (больше) подключиться по SSH к root из той же сети. форума Proxmox Виртуальная Среда на сайте Аспро: ЛайтШоп [proxmox.su]</description>
		<language>ru</language>
		<docs>http://backend.userland.com/rss2</docs>
		<pubDate>Wed, 22 Apr 2026 17:32:44 +0300</pubDate>
		<item>
			<title>[РЕШЕНО]Не могу (больше) подключиться по SSH к root из той же сети.</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message313487/76140-resheno_ne-mogu-_bolshe_-podklyuchitsya-po-ssh-k-root-iz-toy-zhe-seti.">[РЕШЕНО]Не могу (больше) подключиться по SSH к root из той же сети.</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Оказывается, решение было просто перезагрузить роутер. Проблема теперь исчезла. <br />
			<i>27.03.2025 23:24:00, pfiat_di.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message313487/76140-resheno_ne-mogu-_bolshe_-podklyuchitsya-po-ssh-k-root-iz-toy-zhe-seti.</link>
			<guid>http://proxmox.su/forum/messages/forum63/message313487/76140-resheno_ne-mogu-_bolshe_-podklyuchitsya-po-ssh-k-root-iz-toy-zhe-seti.</guid>
			<pubDate>Thu, 27 Mar 2025 23:24:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>[РЕШЕНО]Не могу (больше) подключиться по SSH к root из той же сети.</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message313486/76140-resheno_ne-mogu-_bolshe_-podklyuchitsya-po-ssh-k-root-iz-toy-zhe-seti.">[РЕШЕНО]Не могу (больше) подключиться по SSH к root из той же сети.</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Привет всем. Я настроил Proxmox сервер (версия 6.8.12-7-pv) некоторое время назад, и игнорировал проблему, которая появилась с самого начала, а именно невозможность подключения по SSH через локальную сеть. Моя сеть находится за CGNAT, и чтобы обойти это, я настроил WireGuard туннель через VPS, который арендую. Изначально, сразу после установки, SSH работал отлично. Некоторое время после настройки туннеля я все еще мог подключаться по LAN. Но после перезагрузки я потерял эту возможность. Я пытался найти причину, но честно говоря, не понимаю, что может быть не так. Я могу пинговать IP-адрес, но не могу подключиться по Telnet или SSH (ошибка - timeout). Firewall PVE остановлен, и никаких дополнительных правил не настроено через графический интерфейс. UFW не установлен. Я посмотрел на пакеты на vmbr0 (нет логов сейчас, tcpdump -i vmbr0 port 22), и там есть входящий трафик, но сервер никогда не отвечает. Сейчас приведу несколько соответствующих конфигураций:<br /><br />Spoiler: конфигурация сетевого интерфейса<br />```<br />auto lo<br />iface lo inet loopback<br />iface eno1 inet manual<br />auto vmbr0<br />iface vmbr0 inet static<br /> &nbsp; &nbsp;address 192.168.0.xx/24<br /> &nbsp; &nbsp;gateway 192.168.0.1<br /> &nbsp; &nbsp;bridge-ports eno1<br /> &nbsp; &nbsp;bridge-stp off<br /> &nbsp; &nbsp;bridge-fd 0<br /> &nbsp; &nbsp;source /etc/network/interfaces.d/*<br />```<br /><br />Spoiler: iptables -L output<br />```<br />Chain OUTPUT (policy ACCEPT)<br /> &nbsp; &nbsp;target &nbsp; &nbsp; prot opt source &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; destination<br /><br />Chain INPUT (policy ACCEPT)<br /> &nbsp; &nbsp;target &nbsp; &nbsp; prot opt source &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; destination<br /><br />Chain FORWARD (policy ACCEPT)<br /> &nbsp; &nbsp;target &nbsp; &nbsp; prot opt source &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; destination<br />```<br /><br />Spoiler: netstat -tulpn<br />```<br />netstat -tulpn<br />netstat -tulpn | grep :22<br />tcp &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;0 0.0.0.0:22 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LISTEN &nbsp; &nbsp; &nbsp;2111687/sshd: /usr/<br />tcp6 &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp;0 :::22 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :::* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN &nbsp; &nbsp; &nbsp;2111687/<br />```<br /><br />Spoiler: route<br />```<br />output Destination &nbsp; &nbsp; &nbsp; &nbsp; Gateway &nbsp; &nbsp; &nbsp; &nbsp; Genmask &nbsp; &nbsp; &nbsp; &nbsp; Flags Metric Ref &nbsp; &nbsp;Use Iface<br />default &nbsp; &nbsp; &nbsp; &nbsp; 192.168.0.1 &nbsp; &nbsp; 0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; UG &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp;0 vmbr0<br />192.168.0.0 &nbsp; &nbsp; 0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; 255.255.255.0 &nbsp; U &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp;0 vmbr0<br />```<br /><br />Spoiler: nft list ruleset<br />```<br />nft list ruleset<br />nft list ruleset table ip wg-quick-wg0 {<br /> &nbsp; &nbsp;chain preraw {<br /> &nbsp; &nbsp; &nbsp; &nbsp;type filter<br /> &nbsp; &nbsp; &nbsp; &nbsp;hook prerouting<br /> &nbsp; &nbsp; &nbsp; &nbsp;priority raw;<br /> &nbsp; &nbsp; &nbsp; &nbsp;policy accept;<br /> &nbsp; &nbsp; &nbsp; &nbsp;iifname != "wg0"<br /> &nbsp; &nbsp; &nbsp; &nbsp;ip daddr 10.10.xx.x<br /> &nbsp; &nbsp; &nbsp; &nbsp;fib saddr type != local<br /> &nbsp; &nbsp; &nbsp; &nbsp;drop<br /> &nbsp; &nbsp;}<br /> &nbsp; &nbsp;chain premangle {<br /> &nbsp; &nbsp; &nbsp; &nbsp;type filter<br /> &nbsp; &nbsp; &nbsp; &nbsp;hook prerouting<br /> &nbsp; &nbsp; &nbsp; &nbsp;priority mangle;<br /> &nbsp; &nbsp; &nbsp; &nbsp;policy accept;<br /> &nbsp; &nbsp; &nbsp; &nbsp;meta l4proto udp<br /> &nbsp; &nbsp; &nbsp; &nbsp;meta mark set ct mark<br /> &nbsp; &nbsp;}<br /> &nbsp; &nbsp;chain postmangle {<br /> &nbsp; &nbsp; &nbsp; &nbsp;type filter<br /> &nbsp; &nbsp; &nbsp; &nbsp;hook postrouting<br /> &nbsp; &nbsp; &nbsp; &nbsp;priority mangle;<br /> &nbsp; &nbsp; &nbsp; &nbsp;policy accept;<br /> &nbsp; &nbsp; &nbsp; &nbsp;meta l4proto udp<br /> &nbsp; &nbsp; &nbsp; &nbsp;meta mark 0x0000ca6c<br /> &nbsp; &nbsp; &nbsp; &nbsp;ct mark set<br /> &nbsp; &nbsp; &nbsp; &nbsp;meta mark<br /> &nbsp; &nbsp;}<br />}<br />```<br /><br />Spoiler: sshd config<br />```<br /># This is the sshd server system-wide configuration file.<br /># See # sshd_config(5) for more information.<br /># This sshd was compiled with PATH=/usr/local/bin:/usr/bin:/bin:/usr/games<br /># The strategy used for options in the default sshd_config shipped with<br /># OpenSSH is to specify options with their default value where<br /># possible, but leave them commented. &nbsp;Uncommented options override the<br /># default value.<br /># Include /etc/ssh/sshd_config.d/*.conf<br />#Port 22<br />#AddressFamily any<br />#ListenAddress 0.0.0.0<br />#ListenAddress ::<br />#HostKey /etc/ssh/ssh_host_rsa_key<br />#HostKey /etc/ssh/ssh_host_ecdsa_key<br />#HostKey /etc/ssh/ssh_host_ed25519_key<br /># Ciphers and keying<br />#RekeyLimit default none<br /># Logging<br />#SyslogFacility AUTH<br />#LogLevel INFO<br /># Authentication:<br />#LoginGraceTime 2m<br />#PermitRootLogin yes<br />#StrictModes yes<br />#MaxAuthTries 6<br />#MaxSessions 10<br />#PubkeyAuthentication yes<br /># Expect .ssh/authorized_keys2 to be disregarded by default in future.<br />#AuthorizedKeysFile &nbsp; &nbsp;.ssh/authorized_keys .ssh/authorized_keys2<br />#AuthorizedPrincipalsFile none<br />#AuthorizedKeysCommand none<br />#AuthorizedKeysCommandUser nobody<br /># For this to work you will also need host keys in /etc/ssh/ssh_known_hosts<br />#HostbasedAuthentication no<br /># Change to yes if you don't trust ~/.ssh/known_hosts for<br /># HostbasedAuthentication<br />#IgnoreUserKnownHosts no<br /># Don't read the user's ~/.rhosts and ~/.shosts files<br />#IgnoreRhosts yes<br /># To disable tunneled clear text passwords, change to no here!<br />#PasswordAuthentication yes<br />#PermitEmptyPasswords no<br /># Change to yes to enable challenge-response passwords (beware issues with<br /># some PAM modules and threads)<br />#KbdInteractiveAuthentication no<br /># Kerberos options<br />#KerberosAuthentication no<br />#KerberosOrLocalPasswd yes<br />#KerberosTicketCleanup yes<br />#KerberosGetAFSToken no<br /># GSSAPI options<br />#GSSAPIAuthentication no<br />#GSSAPICleanupCredentials yes<br />#GSSAPIStrictAcceptorCheck yes<br />#GSSAPIKeyExchange no<br /># Set this to 'yes' to enable PAM authentication, account processing,<br /># and session processing. If this is enabled, PAM authentication will<br /># be allowed through the KbdInteractiveAuthentication and<br /># PasswordAuthentication. &nbsp;Depending on your PAM configuration,<br /># PAM authentication via KbdInteractiveAuthentication may bypass<br /># the setting of "PermitRootLogin prohibit-password".<br /># If you just want the PAM account and session checks to run without<br /># PAM authentication, then enable this but set PasswordAuthentication<br /># and KbdInteractiveAuthentication to 'no'.<br />#UsePAM yes<br />#AllowAgentForwarding yes<br />#AllowTcpForwarding yes<br />#GatewayPorts no<br />#X11Forwarding yes<br />#X11DisplayOffset 10<br />#X11UseLocalhost yes<br />#PermitTTY yes<br />#PrintMotd no<br />#PrintLastLog yes<br />#TCPKeepAlive yes<br />#PermitUserEnvironment no<br />#Compression delayed<br />#ClientAliveInterval 0<br />#ClientAliveCountMax 3<br />#UseDNS no<br />#PidFile /run/sshd.pid<br />#MaxStartups 10:30:100<br />#PermitTunnel no<br />#ChrootDirectory none<br />#VersionAddendum none<br /># no default banner path<br />#Banner none<br /># Allow client to pass locale environment variables<br />#AcceptEnv LANG LC_*<br /># override default of no subsystems<br />#Subsystem &nbsp; &nbsp;sftp &nbsp; &nbsp;/usr/lib/openssh/sftp-server<br /># Example of overriding settings on a per-user basis<br />#Match User anoncvs<br /># &nbsp; &nbsp;X11Forwarding no<br /># &nbsp; &nbsp;AllowTcpForwarding no<br /># &nbsp; &nbsp;PermitTTY no<br /># &nbsp; &nbsp;ForceCommand cvs server<br />Thank you in advance for your help! <br />
			<i>27.03.2025 16:28:00, pfiat_di.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message313486/76140-resheno_ne-mogu-_bolshe_-podklyuchitsya-po-ssh-k-root-iz-toy-zhe-seti.</link>
			<guid>http://proxmox.su/forum/messages/forum63/message313486/76140-resheno_ne-mogu-_bolshe_-podklyuchitsya-po-ssh-k-root-iz-toy-zhe-seti.</guid>
			<pubDate>Thu, 27 Mar 2025 16:28:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
	</channel>
</rss>
