Skip to content

Arch Server Progress

Chitchat
  • @Madchatthew I have to admire the bravery here in the sense that not only are you using Arch without any real “hard and fast” guides, but also are doing everything individually instead of relying on something like Webmin or Virtualmin. Whilst this is daunting, it’s absolutely the best way to learn in my view, as it forces you to roll up your sleeves and get under the hood.

    Postfix and Dovecot can equally prove to be very challenging. There are a number of guides on the internet in relation to best configuration settings, although some of these are sadly either outdated, or completely wrong (or in some cases, both!).

    All in, a great update - keep us posted! 🙂

  • @phenomlab Yeah, they are both very challenging. I’m not completely done with setting them up yet and have a ways to go. I can see how using Webmin/Virtual min is really nice because they take care of all that stuff for you. It is nice to learn and see how everything works under the hood. I don’t know if I will remember all of it, but I have enjoyed going through this process.

    I am able to send emails from my server now, so I am doing something right, hahaha! I would say that I am about 1/2 way done with the whole email server setup. This has been spending anywhere from 2 to 4 hours on it at a time. My schedule doesn’t allow me to sit and get it done all in one day. I never realized how involved and time consuming setting up an email server can be.

  • good job 🙂

  • @DownPW said in Arch Server Progress:

    good job 🙂

    Thank you very much!

  • I just installed Redis today and am using that for caching with the two Wordpress sites that I have on my server. I wanted to install Redis anyways in case if I ever start using Nodebb I can have the multiple sessions going to make it faster.

    The wordpress sites run super fast as well after adding and configuring them to work with Redis. I need to configure Redis a little more but for the most part it is working great.

  • @Madchatthew yes, it takes time, but no so much once you grow accustomed to the process. After a while you get a sense of what will work and what will not, and it also pays - certainly in the sense of PostFix to keep a golden configuration file that you know works.

    It’s disturbingly easy to take PostFix offline with one single mistake.

  • @phenomlab yeah I have been reading about that as well in regard to Postfix. One little piece forgotten or changed in any little way can topple the whole thing down haha. It is crazy. And also, thank you for reminding me that once I get everything working and running to make a copy of those config files. That will help in the future and just may save my bacon.

  • I wanted to give an update on this. I have been working on trying to get a postfix, dovecot along with a couple of other programs working on this server. So far I have been unsuccessful. I am not giving up though and plan on starting a new thread to document each step that I take. Maybe someone will be able to see my mistake that I made or what I am missing and be able to help figure it out.

    I know it would be easier to just go through one of the mail websites that are out there, but I would really like to learn this process.

  • @Madchatthew Feel free to post the issues here 🙂

  • Well, I must say that I was finally able to get email working on my Arch server. I still need to setup postgrey and some spam assassin, get the dmarc and spf and one or two others setup and then it should be good to go for the most part. I am mainly using it to be able to send mail from websites, but having the option to have a separate email for their domains will be very nice.

    Once my brain solidifies after all of that, I will share what what I did. One thing I found is that it is important to just take it piece by piece and get each part working before moving on to the next. Also, test test test after each change, or each section.

  • I also wanted to post this. Here are the latest stats for the server so far. This is with all of the software setup and running along with doing updates once a week after testing them on my dev test server and making sure websites function properly.

    image.png

  • 100 days up and running. I have been doing updates each week and websites running strong and fast. I do not regret my decision of switching to Arch.

    image.png

  • @Madchatthew is this self hosted, or a VPS?


Related Topics
  • Linux on a Stick

    Linux
    8
    5 Votes
    8 Posts
    127 Views

    @phenomlab I will do that. I am hoping to buy it within the next week or two.

  • Network Security Monitoring

    Learning
    7
    3 Votes
    7 Posts
    208 Views

    @phenomlab I will check those out. Thanks for sharing. I appreciate it!

  • 0 Votes
    4 Posts
    693 Views

    @DownPW 🙂 most of this really depends on your desired security model. In all cases with firewalls, less is always more, although it’s never as clear cut as that, and there are always bespoke ports you’ll need to open periodically.

    Heztner’s DDoS protection is superior, and I know they have invested a lot of time, effort, and money into making it extremely effective. However, if you consider that the largest ever DDoS attack hit Cloudflare at 71m rps (and they were able to deflect it), and each attack can last anywhere between 8-24 hours which really depends on how determined the attacker(s) is/are, you can never be fully prepared - nor can you trace it’s true origin.

    DDoS attacks by their nature (Distributed Denial of Service) are conducted by large numbers of devices whom have become part of a “bot army” - and in most cases, the owners of these devices are blissfully unaware that they have been attacked and are under command and control from a nefarious resource. Given that the attacks originate from multiple sources, this allows the real attacker to observe from a distance whilst concealing their own identity and origin in the process.

    If you consider the desired effect of DDoS, it is not an attempt to access ports that are typically closed, but to flood (and eventually overwhelm) the target (such as a website) with millions of requests per second in an attempt to force it offline. Victims of DDoS attacks are often financial services for example, with either extortion or financial gain being the primary objective - in other words, pay for the originator to stop the attack.

    It’s even possible to get DDoS as a service these days - with a credit card, a few clicks of a mouse and a target IP, you can have your own proxy campaign running in minutes which typically involves “booters” or “stressers” - see below for more

    https://heimdalsecurity.com/blog/ddos-as-a-service-attacks-what-are-they-and-how-do-they-work

    @DownPW said in Setting for high load and prevent DDoS (sysctl, iptables, crowdsec or other):

    in short if you have any advice to give to secure the best.

    It’s not just about DDos or firewalls. There are a number of vulnerabilities on all systems that if not patched, will expose that same system to exploit. One of my favourite online testers which does a lot more than most basic ones is below

    https://www.immuniweb.com/websec/

    I’d start with the findings reported here and use that to branch outwards.

  • Linux vs Windows - who wins ?

    Blog
    8
    4 Votes
    8 Posts
    372 Views

    @phenomlab LOL ah yes, I remember all of that. The good ole days!

  • nginx can't start again

    Moved Solved Configure
    20
    2 Votes
    20 Posts
    1k Views

    @elhana-fine Yes that will happen of of course if you still choose to restart the NGINX service after making a change and the test fails. The test on it’s own will state the error and the line number allowing you to fix that first 🙂

  • SSl expired on virtualmin

    Solved Configure
    18
    3 Votes
    18 Posts
    1k Views

    @justoverclock Not necessarily. You only need to use this if it fails from the Virtualmin window

  • Environment Variables

    Solved Linux
    8
    1 Votes
    8 Posts
    690 Views

    @madchatthew great you got this to work ! Thanks for the update.

  • help me configuring cron job for fof/sitemap - flarum

    Solved Configure
    36
    18 Votes
    36 Posts
    2k Views

    you are too fast 😉