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


|Same with ftp (login ok, directory not shown). http doesnt work at all.
|I used a simple rule (no firewall yet):
|ipchains -F
|ipchains -A forward -i ppp0 -j MASQ
|
|If anybody knows what is wrong, please help.
|
|Thanx, Martin Reuter.
|

I may be wrong but I believe that there are two problems here.

1) While you've flushed the rules, what about routing?

Shouldn't the first line read...

/sbin/ipchains -P forward DENY

Then as I read it the second line it says

Add a forwarding rule (really a Masq rule) for the ppp0 interface. But wait
a sec... the ppp0 interface is your internet hookup.

Shouldn't you be telling ipchains that anything "sourced" "-s" from your
local lan should be Masq'd... thus..

/sbin/ipchains -A forward -s 10.0.0.0/8 -j MASQ

or

/sbin/ipchains -A forward -s 192.168.0.0/24 -j MASQ

Though I may be wrong...

And did you remember to turn on "routing" and load the ip_masq modules as
well?

-JMS

_______________________________________________
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