Re: [Linux-ag] iptables ip/port yönlendirme

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Erdem TAÅžKIRAN (erdem@cumhuriyet.com.tr)
Date: Fri 25 Aug 2006 - 13:37:07 GMT


iptables -t nat -A PREROUTING -s 0/0 -d 212.45.64.1 -p tcp --dport 81 -j
DNAT --to 192.168.1.1:80

----- Original Message -----
From: "Yılmaz Bilgili" <ybilgili@yahoo.com>
To: <linux-ag@liste.linux.org.tr>
Sent: Friday, August 25, 2006 4:32 PM
Subject: Re: [Linux-ag] iptables ip/port yönlendirme

> Diğer yönlendirmelerim çalışıyor. Mesela 80. porttan web server başta
> verdiğim örnek ile çalışıyor. Keza pop ve smtp de aynı şekilde.
>
>
> On Fri, 25 Aug 2006 16:27:25 +0300
> "genco yilmaz" <gencoyilmaz@gmail.com> wrote:
>
>> Peki cihazinizda yonledirmeyi actiniz mi? Siz yonlendirmeye izin
>> vermeden paketler yonlendirilmeyecektir.
>>
>> sysctl -a | grep net.ipv4.ip_forward
>>
>> komutundan gelen cikti da 1 mi var 0 mi?
>>
>> 0 varsa
>>
>> sysctl net.ipv4.ip_forward=1
>>
>> ile 1 yapip deneyin.
>>
>>
>>
>> On 8/25/06, Yılmaz Bilgili <ybilgili@yahoo.com> wrote:
>> > Merhaba,
>> >
>> > Cevabınıza teşekkürler. Fakat ben bunu kendimce zaten denedim ve
>> > olmadı. FORWARD kısmını da kaldırdım yine birşey fark etmiyor.
>> >
>> > Selamlar.
>> >
>> >
>> >
>> > On Fri, 25 Aug 2006 13:46:16 +0300
>> > "genco yilmaz" <gencoyilmaz@gmail.com> wrote:
>> >
>> > > Selam,
>> > > Bir kismini kendiniz yapmissiniz.
>> > >
>> > > iptables -t nat -A PREROUTING -i eth1 -p tcp -d 212.45.64.1 --dport
>> > > 81
>> > > -j DNAT --to 192.168.1.1:80
>> > >
>> > > seklinde bir satir isinizi gorebilir. Ayrica FORWARD zincirini
>> > > tanimlamaniza gerek yok
>> >
>> >
>> > _______________________________________________
>> > Linux-ag mailing list
>> > Linux-ag@liste.linux.org.tr
>> > http://liste.linux.org.tr/mailman/listinfo/linux-ag
>> >
>> >
>> >
>>
>>
>> --
>> Linux Forumu
>> http://www.linuxforumu.net
>

--------------------------------------------------------------------------------

_______________________________________________
Linux-ag mailing list
Linux-ag@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-ag

_______________________________________________
Linux-ag mailing list
Linux-ag@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-ag


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.