Re: [Linux-ag] iptables Nasıl Yapmam Lazım

---------

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

From: PH (linux@ergulnakliyat.com)
Date: Sat 21 May 2005 - 18:36:12 EEST


dediğinizi yaptım fakat olmadı
bunda ise
 iptables -t nat -APREROUTING -i eth0(router if) -p tcp --dport 3389 -j
DNAT --to-destination 192.168.1.120:3389
bunu yaptığımda ise hata veriyor. (router if )'in anlamı nedir. herhalde
ondan dolayı hata veriyor

----- Original Message -----
From: "Ayhan HACIOĞLU" <ayhanhacioglu@sanovel.com.tr>
To: <linux-ag@liste.linux.org.tr>
Sent: Saturday, May 21, 2005 11:29 AM
Subject: RE: [Linux-ag] iptables Nasıl Yapmam Lazım

Tekrar Kontrol ettim dün size gönderdiğim mailde bir yanlışlık vardı, onu
düzelterek size doğrusunu gönderiyorum.

Router(özelliklerine bağlı olarak) in Linux pc ye herseyi route
ettiğinden emin olduktan sonra, Tcp 3389 TS portunu şu şekilde
icerideki bir TS sunucuya yönlendirebilirsiniz. iptables -t nat -A
PREROUTING -i eth0(router if) -p tcp --dport 3389 -j DNAT --to-destination
192.168.1.120:3389

-----Original Message-----
From: linux-ag-bounces@liste.linux.org.tr
[mailto:linux-ag-bounces@liste.linux.org.tr] On Behalf Of Ayhan HACIOĞLU
Sent: Saturday, May 21, 2005 11:21 AM
To: linux-ag@liste.linux.org.tr
Subject: RE: [Linux-ag] iptables Nasıl Yapmam Lazım

Dün bir mail göndermiştim size gmail uzerinden, onu denediniz mi ?

-----Original Message-----
From: linux-ag-bounces@liste.linux.org.tr
[mailto:linux-ag-bounces@liste.linux.org.tr] On Behalf Of PH
Sent: Saturday, May 21, 2005 10:19 AM
To: linux-ag@liste.linux.org.tr
Subject: Re: [Linux-ag] iptables Nasıl Yapmam Lazım

arkadaşlar hala şu iptables olayını beceremedim.. olmadı tüm dediklerinizi
yaptım fakat olmadı

iptables kurallarım aşağıda

Chain PREROUTING (policy ACCEPT 1 packets, 48 bytes)
 pkts bytes target prot opt in out source
destination

Chain POSTROUTING (policy ACCEPT 2 packets, 172 bytes)
 pkts bytes target prot opt in out source
destination
    1 195 MASQUERADE all -- * eth1 0.0.0.0/0
0.0.0.0/0

Chain OUTPUT (policy ACCEPT 3 packets, 367 bytes)
 pkts bytes target prot opt in out source
destination

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target prot opt in out source
destination
   21 1773 ACCEPT all -- lo * 0.0.0.0/0
0.0.0.0/0
    0 0 ACCEPT all -- eth0 * 0.0.0.0/0
0.0.0.0/0
   21 1632 ACCEPT all -- * * 0.0.0.0/0
0.0.0.0/0 state RELATED,ESTABLISHED
    1 48 ACCEPT tcp -- * * 0.0.0.0/0
0.0.0.0/0 tcp dpt:8080
    0 0 ACCEPT tcp -- * * 0.0.0.0/0
0.0.0.0/0 tcp dpt:22
    0 0 ACCEPT all -- * * 0.0.0.0/0
0.0.0.0/0 state RELATED,ESTABLISHED
    0 0 DROP all -- * * 0.0.0.0/0
0.0.0.0/0

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target prot opt in out source
destination
    0 0 ACCEPT all -- eth0 * 0.0.0.0/0
0.0.0.0/0
    0 0 ACCEPT all -- !eth1 * 0.0.0.0/0
0.0.0.0/0 state NEW

Chain OUTPUT (policy ACCEPT 44 packets, 23942 bytes)
 pkts bytes target prot opt in out source
destination

_______________________________________________
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

_______________________________________________
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.