ipt-netflow
ipt-netflow copied to clipboard
wrong source ip in udp ipfix packet
Hi, this the scenario: destination = 172.30.x.x
the module load on boot the routing table says 172.30.x.x. via 192.168.1.1 dev eth0 src 192.168.1.2 the ipfix packet sends via eth0 with src ip 192.168.1.2
vpn connection established, now the routing table says 172.30.x.x. via 10.8.01 dev tun0 src 10.8.0.2 the ipfix packet sends via tun0 with src ip 192.168.1.2 instead 10.8.0.2
unload and load the module solve this
Data is sent using usual socket API, with a connection established (mostly) at the time of setting destination. You may try setting destination again.
this workaround working..