Khong hieu ta.i sao ba'c thi'ch iptables -A INPUT -j DROP dden nhu the^' :)
Ca'ch to^'t nha^'t la` kho^ng ne^n go~ no' sau khi cha.i Larry's script :) Co`n ne^'u muo^'n xa`i no' thi` ddu+`ng cha.y Larry's script. Lu'c ddo' ba'c se~ ddu+o+.c thoa? ma~n nhu+ y' ba'c muo^'n (no more INPUT connectivity). Larry's script co' la`m mo^.t trick nho? cho connections dda~ ddu+o+.c ESTABLISHED/RELATED. Scrit na`y se~ cho phe'p INPUT vo+'i ddie^`u kie^.n la` ba'c initiated the connection. Ho+i ra('c ro^'i ti' (iptables howto on ESTABLISHED/RELATED). Vi` ba'c cha.y ca'i iptables -A INPUT -j DROP sau khi cha.y Larry's cho nen no' khong co' stop everything ta.i vi` no' ddu+ng dda(`ng sau Larry's script. iptables works theo thu+' tu+. Tha(`ng rule na`o dden truoc la` xai thang ddo' :) > > Da~ thu+? ca'i script cu?a Larry. Nhu+ng pha?i tru+o+'c he^'t go~ 2 > le^.nh > # modprobe 3c59x > # ifup eth0 > ro^`i cha.y ca'i script. > Nhu+ng sau khi le^n ma.ng xong, ne^'u go~ > # iptables -A INPUT -j DROP > thi` hi`nh nhu+ no' kho^ng a?nh hu+o+?ng gi`, vi` va^~n le^n ma.ng > ddu+o+.c. > > > La.i co`n mo^.t chuye^.n kha'c: > Sau khi go~ > # iptables -A INPUT -j DROP > ma` o+? trong Kmail dde^? soa.n meo RE, thi` go~ mo^.t ho^`i xong no' > kho^ng cho nha^'n Queue nu+~a. Toa`n bo^. Kmail bie^'n tha`nh > tra('ng, ma^'t he^'t ky' tu+. hie^?n thi.. > > La.i mo'c console ra go~ > # iptables -F > thi` sau ddo' la`m vie^.c bi`nh thu+o+ng (nhu+ng cu~ng pha?i re-open > Kmail) > > > Co`n vie^.c mua mo^.t ca'i router thi` . . . hehe. Nhu+ng nhu+ va^.y > thi` pha?i bo? ca'i router hie^.n co' (do FPT cho chu`a) hay sao? > Ca'i na`y cu~ng co' mo^.t nu't nha^'n va`o la` ta('t he^'t dde`n. Co' > pha?i la` no' kho^ng? > Ne^'u ta('t ba(`ng nu't na`y, ngay trong phie^n la`m vie^.c se~ kho^ng > mo+? ON tro+? la.i ddu+o+.c nu+~a. > -- > m k h _ s g n > > > > ------------------------------------------------------- > 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 > ------------------------------------------------------- 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