Viewing by month: September 2009

Sep 6 2009

IPTABLES - Opening server ports to specific IP addresses

 

Iptables shell script

I have been doing some housekeeping on my VPS, and decided there's a few ports that should only be accessed by certain IP addresses for security purposes.

My VPS uses Linux, so I had to find a way to somehow changing my iptables settings to block the specific ports to every IP address, except for the ones I specified.

It's pretty straight forward, and here  how you can block a specific port to everyone except for some IP addresses (the instructions are for Centos 5.5, but should work for other distros without problems):

Open our iptables settings file:

 

Read more...

  comments - Posted by Marcos Placona at 6:20 PM - Categories: Linux | VPS

Sep 2 2009

Updating Java on Centos

Java on Centos
(Photo: tutchiio)

I'm only writing this blog post because I usually try to keep my VPS up to date, and usually one of the things I have to do to accomplish such thing is updating the Java version.

Read more...

  comments - Posted by Marcos Placona at 12:00 PM - Categories: Website Optimization | Linux | General Techie Stuff | Technology







Related URLs

Subscribe

Categories

Search Archives

Monthly Archives