Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

RE: lug-bg: problem otnosno rutiraneto


  • Subject: RE: lug-bg: problem otnosno rutiraneto
  • From: bkrosnov@xxxxxxxx (Boyan Krosnov)
  • Date: Tue, 30 Apr 2002 19:00:05 +0300



Do kolkoto shwanah iskash opredelena usluga namirashta se na wytreshna
mashina da e dostypna ot 'otwyn'
towa stawa taka:
s iptables 
iptables -t nat -I PREROUTING -p tcp -d <outside ip> --dport 80 -j DNAT
--to <inside ip>:80
towa forwardwa konekcii za 80-ti port na wynshniq ti adres do wytreshna
mashina na adres <inside ip> na port 80.

Ako li pyk trqbwa da izkarash edin opredelen ip adres da e widim otwyn
mojesh s alias na wynshnata karta prez NAT (podoben na gorniq) ili da
slojish wynshen adres na wyprosnoto pc i da obqsnish na routera ti da ne
maskira.

Ako li pyk te razbera po drugiq wyzmojen nachin- che ne ti raboti
maskiraneto izobshto to togawa
iptables -t nat -I POSTROUTING -s <internalnet/mask> -j SNAT --to
<outside ip>

Utochni se molq te, ako ne sym nacelil posokata na mislite ti :)

BR,
Boyan

> -----Original Message-----
> From: linuxman [mailto:linuxman@xxxxxxx] 
> Sent: Tuesday, April 30, 2002 6:24 PM
> To: lug-bg@xxxxxxxxxxxxxxxxxx
> Subject: lug-bg: problem otnosno rutiraneto
> 
> 
> 
> imam 1 problem.golqm problem.
> zna4i stava duma za malka ethernet mreja (5 pc).imam router koito mi
> trqbva za maskirane rutirane i syrver za ke6irane.ima 2 lan-karti
> pyrvata e vyn6nata po koqto mi idva interneta i vtorata vytre6na.
> rutera si maskira si4ko to4no.ot vynka ne me vijdat.oba4e na men mi 
> trqbva da vijdam otvynka.ako nqkoi moje da mi pomogne neka go napravi 
> predvaritelno mu blagodarq.samo iskam da kaja 4e izklu4vame 
> vyzmojnosta za
> ne znam no si govorihme s 1 priqtel i toi mi kaza 4e moje da 
> stane s alias
> no ako naprava alias ednata karta nqma da e nujna.nqma li da 
> se razmaskira
> mrejata ako ostana s 1 karta.nadqvam se 4e se nqkoi 6e otdel 
> ot vremeto si
> da mi pomogne.mersi
> __________________________________
> 12MB-POP3-WAP-SMS---TOBA-E-mail.bG
> ----------------------------------
> 
> " Ako uckame u Bue agpec B mail.bg 
> ugeme myk: http://www.mail.bg/new/ "
> 
> ==============================================================
> ==============
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
> http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. 
> - Stara Zagora
> To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
> ==============================================================
> ==============
> 
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.