A DNAT question.

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

 



I am new to this list and to iptables generally.

I have a line I am trying to translate into a current iptables line that
will work in my firewall.

' DNAT net loc:192.168.0.147 udp 5198,5199 '

If anyone could venture a thought as to how that might be translated into
a current iptables statement I would really appreicate it.

I have tried - iptables -t nat -A PREROUTING -i eth0 -d 192.168.0.1 -p tcp
--dport 5198:5199 -j DNAT --to 192.168.0.147

That doesn't appear to work so obviously I have not interpreted that line
correctly..

---
The big cities of America are becoming Third World countries.
                -- Nora Ephron


Ted Gervais
Coldbrook Nova Scotia
Canada B4R1A7


[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