Re: Forwarding multiple UDP ports

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

 



>
> My question is: can I forward UDP trafic from and internal server to the
> Internet?
> Can I use this line:
>
> iptables -t nat -A PREROUTING -p udp -s INTRA_SERVER -d INTRA_ROUTER 
> --dport 1024:6000 -j DNAT --to-destination INET_IP:1024-6000
>
> I'm testing it and I see the rule matched, the byte and packet counters are
> incrementing.
> But, I see no traffic going out of the Internet NIC.
> I'm not sure if the multi-port specification will work.

Who is INET_IP? Is it the same host as INTRA_ROUTER?


Jan Engelhardt
-- 


[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