[linux-network] iptables ve hostname!

---------

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

From: Mesut GÜLNAZ (mesutgl@iem.gov.tr)
Date: Fri 30 Apr 2004 - 08:38:40 EEST


arkadaşlar
serverda bunları yaptıktan sonraki isteklere izin vermeme sorunum ortadan kalktı.
yani server ayarları normale döndü.
ama reboot attıktan sonra tekrar eski haline geliyor ve tüm bunları tekrar yazmam gerekiyor.
bunu nasıl yapabilirim.
her reboot ta bunu yazmak zorında mıyım?
ayrıca hostname nasıl değiştirebilirim?

console de
#hostname new.domain.com

yazdığım zaman oluyor. ama reboot da tekrar eski ismini alıyor.

bu iki problemimi temelden halledecek bir çözüm arıyorum!
Teşekkürler.

        iptables -P INPUT ACCEPT
        iptables -P FORWARD ACCEPT

        iptables -P OUTPUT ACCEPT

        iptables -t nat -P PREROUTING ACCEPT

        iptables -t nat -P POSTROUTING ACCEPT

        iptables -t nat -P OUTPUT ACCEPT

        iptables -t mangle -P PREROUTING ACCEPT

        iptables -t mangle -P OUTPUT ACCEPT

        iptables -F

        iptables -t nat -F

        iptables -t mangle -F

        iptables -X

        iptables -t nat -X

        iptables -t mangle -X


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

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.