|
Re: lug-bg: IP Maskarading
- Subject: Re: lug-bg: IP Maskarading
- From: gf@xxxxxxxxxxx (Georgi Chorbadzhiyski)
- Date: Fri, 20 Dec 2002 13:49:05 +0200
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
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
============================================================================
|
|
|