HeavyKos
Newbie | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору [more] urodliv Понял, вот: ip add: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 link/ether 00:50:8d:d1:25:11 brd ff:ff:ff:ff:ff:ff 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 00:87:32:61:19:49 brd ff:ff:ff:ff:ff:ff inet 192.168.0.100/24 brd 192.168.0.255 scope global wlan0 valid_lft forever preferred_lft forever inet6 2001:470:71:73f:694a:8c37:8e28:b9b1/64 scope global temporary dynamic valid_lft 86391sec preferred_lft 14391sec inet6 2001:470:71:73f:287:32ff:fe61:1949/64 scope global dynamic valid_lft 86391sec preferred_lft 14391sec inet6 fe80::287:32ff:fe61:1949/64 scope link valid_lft forever preferred_lft forever 4: vboxnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000 link/ether 0a:00:27:00:00:00 brd ff:ff:ff:ff:ff:ff inet 192.168.56.1/24 brd 192.168.56.255 scope global vboxnet0 valid_lft forever preferred_lft forever inet6 fe80::800:27ff:fe00:0/64 scope link valid_lft forever preferred_lft forever sudo iptables -nvL: Chain INPUT (policy ACCEPT 68588 packets, 44M bytes) pkts bytes target prot opt in out source destination 81361 51M ufw-before-logging-input all -- * * 0.0.0.0/0 0.0.0.0/0 81361 51M ufw-before-input all -- * * 0.0.0.0/0 0.0.0.0/0 68801 44M ufw-after-input all -- * * 0.0.0.0/0 0.0.0.0/0 68633 44M ufw-after-logging-input all -- * * 0.0.0.0/0 0.0.0.0/0 68633 44M ufw-reject-input all -- * * 0.0.0.0/0 0.0.0.0/0 68633 44M ufw-track-input all -- * * 0.0.0.0/0 0.0.0.0/0 Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 0 0 ufw-before-logging-forward all -- * * 0.0.0.0/0 0.0.0.0/0 0 0 ufw-before-forward all -- * * 0.0.0.0/0 0.0.0.0/0 0 0 ufw-after-forward all -- * * 0.0.0.0/0 0.0.0.0/0 0 0 ufw-after-logging-forward all -- * * 0.0.0.0/0 0.0.0.0/0 0 0 ufw-reject-forward all -- * * 0.0.0.0/0 0.0.0.0/0 0 0 ufw-track-forward all -- * * 0.0.0.0/0 0.0.0.0/0 Chain OUTPUT (policy ACCEPT 66091 packets, 6626K bytes) pkts bytes target prot opt in out source destination 78613 8178K ufw-before-logging-output all -- * * 0.0.0.0/0 0.0.0.0/0 78613 8178K ufw-before-output all -- * * 0.0.0.0/0 0.0.0.0/0 68181 6797K ufw-after-output all -- * * 0.0.0.0/0 0.0.0.0/0 68181 6797K ufw-after-logging-output all -- * * 0.0.0.0/0 0.0.0.0/0 68181 6797K ufw-reject-output all -- * * 0.0.0.0/0 0.0.0.0/0 68181 6797K ufw-track-output all -- * * 0.0.0.0/0 0.0.0.0/0 Chain ufw-after-forward (1 references) pkts bytes target prot opt in out source destination Chain ufw-after-input (1 references) pkts bytes target prot opt in out source destination Chain ufw-after-logging-forward (1 references) pkts bytes target prot opt in out source destination Chain ufw-after-logging-input (1 references) pkts bytes target prot opt in out source destination Chain ufw-after-logging-output (1 references) pkts bytes target prot opt in out source destination Chain ufw-after-output (1 references) pkts bytes target prot opt in out source destination Chain ufw-before-forward (1 references) pkts bytes target prot opt in out source destination Chain ufw-before-input (1 references) pkts bytes target prot opt in out source destination Chain ufw-before-logging-forward (1 references) pkts bytes target prot opt in out source destination Chain ufw-before-logging-input (1 references) pkts bytes target prot opt in out source destination Chain ufw-before-logging-output (1 references) pkts bytes target prot opt in out source destination Chain ufw-before-output (1 references) pkts bytes target prot opt in out source destination Chain ufw-reject-forward (1 references) pkts bytes target prot opt in out source destination Chain ufw-reject-input (1 references) pkts bytes target prot opt in out source destination Chain ufw-reject-output (1 references) pkts bytes target prot opt in out source destination Chain ufw-track-forward (1 references) pkts bytes target prot opt in out source destination Chain ufw-track-input (1 references) pkts bytes target prot opt in out source destination Chain ufw-track-output (1 references) pkts bytes target prot opt in out source destination sudo iptables -t nat -nvL: Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain INPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Дело в том что фаервол на хосте остановил командой: sudo service ufw stop Я не уверен, но вроде этого должно быть достаточно. | Всего записей: 4 | Зарегистр. 22-06-2015 | Отправлено: 12:14 22-06-2015 | Исправлено: HeavyKos, 12:18 22-06-2015 |
|