i use :
/usr/sbin/ipmasqadm portfw -a -P tcp -L $EXTIP 6060 -R $PORTFWIP1 80
$EXTIP = external ip
6060 = external port
$PORTFWIP1 = internal masq'd ip
80 = forwarded port
i hope that helps
eric
Nate W wrote:
>
> Ingredients:
> RH6.2
> kernel 2.2.14-5.0 w/ ip_masq and ip__masq_autofw
> ipmasqadm 0.27 for 2.2.13
>
> This box has long been doing a fine of IP masquerade, and now I'm trying
> to get port forwarding set up. I've read the HOWTO but so far none of the
> suggestions are working. The howto suggests using "ipmasqadm autofw
> ..." which I have installed and run but with no luck.
>
> When I run this:
> ipmasqadm autofw -A -r udp 6070 6080 -h 192.168.0.2 -v
>
> I get this:
> Adding autofwd udp ports 6070 - 6080 to fixed host 192.168.0.2 U
>
> Sounds good... However, when I fling UDP packets at port 6075, tcpdump
> shows the UDP packets arriving, and ICMP error messages being sent back in
> reply ('host xyz unreachable'). The UDP packets are NOT forwarded to the
> 192.168.0.2 machine (which is of course what I was hoping for).
>
> Anyone got suggestions? Is "ipmasqadm autofw" the correct tool for this
> job? What might I be overlooking? The machine in question has two
> 'external' IP addresses (in addition to the 192.168.0.x 'internal'
> address), does that require extra steps when setting up forwarding?
>
> Thanks in advance for your help...
>
> Nate W
> Redmond WA USA
>
> ___________________________________________________________________________
> Visit http://www.visto.com/info, your free web-based communications center.
> Visto.com. Life on the Dot.
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list