|
Re: lug-bg: iptables "match mark" problem
- Subject: Re: lug-bg: iptables "match mark" problem
- From: gf@email.domain.hidden (Georgi Chorbadzhiyski)
- Date: Fri, 07 Mar 2003 18:23:24 +0200
gecata wrote:
<em class="quotelev1">> Spored men triabva i da -j RETURN markiranite paketi. Ne sym go
<em class="quotelev1">> pravil, no imah vysmojnostta da razgledam sript praven ot "Iptables
<em class="quotelev1">> GURU". Tochno tova praveshe choveka, pyrvo markira, posle RETURN-va.
<em class="quotelev1">> Ne mojah da si obiasnia zashto, no mai e po-chitavo taka. Razgledai
<em class="quotelev1">> advanced routing howto. Tam sa opisani verigite i nachina po koito
<em class="quotelev1">> paketite vlizat, preminavat i izlizat ot mashinata. Priatno chetene.
Problemat beshe, che poradi rannoto stavane i pisane na scriptove v
oshte zaspalo systoianie biah obarkal POSTROUTING s PREROUTING v
reda v koito izpolzvah SNAT target. Vsichko inache beshe nared.
Za arhiva. Tova e korektniat red. Pri markirani bg mrezhi sys 16
maskira zad .3-to IP. Raboti chudesno :)
iptables -A POSTROUTING -t nat -s 10.0.0.0/8 --match mark --mark 16 -j SNAT --to 193.110.159.3
EOT
--
Georgi Chorbadzhiyski
http://georgi.unixsol.org/
============================================================================
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
============================================================================
|
|
|