Re: Redirect doesn't do the job as dnat does

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Le 08/11/2023 à 10:33, Florian Westphal a écrit :
Tech <tech@xxxxxxxxxx> wrote:
Le 05/11/2023 à 16:27, Florian Westphal a écrit :
Tech<tech@xxxxxxxxxx> wrote:
in another terminal I run nc -vl :: 58198 Listening on :: 58198
Please also spawn tcdump -n "tcp port 58198 or tcp port 58194"
Sended per PM
The dump was very boring, shows SYNs without any replies. redirect is the same as dnat, except that redirect just takes the first address that it finds on the given interface. So I'd guess that it picks an unusable one, e.g. link-local. Can you post 'ip -6 addr show dev $dev" ?
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    altname enp0s3
    altname ens3
    inet6 ::ffff:100.64.229.29/96 scope global
       valid_lft forever preferred_lft forever
    inet6 2a01:4f8:c0c:9e5b::1/64 scope global
       valid_lft forever preferred_lft forever
    inet6 fe80::9400:2ff:fe39:962c/64 scope link
       valid_lft forever preferred_lft forever

--

Daniel Huhardeaux +33.368460088@xxxxxxxxxx sip:820@xxxxxxxxxxxxxx +41.445532125@xxxxxxxxxxxxxx tootaiNET



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux