Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th November 2006, 19:43
iovo iovo is offline
Junior Member
 
Join Date: Oct 2006
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
Question ISPConfig firewall and iptables help !!!

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.

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

Thank You!
Reply With Quote
Sponsored Links
  #2  
Old 16th November 2006, 15:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by iovo
2. i will use pop3 and smtp only from 2 ip
For Postfix, you can use smtp_bind_address in /etc/postfix/main.cf: http://www.howtoforge.com/forums/sho...p_bind_address
Quote:
Originally Posted by iovo
3. I will use ISPConfic admin part only from 2 IP
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
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bastille - firewall in ISPConfig. keybd_user Installation/Configuration 4 26th June 2006 12:19
configuring IPTABLES firewall adityavpratap HOWTO-Related Questions 9 27th May 2006 21:42
Firewall question for Virtual Users/domains using postfix/courier/MySQL toastmaster HOWTO-Related Questions 1 25th January 2006 07:04
ISPConfig firewall issue dwyoung Installation/Configuration 5 12th December 2005 10:26
Firewall and ISPConfig MyLinux General 3 7th September 2005 09:36


All times are GMT +2. The time now is 09:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.