/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
/* ALSO: Don't quote this header. It makes you look lame :-) */
Hi,
"Greg Silber (marsnet)" wrote:
>
> 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
>
...
>
> ipchains -A input -s $ANYWHERE -d $MY_EXT_IP 80 -p tcp -i eth1 -j ACCEPT
Well, if it's not a typo, it should be '-i eth0', the external
interface.
> 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
Another one: you missed a '-P' (uppercase) before 'tcp':
ipmasqadm portfw -a -P tcp -L 99....
> Please help,
>
> -Greg
Bye,
Srg
_______________________________________________
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.