LINUX.ORG.RU

Сообщения alex68md

 

Увидеть из локалки WSL Linux по SSH

Приветсвую, помогите настроить доступ к линукс

Есть рутер с dhcp 192.168.100.1

Есть Win 7

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0    192.168.100.1    192.168.100.2     20
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
      172.18.80.0    255.255.240.0    192.168.100.9    192.168.100.2     21
     192.168.64.0    255.255.255.0         On-link      192.168.64.1    276
     192.168.64.1  255.255.255.255         On-link      192.168.64.1    276
   192.168.64.255  255.255.255.255         On-link      192.168.64.1    276
    192.168.100.0    255.255.255.0         On-link     192.168.100.2    276
    192.168.100.2  255.255.255.255         On-link     192.168.100.2    276
  192.168.100.255  255.255.255.255         On-link     192.168.100.2    276
    192.168.182.0    255.255.255.0         On-link     192.168.182.1    276
    192.168.182.1  255.255.255.255         On-link     192.168.182.1    276
  192.168.182.255  255.255.255.255         On-link     192.168.182.1    276
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link     192.168.100.2    276
        224.0.0.0        240.0.0.0         On-link     192.168.182.1    276
        224.0.0.0        240.0.0.0         On-link      192.168.64.1    276
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link     192.168.100.2    276
  255.255.255.255  255.255.255.255         On-link     192.168.182.1    276
  255.255.255.255  255.255.255.255         On-link      192.168.64.1    276
===========================================================================

Есть Win 10 + WSL Ubuntu

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         172.18.80.1     0.0.0.0         UG        0 0          0 eth0
172.18.80.0     0.0.0.0         255.255.240.0   U         0 0          0 eth0

Listen on ipv4:             Connect to ipv4:
Address         Port        Address         Port
--------------- ----------  --------------- ----------
0.0.0.0         2222        172.18.95.148   2222
*               2222        172.18.95.148   2222

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0    192.168.100.1    192.168.100.9     50
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    331
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    331
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    331
      172.18.80.0    255.255.240.0         On-link       172.18.80.1    271
      172.18.80.1  255.255.255.255         On-link       172.18.80.1    271
    172.18.95.255  255.255.255.255         On-link       172.18.80.1    271
    192.168.100.0    255.255.255.0         On-link     192.168.100.9    306
    192.168.100.9  255.255.255.255         On-link     192.168.100.9    306
  192.168.100.255  255.255.255.255         On-link     192.168.100.9    306
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    331
        224.0.0.0        240.0.0.0         On-link     192.168.100.9    306
        224.0.0.0        240.0.0.0         On-link       172.18.80.1    271
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    331
  255.255.255.255  255.255.255.255         On-link     192.168.100.9    306
  255.255.255.255  255.255.255.255         On-link       172.18.80.1    271
===========================================================================

фаерволы выключены

с 7ки ни как не получается достучаться до линукс подскажите что не так

 

alex68md
()

RSS подписка на новые темы