Соединение, которому отказывают для ssh от внешнего соединения?

Если бы я понимаю Ваш вопрос правильно, я использовал бы и netcat и tcpdump. tcdump, *, отклоняют инструмент, который выводит трафик в сети. Можно указать вещи как NIC, который Вы хотите вывести, протокол или дюйм/с источника/места назначения.

Это очень полезно при отладке или поиске и устранении неисправностей сетевых проблем.

Больше информации о tcpdump здесь и некоторые хорошие примеры здесь.

0
задан 20 December 2011 в 09:50
1 ответ

If you can access it from a local address but not from an outside address, my guess is that the problem is the port forwarding on your router, and not iptables. If you want to confirm that, stop iptables on your server and try again from the outside.

If you're worried you'll be hacked while you test this (bit paranoid if you are, but eh...), then install and setup DenyHosts. If you already have it installed, then check your /etc/hosts.deny to see if it blocked you before.

If it works while iptables is off, then you know the problem is a bad rule somewhere in there.

0
ответ дан 24 November 2019 в 12:00

Теги

Похожие вопросы