/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
/* ALSO: Don't quote this header. It makes you look lame :-) */
I am running Redhat 7.0 in the following configuration:
Two network cards:
eth0: connected to external DSL Cisco router
eth1: connected to internal machines 10.0.0.0/8
Now here is the situation:
I have masquerading working. Some machines inside can access the outside
world (the behavior I want).
The problem is that there is an internal web server. I have added the
following lines to my rc.firewall to get this behavior:
ipchains -A input -s $ANYWHERE -d $MY_EXT_IP 80 -p tcp -i eth1 -j ACCEPT
ipchains -A forward -i eth1 -s 10.10.10.15/32 -j MASQ
ipmasqadm portfw -f
ipmasqadm portfw -a tcp -L 99.291.291.299 80 -R 10.10.10.15 80
What happens is that without these lines, I get the response from:
telnet 99.291.291.299 80
connection refused
With these lines, no response at all. From the gateway, it acts as it should,
so I know what it should do.
Please help,
-Greg
_______________________________________________
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.