Hello all!
The problem is,i got a Redhat 6.0 Server and 5 clients to acces internet 
using linux gateway,i'm using ipchains to MASQ all internal machines,when i 
try to go to an URL(http://www.linux.org)the page doesn't load in the first 
time,after a "REFRESH" in the page the HP shows up(and very FAST,thats good 
;).

Here is the ipchains rules:
#!/bin/sh
PATH=/sbin
#Flush main firewalling chains
ipchains -F forward
ipchains -F input
ipchains -F output
#Deny forwarding by default
ipchains -P forward DENY
#Set some reasonable timeout values
ipchains -M -S 7200 60 300
# Add a Masq rule for internet access
ipchains -A forward -s "192.168.0.0/255.255.255.0" -d "0.0.0.0/0" -j MASQ

My ipchains -L:
Chain input (policy ACCEPT):
Chain forward (policy DENY):
target  prot opt     source          destination  ports
MASQ    all  ------  192.168.0.0/24  anywhere     n/a
Chain output (policy ACCEPT):

My netstat:
netstat -M
prot   expira origem               destino             ports
tcp 114:45.77 ws-111202.wtulinux.co.jp www2.linuxjournal.com 1607 -> www 
(61029)
tcp 108:09.83 ws-111202.wtulinux.co.jp arc5.msn.com         1553 -> www 
(61025)
tcp 108:27.75 ws-111202.wtulinux.co.jp ads.msn.com          1562 -> www 
(61026)
tcp  99:30.38 ws-111202.wtulinux.co.jp ads.web.aol.com      1390 -> www 
(61015)

And the lest my lsmod:
Module                  Size  Used by
ip_masq_irc             1360   0  (unused)
ppp                    19980   0  (autoclean) (unused)
slhc                    4328   0  (autoclean) [ppp]
ip_masq_mfw             2912   0  (unused)
ip_masq_autofw          2208   0  (unused)
via-rhine               8840   1  (autoclean)
eepro100               12112   1  (autoclean)

Thanks in advance for any help!

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to