On Fri, Sep 05, 2003 at 03:24:59AM +0300, Ilya Konstantinov wrote: > > Forwarding ports with iptables is easy -- you create a DNAT (destination NAT) > rule: > > iptables -t nat -A PREROUTING -p tcp --dport 7002 \ > -j DNAT --to 10.0.0.2:7002 > > (assuming 10.0.0.2 is the Windows box) >
Isn't there a small probability that 7002 will be allocated dynamically to another application too? We don't want anything that uses 7002 to be DNATed like that. Does wingate handle the situation better? Is there a way to pre allocate the port for only a predefined application even before the applications start using the port? The original poster mentioned something about names. I wonder if that does the trick. -- Shaul Karl, shaulk @ actcom . net . il ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]