snmptraps incomming on udp port 162 REDIRECT to 4162 not working?

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

 



On Tuesday 05 November 2002 4:16 pm, Ben Russo wrote:

> Hi,
>
> I tried the following:
>
> iptables -t nat -p udp -m udp --dport 162 -j REDIRECT --to-ports 4162
>
> Any ideas on how to make this work?

You should have a "-A PREROUTING" in there.   I'm not sure about the "-m udp" 
- I presume this is something to do with loading modules for different 
protocol support ?   (I don't use modules, but I've seen this sort of thing 
in other people's rules before.)

Antony.

-- 

Documentation is like sex:
when it's good, it's very very good;
when it's bad, it's still better than nothing.



[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