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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

Re: lug-bg: iptables "match mark" problem


  • Subject: Re: lug-bg: iptables "match mark" problem
  • From: ivo@email.domain.hidden (Ivaylo Toshev)
  • Date: 07 Mar 2003 10:36:30 +0200


Mi da, inache mai e DNAT
Íà ïò, 2003-03-07 â 10:31, Nickola Kolev çàïèñà:
<em class="quotelev1">>  Georgi wrote:
<em class="quotelev1">> 
<em class="quotelev2">>   > Çäðàâåéòå,
<em class="quotelev2">>  > 
<em class="quotelev2">>  > èäåÿòà å ñëåäíàòà ìàðêèðàì ñè áúëãàðñêèòå ìðåæè ñ 16. Âñè÷êè îñòàíàëè
<em class="quotelev2">>  > ñ 8. Èñêàì äà èçïîëçâàì òîâà ìàðêèðàíå çà äà ìîãà çàÿâêèòå çà áúëãàðñêè
<em class="quotelev2">>  > ìðåæè äà ãè ìàñêèðàì çàä îïðåäåëåíî IP.
<em class="quotelev2">>  > 
<em class="quotelev2">>  > iptables -A PREROUTING -t nat -s 10.0.0.0/8 --match mark --mark 16 -j SNAT --to 193.110.159.3
<em class="quotelev1">> 
<em class="quotelev1">> Ñòðóâà ìè ñå, ÷å SNAT å âàëèäåí ñàìî â POSTROUTING âåðèãàòà, ò.å. òî÷íî
<em class="quotelev1">> â ìîìåíòà, ïðåäè äàäåí ïàêåò äà íàïóñíå ìàøèíàòà òè. Ïðîáâàé ñ:
<em class="quotelev1">> 
<em class="quotelev1">> iptables -A POSTROUTING -t nat -s 10.0.0.0/8 --match mark --mark 16 -j SNAT --to 193.110.159.3
<em class="quotelev1">> 
<em class="quotelev1">> ________________________________________________________________________
<em class="quotelev1">> 
<em class="quotelev1">> Âñè÷êî íàé-õóáàâî,
<em class="quotelev1">> Íèêîëà
<em class="quotelev1">> 

============================================================================
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.