On Sun, 17 Oct 2004 05:49:21 +0700, maikhai <[EMAIL PROTECTED]> wrote: > Hi all! > > Ngay sau khi install Slackware, thu vao mang va gui meo deu OK: > > [EMAIL PROTECTED]:/home/mk2# iptables -L > Chain INPUT (policy ACCEPT) > target prot opt source destination > > Chain FORWARD (policy ACCEPT) > target prot opt source destination > > Chain OUTPUT (policy ACCEPT) > target prot opt source destination > [EMAIL PROTECTED]:/home/mk2#
nhu+ the^' na`y la no firewall cho in/out packet , ta^'t nhie^n la` OK ! > ========================================================== > Bo? ca'i firewall file vao /etc/rc.d/rc.M thi: > > [EMAIL PROTECTED]:/home/mk2# iptables -L > Chain INPUT (policy DROP) > target prot opt source destination > ACCEPT all -- anywhere anywhere > ACCEPT all -- anywhere anywhere state > RELATED,ESTABLISHED > ACCEPT udp -- anywhere anywhere udp spt:domain > ACCEPT udp -- anywhere anywhere udp dpt:bootpc > > Chain FORWARD (policy ACCEPT) > target prot opt source destination > > Chain OUTPUT (policy ACCEPT) > target prot opt source destination > [EMAIL PROTECTED]:/home/mk2# > > Va` go.i Firefox thi` bi. ba'o lo^~i "www.mozilla.org could not be > found. Please. .." > Go.i Thunderbird thi` bi. ba'o lo^~i "Fail to connect to server > pop.mail.yaho.ca" nhu+ the^' na`y la` do ko query ddu+o+.c DNS server cu. thu+? cu. cho xem ca'i /etc/resolve.conf cu?a cu. hoa(.c cu. bo? ma^'y do`ng sau va`o /etc/resolve.conf ------------- nameserver 203.162.0.181 nameserver 203.162.0.11 nameserver 203.162.4.1 ------------- ca'i rule cu?a larry look good ma` sao la. va^.y cu. co' the^? test ba(`ng ca'ch sau: khi ddang co' firewall thu+? ping va`i site nhu www.vnn.vn , home.vnn.vn , www.google.com, www.yahoo.com xem no' co' resolve ca'c FDQN na`y ra IP address ko, ne^'u ko ddu+o+.c cu. thu+? ping 203.162.0.11 , 203.162.4.1 ne^'u result la` Reply thi` cu. cho+i ca'i chie^u du`ng con no'i be^n tre^n ( /etc/resolve.conf ) sau ddo' thu+? la.i ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ VietLUG-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/vietlug-users