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

On Tue, 21 May 2002 20:02:22 -0400
"Bob Puff@NLE" <[EMAIL PROTECTED]> wrote:

> I've just installed a 2.4.x kernel into a box that is set up as a Masq
> box, and am trying to redirect some PCAnywhere ports.  My desire:
(snip)
> the following firewall script doesn't seem to work for machine #2 (but
> works for machine #1):
(snip)
> Also, I noticed that if I change the ip address of 192.168.1.11 to
> something else (like to 192.168.1.12 to test it), it still gets
> forwarded to the .11 machine.  Is something not getting flushed
> properly?

Well, there's nothing in the script you posted to flush the rules.  How
are you attempting to flush the rules?  Have you tried any other scripts? 
You might take a look at mine (http://asgardsrealm.net/linux/firewall). 
It will accomplish what you are trying.  Even if you don't use it, it
might help you find your answers.  You might also take a look at what
rules are in effect, I find it easier to diagnose NAT'ing difficulties by
looking at the actual rules in effect rather than the commands that built
the rules.  The following should help with that:

iptables -t filter -nv --list
iptables -t nat -nv --list
iptables -t mangle -nv --list

-- 
Jamin W. Collins
_______________________________________________
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