Posts Tagged ‘ips’

How to Configure Virtual IP Address in Linux

Invoke the linuxconf tool. ( type linuxconf in the shell prompt and press Enter ). For starting this tool you have to be logged in as Super user.

In the displayed menu, select the menu item : IP Aliases for virtual hosts and press Enter. This will display [...]

 Read More

Be the first to comment - What do you think?  Posted by Editor - March 7, 2009 at 10:32 am

Categories: Linux   Tags: , , , , , , , , , , , , , ,

How to find your netmask – FreeBSD

It is important to note that in FreeBSD (unlike linux) you will use the correct netmask for all IPs (even aliases) but with FreeBSD you will only need this once. After you have added the first IP the rest of the IPS (aliases) will use netmask 255.255.255.255. The following will guide you to how to [...]

 Read More

Be the first to comment - What do you think?  Posted by Editor - March 5, 2009 at 9:52 am

Categories: Linux   Tags: , , , ,

How to Block IP address of any country with iptables

Sometime it is necessary to block incoming connection or traffic from specific remote host. iptables is administration tool for IPv4 packet filtering and NAT under Linux kernel. Following tip will help you to block attacker or spammers IP address.
 The blocklist is create with an API I wrote and you can use wget to update the [...]

 Read More

Be the first to comment - What do you think?  Posted by Editor - February 23, 2009 at 1:16 am

Categories: Linux   Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Fedora 9: How to Install SquidGuard Proxy Filter

SquidGuard is a URL redirector and content filter addon that restricts proxy clients from accessing particular and/or banned site(s), IP addresses, URLs, website patterns using the proxy server.  SquidGuard can be used in conjunction with Squid proxy to implement website content filter from the proxy server.
Here’s a run down on how to install and integrate [...]

 Read More

1 comment - What do you think?  Posted by admin - September 15, 2008 at 7:56 pm

Categories: Linux   Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

How to Configure and build bonding in Linux

Most popular distro kernels ship with the bonding driver already available as a module and the ifenslave user level control program installed and ready for use. If your distro does not, or you have need to compile bonding from source (e.g., configuring and installing a mainline kernel from kernel.org), you’ll need [...]

 Read More

Be the first to comment - What do you think?  Posted by admin - September 8, 2008 at 5:45 am

Categories: Articles, Linux   Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

How to Secure Memcached

Memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. Memcached is a great piece of software that was designed with performance in mind. Still, memcached has little (or should I say none?) security features built-in. If we run [...]

 Read More

Be the first to comment - What do you think?  Posted by admin - August 25, 2008 at 10:45 pm

Categories: Linux   Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

How to quickly bind a range of IPs on RedHat based systems

Normally when you add a new IP to a network interface in a RedHat based system you create a file ifcfg-eth0:x in /etc/sysconfig/network-scripts/. For example:
/etc/sysconfig/network-scripts/ifcfg-eth0:0
DEVICE=eth0:0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.100
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
TYPE=Ethernet
Similar to the above example you can create several aliases. But what if you have to add a lot of IPs that are in a range like this? Let’s say that [...]

 Read More

Be the first to comment - What do you think?  Posted by admin - at 10:42 pm

Categories: Linux   Tags: , , , , , , , , , , , , , , , , , , ,

How to Set up a PPTP VPN server on Debian Etch

PPTP is known to be less secure than other VPN software, but if you need a quick solution for a VPN server that will connect out of the box from Windows workstations PPTP is the obvious choice. This post will show how easy it is to setup a pptp vnp server on Debian Etch.
A while [...]

 Read More

Be the first to comment - What do you think?  Posted by admin - at 10:30 pm

Categories: Linux, VPN   Tags: , , , , , , , , , , , , , , , , , , , , , , , , ,

How to Set up a Firewall in 20 Minutes SmoothWall Express firewall

SmoothWall Express 2.0 is a free Linux-based firewall, which installs on a dedicated machine. Its interesting features include the ability to set up a DMZ for hosting the Web servers, FTP servers and an IDS (Intrusion Detection System) to protect your internal network. The firewall is also compatible with ISDN and ADSL and automatically senses [...]

 Read More

1 comment - What do you think?  Posted by admin - August 19, 2008 at 2:37 am

Categories: Networking, Security   Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

HOW TO CONFIGURE SENDMAIL

With the growth of the Internet, e-mail has quickly become the main vehicle to spread information through the public at large. As the demand for fast, cheap and reliable e-mail grows, more individuals are turning to Linux to provide a fast, cheap and reliable solution.
sendmail was originally developed by Eric Allman, in 1979, as “delevermail”, [...]

 Read More

2 comments - What do you think?  Posted by admin - August 12, 2008 at 4:31 am

Categories: Email, Sendmail   Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Add additional IPs to one NIC in Linux

Two commands:
$ /sbin/ifconfig eth0:0 192.168.0.4
$ /sbin/route add -host 192.168.0.4 dev eth0:0
(replace that IP with the one you’d like to add)
This change will no longer be in effect after rebooting. Therefor you must add the two commands to the bottom of your /etc/rc.local file. Your NIC should now be listening and responding on both this [...]

 Read More

3 comments - What do you think?  Posted by admin - August 11, 2008 at 10:11 pm

Categories: Linux   Tags: , , , , , , ,