<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
Basika, upotheto oti exeis idi ena firewall to opoio sou kobei tin kinisi apo to ipaq.<BR>
Mia aparaititi kinisi einai na steileis sti lista ta rules pou xrisimopoieis (iptables -L).<BR>
<BR>
Epeidi de xrisimopoieis globally routable dieuthinseis xreiazesai NAT.<BR>
Mia grigori (alla pithanotata bebiasmeni) apantisi tha itan na prostheseis stin arxi ton rules kati san:<BR>
<BR>
iptables -t nat -A POSTROUTING -s 192.168.0.0/8 -j SNAT --to 192.168.1.200<BR>
me tin proupothesi oti apo to interface 192.168.1.200 "blepeis" ton ekso kosmo, dil to internet.<BR>
<BR>
Filika <BR>
<BR>
Polychronis<BR>
<BR>
On Mon, 2004-01-12 at 12:00, linux-greek-users-request@lists.hellug.gr wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>Simeiwnw oti to exw kataferei me to shorewall pou exw mathei na xeirizomai ta
config files tou....
alla pistebw oti dio treis entoles iptables tha arkousan anti gi'auto....</I></FONT>
<TT></TT>
<FONT COLOR="#737373"><I>Στις Κυρ 11 Ιαν 2004 10:41, ο/η manolis έγραψε:
> Geia sas paidia,,,
>
> Exw mia erwtisi gia iptables....
>
> To pc mou einai mandrake linux rithmismeno se static ip 192.168.1.200
> (eth0) exei internet gateway ena windowsxp pc sto 192.168.1.1.
> Sto linux pc exw local DNS caching server...
> Mexri edw ola douleboun kala....
> Sto linux pc mesw virtual network card (usbnet) einai sindemeno ena ipaq (
> familiar linux 0.7.2 kernel 2.4.19
> To ipaq to sikwnw me static ip 192.168.0.202 (usb0 sto ifconfig)
> h epikinwnia metaksi to linuxpc kai tou ipaq einai mia xara... to ipaq
> sindeetai gia paradeigma kanonika se local (sto linuxpc) ftp server. Mporei
> akomi na kanei name resolve gia ekswterika IPs eksaitias tou local DNS
> server pou exw sto linuxpc... p.x kanontas ping sto </FONT><A HREF="http://www.yahoo.com"><U>www.yahoo.com</U></A><FONT COLOR="#737373"> briskei
> to ip tou site se noumero kanonika...
> edw arxizei to problima....
> den iparxei traffic... diladi den mporei na xrisimopoihsei san internet
> gateway to 192.168.1.1 oute na to dei out na tou kanei ping...
>
> profanws prepei na rithmisw kati me iptables (kata protimisi) wste to
> traffic apo to ipaq na ginetai forward sto gateway 192.168.1.1
> Den kserw pws na to kanw auto....
> Exw diabasei arketa how tos genika gia iptables alla den mporesa na bgalw
> akrh.....
> Please help... den nomizw na einai poli diskolh h apanthsh....
> fantazomai oti einai kati aplo....
>
>
> filika manolis
</I></FONT></PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>