Jump to content

debianuser

Active Members
  • Posts

    271
  • Joined

  • Last visited

Posts posted by debianuser

  1. Is the machine that you are running the firewall on also your router? You will need to put your routes and then make sure that the system your running mail on sits in front of the firewall, like Stinwray said.

    I haven't had the pleasure of running a mail server yet but I think that rather than placing the entire box in a DMZ you can just route that traffic through the firewall, on the second IP, to your server. There really are a lot of different ways to set it up, just depends on your needs and wants. I'd love to hear how it works out for you and how you end up setting it up, keep us posted.

    Ya I think I will keep my present public IP address and just do a port forwarding on port 25 to the mail server... the domain will be hosted on the mail server and if needed of a webserver, i will just add a port 80. I am just thinking that it won't be necessary to have a second public IP address.

    thanks lads for the help

  2. If IP Cop is any good then you should be able to set it up to forward all data for the second public IP address to a computer on your home network or DMZ.

    I know Monowall does this so I don't see why not IP Cop shouldn't.

    so let's say I got this two public IP 87.0.0.0 and 89.0.0.0

    so my firewall still is 87.0.0.0 but then I do a DMZ of the IP 89.0.0.0 to the internal mail server?

    is that what you meant?

    thanks a lot guys!

  3. If you want two public facing IPs your going to have to get your ISP to give them to you, and they are going to want more money from you. You may be better off doing port forwarding to your e-mail server as well. Do you know if the IP you have now is static? If you want to run an e-mail/web server you will probably want a static IP, unless you want to mess with something like DynDNS.

    having two ip and paying for it is not a problem...

    the server will be hosting the domain, i doubt i should do a port forwarding in that case

    my question is more that I need another firewall solution in order to assign those two public IP address to the different network cards

    thanks

  4. Hello guys

    thanks for taking the time to read this post...

    I need to get two public IP address from my ISP... one for the firewall and the other one for the email server... the present firewall I am using right now is IP COP. However, IP COP has what they call the orange card.. which basically is a DMZ of the single IP address the firewall gets... or I do not want to do DMZ...

    I wanna have two public IP, one hosted on the firewall so that I could use to do all kind of port forwardings to other servers running inside the lan also to the Video Conf. system and another public IP for the server that would be running the web and email server.

    following me then?

    so I don't think this is possible with IP COP... so I was wondering, do you guys have any other suggestions?

    thank you

    rigel

  5. Yo people

    I am wondering, how do you with only one command add a user to the system and also to the samba server...

    so like instead of going

    adduser toto

    password: blablabla

    and after

    smbpasswd too

    etc...

    is there a way to just do it with one command?

    maybe through a bashscript?

    thx

  6. Thanks Cooper for all the help you've given me so far...

    I have gone to install ubuntu server since debian messes up my hard disk... too bad :cry:

    The ubuntu server version seemed a bit weird... the first thing I had to do was to install xinetd while inetd.conf was present on the system... and man... what the hec of a job to install that laser printer... looks like ubuntu server is a bit messed up.... have you ever tried it?

    I dunno how i feel about running ubuntu as server... would they be an alternative since Debian cann't be installed (old kernel.. not good drivers)..

    I though of Suse since the german government uses it...

    what do you think? any recommendations....

    thank you so much!

  7. Hello Cooper

    thanks for the reply

    I do use a SATA ( i think I know the difference betweeb SATA and IDE ;-) )

    well I tried to install SUSE and the device as you said is "sda" ... tried Ubuntu Server version.. the same "sda"

    so is Debian having problem to recogize the SATA disk.. i though that was fixed starting with kernel 2.6

    with Suse or Ubuntu .. the dual core is recognized

    and under both linux dist. the hdparm gives

    Timing cached reads:   4704 MB in  2.00 seconds = 2352.00 MB/sec
    
     Timing buffered disk reads:   204 MB in  3.02 seconds =   67.55 MB/sec

    so what do you think?

    i did a test to copy a 800 MB file and it copied it from a mac client to the server in fairly 20-30 sec

    please give feedbacks

    thanks a lot

  8. alright Cooper

    I did the test - for the cpu - it was only one line

    cat /proc/cpuinfo | grep processor
    
    processor       : 0

    this is the test of the hard disk

    hdparm -tT /dev/hdc1
    
    
    
    /dev/hdc1:
    
     Timing cached reads:   4700 MB in  2.00 seconds = 2348.01 MB/sec
    
     Timing buffered disk reads:   10 MB in  3.12 seconds =   3.21 MB/sec

    so for the cpu - i just need to install a SMP-capable kernel?

    what do you think of the performances of the disk?

    thanks mate

  9. SATA doesn't have the concept of 'primary' and 'secondary'. Your disk is the only device on the cable (there are exceptions, but they're pricy) so it's got a direct connection with the controller. Your controller presumably has 4 SATA ports to it. Each runs equally fast unless the chipset is crappy, or the system's bus has become sturated (not particularly likely at this stage).

    Now with PATA, there IS the concept of primary and secondary drive on the cable. Because those 2 drives are duking out who gets to transfer data across the wire at any given point, any setup that involves a Primary and Secundary device on an IDE cable will be sub-optimal.

    For some quick figures, run 'hdparm -tT /dev/sd<whatever>' which will perform a quick and dirty read test. For more meaningful numbers install and run Bonnie++ which will create files and directories on your system in an effort to measure total file system performance.

    Please post the results, and specify which part of it is disappointing to you.

    alright.. I will do the test and post them...

    one more thing I need to specifiy is why then in the BIOS - my ide atapic cd rom is a primary master and my hdd is a secondary master?

    thanks

  10. :lol: Hooray for marketing!

    SATA-3GB... You know what the 3GB/s is? The speed at which the drive's buffer (typically 8 MB. 16mb tops) can be accessed. Burst rate at that. The actual drive speed (as in getting previously unread data from the actual platter) will be more in the low 10s of megabytes. Use Bonnie++ to get some actual figures.

    As for the dual-core, make sure you're running an SMP-capable kernel. When you run "cat /proc/cpuinfo | grep processor" there should be 2 lines (processor 0 and processor 1). If there isn't, you're not running an SMP-capable kernel.

    Hello Cooper - thanks for man for replying I was getting desperate here.

    I got the for the cpu... one thing I did not get is about the SATA.. I use debian 3.1 with 2.6 kernel.. could it be that the drivers are just not working correctly?

    and top of the head... that is really matter if i put the SATA disk on the secondary master channel? like is the speed affected whenever it's on the primary channel or secondary channel? that should not matter much, right?

    thanks guys!

  11. Ok guys...

    I finally bought that server...

    1Gb dual channel - Pentium D 3 Ghz - Asus P5WD2 Premium Motherboard and 500 Gb SATA - 3 Gb/s

    I installed Debian on it and as far as i tested.. the performances are really not what I expected...

    is it because some more tweaking need to be done especially to use the potential of the dual core and the SATA hdd?

    if yes could you please guide me or give advice..

    my SATA HDD is set up on 2 Primary channel...

    thanks a lot

  12. Ok guys... after trying here and there

    I came up with this configuration that seems fair enough for the work on the server

    so here it is

    MB: Gigabyte K8N Pro http://www.tigerdirect.com/applications/Se...&CatId=1569

    CPU: Opteron 165 Dual core - 1.8 Ghz

    1024Mb Ram Dual channel

    500 GB sata hdd - 3 Gb/s

    and the rest is standart...

    now my question is how in the world would I know if when I get the material it would be Linux compatible, especially Debian Compatible?

    :roll:

  13. The reason the device is still there is because I got it for free with my ADSL connection. It's a nice, small box that you just hang on the wall someplace near where the phone line comes out of the wall.

    Obviously it would be neater/cleaner when I had a PCI card or something that did the bridging towards the internet, much like a modem used to do in the old days. The problem is that under Linux support for the undoubtedly cheap POS cards you're likely to acquire will probably be iffy at best.

    So I took the safe route: an ADSL router that would bridge from my LAN to the internet. It can do a ton of other stuff, but since it can't report to my log server and I sure as hell aren't going to import those logs every day or so, I chose to just let it just leave that stuff to the machines that do know how to report suspicious activity.

    Cooper... thanks for the insight! do you mind telling me which distribution you installed on your firewall... did you just go for a distribution and edited iptables rules or did you go for those linux distributions oriented firewalls?

    thanks a lot man

  14. What type of distro where you all running the FTP servers on? The desktop version or the Server version. Could I run a server off the unbuntu desktop version or will I be better off using the server version?

    Bvlaar

    well what do you mean by server version?

    an OS acts as a server if it provides services - file sharing etc.. and is mainly dedicated to that..

    if you use the same OS and install openoffice and all the other stuff.. then it acts as a PC..

    you can run a ftpserver on your ubuntu, as well as yo ucan do the same on a windows machine

  15. I don't trust ANY of those devices.

    My ADSL router, despite being a fancy/pricy one, is configured to just be a bridge. I.e. Transfer all the data it receives onto my LAN, and I'll deal with it from there, using my own router/firewall.

    No complaints yet...

    So at that point, isn't better to just configure your firewall machine to be a router and get rid of the router? or why then would you still keep the router and then forward the packets to a firewall? any particular reason (especially security wise)?

    thanks a lot for the help guys!!!

  16. Man!!!

    after spending two days building a personalized firewall and router, I came up to realize that the guys for whom I work have a D-Link DI-524 High Speed firewall-router http://www.dlink.com/products/?pid=316. The possibility to configure this firewall are really not bad, a lot of options including NAT,MDZ and so on...

    So I am not sure, do I decide to go with my debian box running my "awesome" IP-Tables rules or do I decide to just plug that D-LINK to the ISDN connection?

    I am not an expert of such technologies but can I trust this kind of router? does it not heat a lot and therefore succeptible to freeze?

    Another thing is that having a debian firebox allows me a more flexibility but then when thinking of what I need or expect from a firewall, looks like the D-Link can pretty much do the job

    What do you guys think? would you choose the D-LINK or still go with the debian box?

    thanks a lot

  17. Well for 500 euros it’s (£339.79 is that going to be the full build cost?) going to be shit and not overly suitable if your dealing with say 60 people concurrently. How much storage do you need?

    Go for Opteron’s. (That MB is shit)

    the 500 euros were more dedicated to invest into Motherboard-CPU and RAM.. the rest can be pulled out from old computers..

    i am getting 2 * 500 GB for storage..

  18. How much you have to spend?

    Arround 300-500 euros?! well at that point money ain't really be a big deal.. if we need to invest more, we will!

    How many people will be using it at any one time?

    Well see that's the trick - within the LAN, up to 10-20 people... for the ftp server.. up to 30-40! but I can always limit the number of connections

    How important is uptime?

    99.9% if possible

    any suggestions, I was checking out this motherboard http://www.asus.com/products4.aspx?l1=9&am...amp;modelmenu=1

  19. Hello guys!

    We're trying to build a server for the company in which I am doing my internship. This server will pretty much act as ftp and file sharing running Debian of course ;-)

    I just mainly need assistance on the hardware level. Like what you guys could recommand, for example Mother board wise etc...

    so here where few things, I would love to have your inputs, before I go "shopping"

    Processor: I was thinking about getting on of those AMD 1 Ghz Socket A Athlon or an AMD - Sempron64 3400+ (Socket AM2)

    MotherBoard: MSI K7T Pro (this one ain't be fast but I heard was really stabke)... anything else you guys can suggest regarding motherboard?

    Ram: 512MB Toshiba PC133

    I am also going for IDE Disk, not SCSI.. reason is because in case the machine fails, they can still pull out the hard disk and plug it to an external case and still continue the work...

    so what you guys think? I am open for suggestions, corrections "no one is perfect ;-)"

    thanks again

  20. How about electronical engineering, would the certifications be good for that, or i'm just wasting my time and should go with Computer Science?

    go for CS

×
×
  • Create New...