Hi. I need help with a problem and I hope there is someone who can help me out there =)
I need to make some kind of "mirror/reflector" that redirects IP from an external IP-address to another external IP-address on the same interface. I have used both ipfreely for TCP/IP and netcat for UDP/IP when I just redirects a single socket but now I need to redirect all IP traffic, no matter if it's UDP or TCP and on every socket between two IP-addresses. I have tried this but it's not working binat on fxp0 from 111.111.111.111 to any -> 222.222.222.222 The tcpdump gives me: Jan 16 12:52:36.554054 0:5:5d:18:98:42 0:c:f1:e3:de:72 0800 66: 111.111.111.111.2420 > 333.333.333.333.80: S 3313211319:3313211319(0) win 65535 <mss 1380,nop,wscale 1,nop,nop,sackOK> (DF) [tos 0x88] Jan 16 12:52:36.554094 0:c:f1:e3:de:72 0:5:5d:18:98:42 0800 54: 333.333.333.333.80 > 111.111.111.111:2420: R 0:0(0) ack 3313211320 win 0 (DF) I have enabled ip forwarding if that has something with it to do, also a wide open firewall Best Regards rancor