# iptables -t nat -A PREROUTING -i <EXTERNAL_INTERFACE> -p tcp --dport <PORT_HERE> -j DNAT --to <WINDOWS_IP_HERE>:<PORT>
just in case your firewall DROPs everything by default, you may also need to allow querries from outside to go thru the FORWARD chain
# iptables -A FORWARD -i <EXTERNAL_INTERFACE> -p tcp --dport <PORT_HERE> -d <WINDOWS_IP_HERE>
Hope that helps,
-jon-
On 12/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> wrote:
I have a gateway/Firewall in FC3. I want an outside IP to access a port of
another windows server from my network. But i dont know how to do this since
we let someone to config our firewall.
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

