Subnet cu?a ma'y trong LAN de^`u la` 255.255.240.0 co`n proxy server la` 1 host tre^n Internet co' IP la` 193.167.144.30 ... Ca'c ma'y de^`u co' chung 1 gateway la` 10.2.0.1 ... (hi`nh nhu+ la` 1 switch)
Traceroute thu+? nhu+ng no' chi? ba'o la` host unreachable, co' ve? nhu+ la` ne^'u de^'n proxy thi` chi? ca^`n di qua 1 ca'i switch co 10.2.0.1 thui, chu+' kho^ng co' lang thang qua ma'y na`o he^'t ... Hie^.n tu+o+.ng na`y cu~ng xua^'t hie^.n 1 la^`n o+? ma'y tha(`ng ba.n. No' ba?o 2 tua^`n sau se~ co' la.i va` do o+? 1 so^' pho`ng 1 so^' du+'a ca^'m cable ma.ng sai ne^n la`m cho packet to+'i ma'y em la` bi. degrade ru`i discard vi` nghi~ la` packet hu+ ... On Tue, 16 Nov 2004, Foo Bar wrote: > traceroute thu+? coi bi. la.c ddi dda^u. > > ti`m cai problem ta.i sao khong dde^'n dduoc ma'y proxy coi bo^. > interesting ho+n la` ddi ngo~ ta('t qua ma'y cu?a ba.n :) > > foobar ddoa'n la` ma'y cua Phong cu`ng subnet cu?a ma'y ma^'y nguoi ba.n. > foobar ddoa'n la` ma'y proxy khong cu`ng subnet cua Phong va` ba.n > foobar ddoa'n la` 'iptables -nL' va` 'iptables -nL -t nat' trong ma'y > cu?a Phong la` clean va` ta^'t ca? default policies la` ACCEPT. > > ddu'ng khong ? > > -foo > > On Tue, 16 Nov 2004 16:42:41 -0600, Larry Nguyen <[EMAIL PROTECTED]> wrote: > > On 3:18:55 pm 11/16/04 Le Thanh Phong <[EMAIL PROTECTED]> wrote: > > > > > > Huhu nhu+ng ma` em co' pha.m to^.i gi` da^u ma` admin la.i la`m the^' > > > chu+' ...huhuhu :(( ... nhu+ng muh no'i ve^` chuye^.n die^`u chi?nh > > > route thi` hi`nh nhu+ la impossible. Khi du`ng le^.nh add route nhu+ > > > sau: > > > # route add -net 0.0.0.0 netmask 0.0.0.0 gw 0.0.0.0 > > > thi Linux la.i ba'o la` invalid, route cho LAn nhu sau: > > > > > > > Di~ nhie^n la` invalid. Hosts va` gateway must be reachable. Ba'c thu+? > > ping 0.0.0.0 xem no' co' tra? lo+`i gi` kho^ng? > > > > > > > Destination Gateway Genmask > > > 10.2.0.0 0.0.0.0 255.255.240.0 .... > > > > > > Hoac neu chung ta them route cho Internet (0.0.0.0/0) tho^ng qua > > > gateway la` 0.0.0.0 nhu+ le^.nh tre^n thi` co`n ca'ch na`o kha'c > > > kho^ng ? Muh sao Linux la.i ba'o la` invalid nhi? > > > > > > > > > > Ca'i na`y thu' tha^.t mi`nh chu+a bao gio+` la`m. Mi`nh ddo'an co' the^? > > du`ng iptables to redirect mark packet. Va^'n dde^` o+? cho^~ la` khi ba'c > > redirect browser de^'n ma'y ngu+o+`i ba.n, ro^`i ngu+o+`i ba.n redirect > > to+'i proxy server...so far so good. But how the proxy server gonna return > > the replied packets to *your* machine? Mi`nh nghi~ du`ng --mark va` > > iproute2. Time to read up iptables ro^`i Phong o+i. > > > > Good luck! > > > > > > > > -Larry > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: InterSystems CACHE > > FREE OODBMS DOWNLOAD - A multidimensional database that combines > > robust object and relational technologies, making it a perfect match > > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > > _______________________________________________ > > VietLUG-users mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/vietlug-users > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > VietLUG-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/vietlug-users > Phong [Zeronen] ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ VietLUG-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/vietlug-users