Solutionist's Blog

Tech | Health | Life | Travel

Open Port 80 (HTTP Web Server Port) in CentOS / Redhat

The default configuration file for iptables based firewall under RHEL / CentOS / Fedora Linux is /etc/sysconfig/iptables.   # vi /etc/sysconfig/iptables Add extra lines in red   # Firewall configuration written by system-config-firewall # Manual customization of this file is not recommended. *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -m […]

policy / source based Routing – Linux

In the following example, we have 2 gateways to the internet and we have 1 default route. In this scenario, the default route(the link that all traffic will go out to), is WAN1. We want only SMTP/email traffic to go out via WAN2, but all other traffic to follow te default route via WAN1. The […]

NTFS read write – Mac OS X mountain lion

To Read/Write/Format NTFS from Mac OS X, here are some alternatives: For Mac OS X 10.4 or later (32 or 64-bit), install Paragon (approx $20) (Best Choice for Lion) For 32-bit Mac OS X, install NTFS-3G for Mac OS X (free) (does not work in 64-bit mode) For 64-bit Snow Leopard, read this: MacFUSE for […]

Squid – make HTTPS proxy

There seems to be a bit of confusion about configuring SQUID to transparently intercept SSL (read: HTTPS) connections. Some sites say it’s plain not possible: http://www.faqs.org/docs/Linux-mini/TransparentProxy.html#ss2.3 Recent development in SQUID features have made this possible. This article explores how to set this up at a basic level. The SQUID proxy will basically act as a […]

Squid https transparent proxy setup with SSL

Squid https transparent proxy setup with SSL Let’s understand first how squid proxy works in transparent mode. While setting up squid as a transparent proxy we can forward the entire request coming from port 80 to squid server’s port i.e. 3128 by default. When we talk about port 80 it means http protocol. What if […]

setup vacation auto responder with sendmail

Requirement: Vacation, Sendmail, SquirrelMail, SquirrelMail Local User Autoresponder and Mail Forwarder plugin, SquirrelMail Compatibility plugin, vsftp and CentOS 5 1. Download vacation-1.2.6.3.tar.gz from the link below: – http://vacation.sourceforge.net 2. Extract the vacation to a temporary directory as below: – tar xvfz vacation-1.2.6.3.tar.gz -C /tmp 3. Change directory to /tmp/vacation-1.2.6.3 as below: – cd /tmp/vacation-1.2.6.3 4. […]

Secured By miniOrange