Перейти в группу новостей: 
 
Тема Re: iptables вопросик
Написал Alexei <webmaster@microsoft.com>
Дата 9 августа 2018 в 14:47:53
Группа новостей kraft.os.linux

> ICMP сообщения в ответ на присланные UDP-пакеты перестают отправляться
> вовсе.
Забыл вставить дамп:
-----
[root@dell ~]# tcpdump -e -i ppp0 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size
262144 bytes
15:36:55.997547 In ethertype IPv4 (0x0800), length 102:
192.168.70.1.1701 > 192.168.70.2.1701: Unknown Version, neither L2F(1)
nor L2TP(2)
15:36:56.497652 In ethertype IPv4 (0x0800), length 102:
192.168.70.1.1701 > 192.168.70.2.1701: Unknown Version, neither L2F(1)
nor L2TP(2)
15:36:56.997710 In ethertype IPv4 (0x0800), length 102:
192.168.70.1.1701 > 192.168.70.2.1701: Unknown Version, neither L2F(1)
nor L2TP(2)
15:36:57.497808 In ethertype IPv4 (0x0800), length 102:
192.168.70.1.1701 > 192.168.70.2.1701: Unknown Version, neither L2F(1)
nor L2TP(2)
15:36:57.997873 In ethertype IPv4 (0x0800), length 102:
192.168.70.1.1701 > 192.168.70.2.1701: Unknown Version, neither L2F(1)
nor L2TP(2)
-----

вот так выглядит при активированном правиле iptables

А вот так выглядят правила, например:
----
[root@dell ~]# iptables-save
# Generated by iptables-save v1.6.2 on Thu Aug 9 15:47:12 2018
*filter
:INPUT ACCEPT [17714:5322936]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [17645:1006383]
-A INPUT -d 192.168.70.2/32 -i ppp+ -p udp -m udp --dport 1701 -j ACCEPT
COMMIT
# Completed on Thu Aug 9 15:47:12 2018
[root@dell ~]#
----
Все сообщения в этой теме
 
#  iptables вопросик Alexei 9 августа 2018 в 14:45:04
#  Re: iptables вопросик Alexei 9 августа 2018 в 14:47:53
#  Re: iptables вопросик Alexei 9 августа 2018 в 14:56:39
#  Re: iptables вопросик Eldar 9 августа 2018 в 15:00:06
#  Re: iptables вопросик Alexei 9 августа 2018 в 15:27:55
#  Re: iptables вопросик Alexei 9 августа 2018 в 15:33:25
#  Re: iptables вопросик Eldar 9 августа 2018 в 15:54:08
#  Re: iptables вопросик Eldar 9 августа 2018 в 15:47:06
#  Re: iptables вопросик Alexei 9 августа 2018 в 15:54:28
#  Re: iptables вопросик Eldar 10 августа 2018 в 09:09:58
#  Re: iptables вопросик Alexei 10 августа 2018 в 13:32:43



Время выполнения скрипта: 0.00049901008605957 сек.