Linux Learning
Linux Learning
com/questions/430852/centos-iptables-configuration-for-external-firewall
Check linux server is under attack
http://www.pc-freak.net/blog/how-to-check-if-your-linux-webserver-is-under-a-dos-attack/
25 Most Frequently Used Linux IPTables Rules Examples
http://www.thegeekstuff.com/2011/06/iptables-rules-examples/
SSL Certificate in linux dovecot
http://paulschreiber.com/blog/2008/08/01/how-to-create-a-self-signed-ssl-certificate-for-dovecoton-debian/
SME Server
http://smallboxadmin.blogspot.in/2009/01/setting-up-sme-server-test-environment.html
http://wiki.contribs.org/FTP_Access_to_Ibays#Configure_the_SME_ftp_service_for_public_acce
ss_using_password_authentication
http://www.sme-server.de/download/Howtos/ssl.html
http://serverfault.com/questions/389994/postfix-and-sendmail-restriction-for-spam
https://www.centos.org/modules/newbb/viewtopic.php?
topic_id=22648&forum=37&post_id=90751#forumpost90751 (yum repository)
Centos Gateway Serverhttp://www.facebook.com/note.php?note_id=262266830487005
VI Editor - http://everythingineed.in/library/linux/vi.html
http://helpinlinux.com/
Create Yum in RHEL 6
http://www.techlila.com/create-repository-linux/
http://dev-random.net/finding-folder-size-with-du-and-disk-space-left-with-df-in-linux/
Mail Server
http://kdn2.info/2010/11/postfx-postfixadmin-dovecot-roundcube-centos/ (imp)
http://www.noob2geek.com/linux/setup-vsftpd-debian-ubuntu/
(ftp configuration)
http://wiki.centos.org/HowTos/postfix_sasl (imp)
http://houseoflinux.com/e-mail/postfix-dovecot-mysql-squirrelmail-on-centos-5-5-32-64bits/page-2 (squirrel mail configuration)
http://d3vnu11.net/?itemid=7
Postfix for multiple domains
http://www.knowplace.org/pages/howtos/smtp_gateway_for_multiple_domains_with_postfix.php
http://shamuntoha.wordpress.com/2010/01/04/centos-postfix-postfixadmin-advanced/
http://ghid-it.blogspot.in/2009/10/centos-postfixadmin-dovecot-howto.html
Roundcube
http://wiki.qnap.com/wiki/RoundCube_Configuration#Testing_your_configuration
Troubleshooting
localhost.localdomain pinging sendmail
http://www.johnathankong.ca/category/linux/
http://slaptijack.com/system-administration/warning-documentroot-does-not-exist/
http://serverfault.com/questions/174788/stop-postfix-local-relay-external-mail-server
http://codeidol.com/unix/linux-troubleshooting/E-Mail-Server-Troubleshooting/Switchingbetween-MTAs-with-the-Alternatives-System/ (postfix restart failed)
http://serverfault.com/questions/371713/unable-to-telnet-into-port-25-on-centos-postfix-server
(unable to telnet to 25)
backup php mysql and upgrade php
http://helpinlinux.com/tag/upgrade-php-to-5-3-5-centos-rhel-steps/
Proper ssl certificate for dovecot and postfix
http://workaround.org/comment/2291
http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
Zimbra Opensource Edition
http://www.zimbra.com/downloads/os-downloads.html
Turnkey Appliance
http://www.turnkeylinux.org/
PHP 5.1 to 5.3 remi repository (no updates marked) resolved
https://www.centos.org/modules/newbb/viewtopic.php?topic_id=31461
disable relay in sendmail
http://benoit808.wordpress.com/2010/06/11/disabling-relay-for-localhost-smtp-server-sendmailon-linux/
http://www.sendmail.com/sm/open_source/tips/smtp_relaying/
----http://blog.secaserver.com/2011/08/setup-mail-gateway-postfix/
http://aaronwalrath.wordpress.com/2010/04/15/set-up-an-email-gateway-with-centos-linux-5-4/
http://kdn2.info/2010/11/postfx-postfixadmin-dovecot-roundcube-centos/
https://sites.google.com/site/ghidit/how-to-2/centos-mail-server-setup-postfix-dovecot-mysqlvirtual-users-sasl-postfixadmin-tls/postfix-development-tools-installation
http://blog.jambura.com/2012/02/02/mail-server-installation-on-ubuntu/
http://www.howtoforge.com/build-a-full-featured-mail-server-with-postfix-dovecot-postgresql-oncentos-6
http://www.cyberciti.biz/faq/postfix-limit-incoming-or-receiving-email-rate/
http://www.felipe-alfaro.org/blog/2006/02/19/block-sender-address-spoofing-with-smpt-auth/
Sendmail Administratorhttp://etutorials.org/Server+Administration/Sendmail/Part+II+Administration/Chapter+14.+Signal
s+Transactions+and+Syslog/reject/
Postfix and MySQL Problem
http://enc.com.au/2005/03/postfixmysql/
Configure Postfix,Dovecot,MySQL
http://library.linode.com/email/postfix/dovecot-mysql-centos-5#sph_install-required-packages
https://sites.google.com/site/ghidit/how-to-2/centos-mail-server-setup-postfix-dovecot-mysqlvirtual-users-sasl-postfixadmin-tls
Squid
http://magazine.redhat.com/2007/04/11/squid-in-5-minutes/
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch3
2_:_Controlling_Web_Access_with_Squid
http://techmiso.com/1934/howto-install-squid-web-proxy-server-with-activedirectory-authentication/
http://www.liberiangeek.net/2011/01/connect-to-fedora-14-from-windowsvia-remote-desktop-connection-with-xrdp-server/
FTP
If you are receiving the following FTP error while connecting to the server then probably your
server is missing the kernel moduleip_conntrack_ftp and you need to install it.
Steps to install ip_conntrack_ftp
#modprobe ip_conntrack_ftp
#/etc/init.d/iptabes restart
http://www.chaaps.com/how-to-install-and-run-microsoft-office-2007-in-ubuntulinux.html
The X serer configuration HOW TO
http://www.gentoo.org/doc/en/xorg-config.xml
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-x-server-configuration.html
Enable Aetheros in Linux (Drivers)
http://tuxthink.blogspot.com/2010/08/enabling-atheros-ethernet-controller-on.html
http://rhythmcloud.blogspot.com/2010_07_01_archive.html
http://www.erwinki.com/2012/03/nic-driver-atheros-ar8151-for-rhel-5x.html
http://original.jamesthornton.com/linux/
http://kiranjith83.blogspot.com
http://wiki.centos.org/HowTos/I_need_the_Kernel_Source
Compiling kernel in centos
http://mattiasgeniar.be/2011/02/19/building-your-own-kernel-based-on-centos-switchroot-mountfailed-kernel-panic/
http://www.microdevsys.com/WordPress/2008/01/13/linux-networking-device-eth0-does-notseem-to-be-present-delaying-initialization/
http://www-uxsup.csx.cam.ac.uk/pub/doc/redhat/redhat7.3/rhl-ig-x86-en-7.3/index.html
http://www.cyberciti.biz/tips/compiling-linux-kernel-26.html
http://blog.lystor.org.ua/2010/05/atheros-ethernet-atl1e-centos-54.html
Postfix
Spam Control
http://www.jonsblog.org/2011/11/30/stay-off-of-blacklists-limit-postfix-recipients/
http://www.irtaza.com/servers/linux/centos/centos-mysql-must-know-commands-in-commandline-interface/
Install SSL in apache
http://blog.salientdigital.com/2011/03/19/how-to-install-an-ssl-certificate-on-centos-for-apache/
Disable directory browsing
http://www.techiecorner.com/106/how-to-disable-directory-browsing-using-htaccess-apacheweb-server/
IPtables
As an alternative you may want to only limit access to countries via port 80. This line will drop all attempts from the
subnet at 201.0.0.0/8 in reaching any port except port 80.
iptables -A INPUT -s 201.0.0.0/8 -p tcp -dport ! 80 -j DROP
https://access.redhat.com/knowledge/docs/enUS/Red_Hat_Enterprise_Linux/4/html/Security_Guide/s1-firewall-ipt-fwd.html
[imp]
http://linuxpoison.blogspot.in/2008/11/ftp-port-forwarding-using-iptables.html
http://www.cyberciti.biz/faq/iptables-block-port/
Redirecting network traffic
http://www.debuntu.org/how-to-redirecting-network-traffic-a-new-ip-using-iptables
http://www.yolinux.com/TUTORIALS/LinuxTutorialIptablesNetworkGateway.html
http://www.techrepublic.com/article/linux-101-configuring-and-managing-iptables-to-improvenetwork-security/5997057 [imp]
http://www.cyberciti.biz/faq/rhel-fedorta-linux-iptables-firewall-configuration-tutorial/
[imp]
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch14_:_Linux_Firewalls
_Using_iptables [imp]
http://www.gdn.net/~ruinnation/Swamp/slack/iptables.htm
open smtp
http://www.cyberciti.biz/tips/linux-iptables-15-how-to-block-or-open-mail-serversmtpprotocol.html
open ftp
http://www.cyberciti.biz/faq/iptables-open-ftp-port-21/
open pop3
http://www.cyberciti.biz/tips/linux-iptables-14-how-to-allow-pop3-serverprotocol-request.html
https://access.redhat.com/knowledge/docs/enUS/Red_Hat_Enterprise_Linux/4/html/Security_Guide/s1-firewall-ipt-fwd.html
http://www.simplehelp.net/2009/04/15/how-to-redirect-traffic-to-another-machine-in-linux/
http://www.lammertbies.nl/comm/info/iptables.html
http://www.slackbook.org/html/security-host.html
http://linuxconfig.org/collection-of-basic-linux-firewall-iptables-rules
http://www.legend.ws/blog/tips-tricks/traffic-forwarding-on-linux-using-iptables/
http://linuxconfig.org/collection-of-basic-linux-firewall-iptables-rules
Netstat Command
http://www.thegeekstuff.com/2010/03/netstat-command-examples/