internet forwarding...

Polychronis Ypodimatopoulos ypol at intracom.gr
Mon Jan 12 14:59:51 EET 2004


Basika, upotheto oti exeis idi ena firewall to opoio sou kobei tin
kinisi apo to ipaq.
Mia aparaititi kinisi einai na steileis sti lista ta rules pou
xrisimopoieis (iptables -L).

Epeidi de xrisimopoieis globally routable dieuthinseis xreiazesai NAT.
Mia grigori (alla pithanotata bebiasmeni) apantisi tha itan na
prostheseis stin arxi ton rules kati san:

iptables -t nat -A POSTROUTING -s 192.168.0.0/8 -j SNAT --to
192.168.1.200
me tin proupothesi oti apo to interface 192.168.1.200 "blepeis" ton ekso
kosmo, dil to internet.

Filika 

Polychronis

On Mon, 2004-01-12 at 12:00, linux-greek-users-request at lists.hellug.gr
wrote:

> 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....
> 
> Στις Κυρ 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 www.yahoo.com 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
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hellug.gr/pipermail/linux-greek-users/attachments/20040112/bd2acf9a/attachment-0005.htm>


More information about the Linux-greek-users mailing list