Skip to contentSkip to conversation

Problem changing source IP in user space with NFQUEUE

DISCUSSION Damian Lezama 1 participant 1 message Mar 18, 2009 netfilter

lore
Share & tools
lore
#0 lore raw

Hi,

I need to change the Source IP of incoming packets in PRE for a
tunnel end (packets to the host or to route to other hosts). If I do it in PRE the packet just disappears even if my verdict is ACCEPT or REPEAT (it also disappears if I change the protocol). I tried to use a workaround but If I change the source IP in INPUT the application sees the old one so I'm still in trouble. How can I solve this?

Regards,
Damian