/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


A typo in my earlier post:
I had   ipmasqadm portfw -a -P tcp -L FW_EXT_IP 80 -R 10.3.0.10 80 instead
of 
ipchains portfw -a -P tcp -L FW_EXT_IP 80 -R 10.3.0.10 80
It doesn't work. Any help---
Thanks,
Kailash


>  -----Original Message-----
> From:         Kailash Kayastha  
> Sent: Tuesday, September 25, 2001 9:30 AM
> To:   '[EMAIL PROTECTED]'
> Subject:      need to redirect http request to the internal host
> 
> Hello,
> 
> I am new to this list. Read and surfed the net on the issue for the whole
> last week but couldn't get a clue. I need to allow external internet hosts
> to access the web pages of the server which is behind ipchains firewall
> and it has private ip address. How can this be done. I posted the this
> question before too but could not get the exact answer.
> =============================
> eth0-     external interface of the firewall
> 10.3.0.0-   internal network
> 10.3.0.10- internal web server ip
> =============================
> 
> Following are the only rules I have now with the ipchains FW. Infact I
> removed my original rules for testing purposes.
> 
> ipchains -P forward DENY
> ipchains -A forward -s 10.3.0.0/24 -d 0/0 -i eth0 -j MASQ
> ipchains -A input -j ACCEPT -s 0/0 -d FW_EXT_IP 80 -p tcp -i eth0
> ipchains portfw -a -P tcp -L FW_EXT_IP 80 -R 10.3.0.10 80
> 
> Its still not working. I am using RedHat Linux 7.0 Kernel 2.2.19
> 
> Any kind of help would be highly appreciated.
> 
> 
> Thanks in advance,
> Kailash
> 
> 
> ========================            
> ABC Virtual Communications
> Phone: 515-327-8861 x417
> Email: [EMAIL PROTECTED]

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to