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


Hi:

I am new in the list. I have to implement a Firewall with a Redhat 6.2. to
permit connection from some machine on the Internet to my Intranet, I know
this not a good idea but I have to do it.

So I set up IP MASQ for this on my server (Linux RedHat 6.2, the kernel is
2.2.x ). It has two NIC, one to my network and the other to my ISP, I make
the rules:

ipchains -A forward -i eth1 -s 172.16.1.2 -j MASQ

172.16.1.2 is the server of the Intranet


I put in the external DNS the entry to the intranet machine (intranet    IN
A        172.16.1.2)

But this is not work.

I have to make two rules or only one for the external machine on the
Internet?

I have the squid proxy for connect my internal machine to internet and is
fine.

Please help me. Sorry my English it is not good.

Thanks, Lmdice

_______________________________________________
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