|
Re: Re: lug-bg: IP Maskarading
- Subject: Re: Re: lug-bg: IP Maskarading
- From: todorin@xxxxxx (Todor Belev)
- Date: Fri, 20 Dec 2002 14:58:13 +0200 (EET)
Struva mi se che pyrvia primer shte raboti samo za PPP interfeisi,
Nai-chisto ako imash dva LAN interfeisa e po dobre da SNAT-vash
zad interfeis, ne zad IP.
Za Vasko moga da preporycham bez mnogo mnogo da chete da polzva neshto gotovo, koeto daje go ima na RPM - www.shorewall.org
todorin
>-------- Îðèãèíàëíî ïèñìî --------
>Îò: Georgi Chorbadzhiyski gf@xxxxxxxxxxx
>Îòíîñíî: Re: lug-bg: IP Maskarading
>Äî: lug-bg@xxxxxxxxxxxxxxxxxx
>Èçïðàòåíî íà: 2002-12-20 14:02:40.0
>----------------------------------
>Vasko Tomanov wrote:
>> moje li niakoi da mi prati primer kak nai lesno da si konfiguriram IP
>> Maskarating ? naprimer IP Chains ili IP Tables ?
>
>http://www.netfilter.org/documentation/HOWTO/NAT-HOWTO.html
>
>s iptables, predpolaga se che 10.0.0.0/8 e tvoiata mrezha
>
>iptables -A POSTROUTING -t nat -s 10.0.0.0/8 -d ! 10.0.0.0/8 -j MASQUERADE
>
>ako imash niakolko IP-ta na mashinata i iskash da izbirash zad koe
>tochno da se maskirat izlizashtite paketi
>
>iptables -A POSTROUTING -t nat -s 10.0.0.0/8 -d ! 10.0.0.0/8 -j SNAT --to 193.110.159.2
>
>
>--
>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
>============================================================================
>
-----------------------------------------------------------------
http://www.globul.bg/promotions.html - 120 áåçïëàòíè ìèíóòè ïðåç 2003ã.; 30ëâ. âðåìå çà ðàçãîâîðè îò GLOBUL
============================================================================
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
============================================================================
|
|
|