Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th October 2010, 09:50
Wizard of Wiring Wizard of Wiring is offline
Junior Member
 
Join Date: Sep 2007
Posts: 24
Thanks: 2
Thanked 1 Time in 1 Post
Default Debian Lenny + ISPConfig3 + Samba

/etc/network/interfaces
Code:
auto eth0
iface eth0 inet static
        address 192.168.1.50
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.10

auto eth0:0
iface eth0:0 inet static
        address 192.168.1.55
        netmask 255.255.255.0
/etc/hosts
Code:
192.168.1.50    server.mydomain.com       server
192.168.1.55    samba.mydomain.com       samba
/etc/hostname
Code:
server.mydomain.com
/etc/Bastille/bastille-firewall.cfg
Code:
TRUSTED_IFACES="lo"                               # MINIMAL/SAFEST
PUBLIC_IFACES="eth+ ppp+ slip+ venet+"     # SAFEST
INTERNAL_IFACES=""                                # SAFEST
/etc/init.d/bastille-firewall restart
complains about special characters and virtual hosts if I do:
Code:
INTERNAL_IFACES="eth0:0"
In the ISPConfig Control Panel I can add another IP address to the server but if I add an IP address I get:
server.mydomain.com 192.168.1.50
server.mydomain.com 192.168.1.55

If I could make:
server.mydomain.com 192.168.1.55
be:
samba.mydomain.com 192.168.1.55
I could just open up the ports 137-139,445 using ISPConfig firewall on .55

Doing a lot of digging around the forum I came across this thread:
http://www.howtoforge.com/forums/showthread.php?t=6209

I am not familiar enough with IP Tables yet to carve out my own solution using that thread.

Basically the end goal is for a router to forward to .50 and .55 be used locally.

Last edited by Wizard of Wiring; 6th October 2010 at 09:54.
Reply With Quote
Sponsored Links
  #2  
Old 6th October 2010, 13:06
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,751
Thanks: 840
Thanked 5,602 Times in 4,413 Posts
 
Default

If your server is behind a router, then you do not need a firewall as the ispconfig server runs only services that had to be accessible. Better switch off the bastille firewall and use the firewall of your router instead. Then just forward the ports for services that you want to reach from the internet from your router to your server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 17:54
amavis rejects all inbound emails aclhkaclhk Installation/Configuration 5 28th February 2010 05:24
[debian 5 + ispconfig 3] Unable to send mail tanakskool HOWTO-Related Questions 6 4th November 2009 19:20
SAMBA PDC + Debian Lenny with LDAP backend troubles richardnixonshead Server Operation 0 9th September 2009 01:35
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 01:57


All times are GMT +2. The time now is 22:35.


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