Menu
Menu

How to add to and edit iptables

Posted in Linux on June 17, 2017
Tags: , ,

If you're using a firewall on your server, you'll want to edit your IPtables. Here's how you can add new IPs or edit existing ones. Remember port 22 is for ssh and port 21 for FTP. vi /etc/sysconfig/iptables Edit the IPs in /etc/sysconfig/iptables. Then save changes and run this command to commit changes service iptables Read More »

How to fix sendmail, iptables, and email delay/not sending

Posted in Linux on April 29, 2017
Tags: ,

I had some issues with sendmail actually sending out an e-mail. Then sometimes if I stopped the iptables firewall some emails would make to my inbox but that's quite a big delay. What I had to do to get my mail working smoothly and sending right away was to allow my server's (or lan) IP Read More »