ISPConfig firewall and iptables help !!!

Discussion in 'General' started by iovo, Nov 15, 2006.

  1. iovo

    iovo New Member

    hello everybody,

    I'm using ISPConfig wiht SUSE 10 64bit, and i want to reject some access to my server. There is specific question.

    1. I will use ftp access only from 2 IP

    2. i will use pop3 and smtp only from 2 ip

    3. I will use ISPConfic admin part only from 2 IP

    How to make this?
    i want to reject all other ip. How can i do this?
    and finaly
    4. How to reject http access from specific ip?


    Please help me.

    :eek: I'm new linux user, so if you want to help me, please be a comprehensively and strictly.

    Thank You!
     
  2. falko

    falko Super Moderator Howtoforge Staff

    For Postfix, you can use smtp_bind_address in /etc/postfix/main.cf: http://www.howtoforge.com/forums/showthread.php?t=8141&highlight=smtp_bind_address
    You must modify /root/ispconfig/httpd/conf/httpd.conf. There's a line
    Listen 81
    in it. Change it to
    Code:
    Listen 1.2.3.4:81
    if your IP address is 1.2.3.4. If you want to add another IP address, add
    Code:
    Listen 1.2.3.5:81
    Then restart ISPConfig:
    Code:
    /etc/init.d/ispconfig_server restart
     

Share This Page