|
Re: lug-bg: Redirect port to another machine with iptables
- Subject: Re: lug-bg: Redirect port to another machine with iptables
- From: polux_lug@email.domain.hidden (Mihail Vlahovski)
- Date: Wed, 26 Mar 2003 19:55:05 +0200
Probvai sys
iptables -A PREROUTING -t nat -p tcp -d 11.222.222.44 --dport 111 -j DNAT --to
11.22.22.22:110
Taka trqbva da bachka.
Pozdravi,
Misho
On Wednesday 26 March 2003 18:44, Yavor Shahpasov wrote:
<em class="quotelev1">> Niakoi moje li da mi pomogne,
<em class="quotelev1">>
<em class="quotelev1">> optivan se da prenasocha s iptables i nat trafic ot edna machina do druga
<em class="quotelev1">>
<em class="quotelev1">> hosta:110 --> hostb:110
<em class="quotelev1">>
<em class="quotelev1">> opttah tova
<em class="quotelev1">> iptables -t nat -A PREROUTING -p tcp -d 11.222.222.44--dport 111 -j
<em class="quotelev1">> REDIRECT --to-destination 11.22.22.22:110
<em class="quotelev1">>
<em class="quotelev1">> no iavno ne bachka
<em class="quotelev1">>
<em class="quotelev1">> triabva mi neshoto kato vova samo che da prashta na drugata mashina na tozi
<em class="quotelev1">> port
<em class="quotelev1">>
<em class="quotelev1">> iptables -t nat -A PREROUTING -p tcp -d 64.224.205.33 --dport 111 -j
<em class="quotelev1">> REDIRECT --to-port 110
<em class="quotelev1">>
<em class="quotelev1">> Yavor
<em class="quotelev1">>
<em class="quotelev1">> ===========================================================================
<em class="quotelev1">>= A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
<em class="quotelev1">> http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara
<em class="quotelev1">> Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
<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
============================================================================
|
|
|