In my case this was solved by Sean's suggestion to make sure I had forwarding enabled, which I didn't. Apparently I sent my reply directly to Sean instead of the list. Oops. Anyway, it's working for me now.
Thanks to all. James On Wed, 2003-09-03 at 14:08, Sean Estabrooks wrote: > 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