On 03 Sep 2003 12:03:50 -0400
James Pifer <[EMAIL PROTECTED]> wrote:

> I tried this:
> # iptables -t nat -A PREROUTING -p udp -d 10.96.5.5 --dport 162 -j DNAT
> --to 192.168.1.18:162
> # iptables -A FORWARD -p udp -d 192.168.1.18 --dport 162 -j ACCEPT
> 

Hi James,

   You don't need that second rule.  Im guessing all you're missing is 
to tell Linux to enable forwarding:

echo 1 > /proc/sys/net/ipv4/ip_forward

Good Luck,
Sean


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to