Click to See Complete Forum and Search --> : RH 7.1 as a gateway, but NT IIS server dont work, how do I redirect IP+ port to it?


ZeBuL0N
07-06-2001, 10:44 AM
Heres the scoop.

my ISP grants me 1 static IP, I used that on a Linxsys hub, and a dhcp config that allowed me to let my windows machines and the linux box work fine, However, I run a FTP server on the linux machine, and my mail and IIS server on NT4svr, the port forwarding worked on the hub/router solution, However the linux box would report the incorrect 192.168.x.x address on a host lookup,

I decided to use the linux machine as a gateway utilizing DHCP and Apache, I have that all setup and working, However I want to redirect SMTP and POP3 ports 110 and 25 and 80 for the website to the windows machine, How do I go about redirecting the ip requests for certain ports to my internal machines, there are 2 ethernet cards in the linux box, the linux dhcp server is a pool of ip's from 192.168.1.1 (the linux Eth1) to 192.168.1.60 , my eth0 is my ISP card bound to the DSL modem, it all works except for the forwarding. .

Any help would be appreciated...

thanks! :confused:

ZeBuL0N
07-09-2001, 07:53 AM
well this ? has been sitting here a week , does anyone know??

jumpedintothefire
07-09-2001, 08:33 AM
so what are you using ipchains or iptables?

for ipchains try:
http://www.ecst.csuchico.edu/~dranch/LINUX/TrinityOS/cHTML/TrinityOS-c-10.html

A quick search of the this list for "port forwarding" turned up numerous examples....

search first, ask if you have problems....

yunxian
07-10-2001, 02:27 AM
I have set up the firewall based on the notes advised. Howevere, I noted that I could not run the ipmasqadm. I been serching the web sites and could not figure out - how to download this program and make this program running.

My configuration - redhat release 7 (kernel version 2.2.16) and I am using IPCHAINS.

Thanks u. :confused: