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
