Browsing the archives for the Virtualization category.


IPtables, SSH, Ubuntu Securty, etc..

Configuring Ubuntu, F.A.Q.'s, How To's, IDS, LAMP, Open Source, P.C. Linux, Router Reviews, Routers, Security, Tech Industry News, Ubuntu, Ubuntu Server, virtual machines, Virtualization, VMware, WRT54G

I have noticed some posts need updating. I will be adding new posts for new software versions and moving old posts to a archive. If something on here is incorrect or needs updating sign up and leave me post or use our simple contact form on the right!

IPtables, SSH, Ubuntu Securty, etc..

No Comments

Updated IPtables Configuration File – 4-20-2010

Configuring Ubuntu, F.A.Q.'s, How To's, IDS, LAMP, Open Source, P.C. Linux, Routers, Security, Tech Industry News, Ubuntu, Ubuntu Server, virtual machines, Virtualization

#—————————————————————
# Initialize all the chains by removing all the rules
# tied to them
#—————————————————————

iptables –flush
iptables -t nat –flush
iptables -t mangle –flush

#—————————————————————
# The loopback interface should accept all traffic
# Necessary for X-Windows and other socket based services
#—————————————————————

iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT

#—————————————————————
# Allow outbound DNS queries from the FW and the replies too
#
# – Interface eth0 is the internet interface
#
# Zone transfers use TCP and not UDP. Most home networks
# websites using a single DNS server won’t require TCP statements
#
#—————————————————————

iptables -A OUTPUT -p udp -o eth0 –dport 53 –sport 1024:65535 \
-j ACCEPT
iptables -A INPUT -p udp -i eth0 –sport 53 –dport 1024:65535 \
-j ACCEPT

#—————————————————————
# Allow previously established connections
# – Interface eth0 is the internet interface
#—————————————————————

iptables -A OUTPUT -o eth0 -m state –state ESTABLISHED,RELATED \
-j ACCEPT

#—————————————————————
# Allow port 80 (www) and 22 (SSH) connections to the firewall
#—————————————————————

iptables -A INPUT -p tcp -i eth0 –dport 22 –sport 1024:65535 \
-m state –state NEW -j ACCEPT

iptables -A INPUT -p tcp -i eth0 –dport 80 –sport 1024:65535 \
-m state –state NEW -j ACCEPT

#—————————————————————
# Allow port 80 (www) and 443 (https) connections from the firewall
#—————————————————————

iptables -A OUTPUT -j ACCEPT -m state \
–state NEW,ESTABLISHED,RELATED -o eth0 -p tcp \
-m multiport –dport 80,443 -m multiport –sport 1024:65535

#—————————————————————
# Allow previously established connections
# – Interface eth0 is the internet interface
#—————————————————————

iptables -A INPUT -j ACCEPT -m state –state ESTABLISHED,RELATED \
-i eth0 -p tcp

#—————————————————————
# If a packet doesn’t match one of the built in chains, then
# The policy should be to drop it
#—————————————————————

iptables -A INPUT -j DROP
iptables -A OUTPUT -j DROP
iptables -A FORWARD -j DROP

No Comments

VMware Server 2 with Windows 7 as a host – Networking Issues.

Configuring Ubuntu, F.A.Q.'s, How To's, P.C. Linux, Tech Industry News, Ubuntu, Ubuntu Server, Virtualization, VMware

I had a problem where I could not get networking on my virtual machines within vmware to work. I could ping 127.0.0.1, my router 192.168.1.1, but nothing on the itnternet.

After doing some research on the issue, alot of people say use “bridge mode” use “nat” configure it and use “host only” Nothing would work for me…..I did some research:

I am using ShrewSoft VPN. For some weird reason the Shrew DNS Filter services makes VM’s networking misbehave. if you disable the services in MMC>services…..Ta-Da it works.

Keep in mind this will stop you form looking up dns over your VPN……so use your hosts file or figure out another way to make dns work.

questions or answers let me know.

No Comments

IPtables for Dummies (a beginners guide to IPtables firewall)

Configuring Ubuntu, F.A.Q.'s, How To's, IDS, LAMP, Open Source, P.C. Linux, Security, Ubuntu, Virtualization

I always have people asking me for a dummies guide to IPtables, and in all reality their isn’t one it takes time, reading, and understanding to use it properly. If IPtables is used properly and effectively it can save you hundreds of dollars in networking equipment and time. Here is a collection of several IPtables how-to’s and links I have collected for people through the years.

No Comments

Installing VMware Server 2 on Windows XP Professional in seven simple steps

Cools Mods, F.A.Q.'s, Fast Track, How To's, Tech Industry News, virtual machines, Virtualization

This guide will walk you through Installing VMware Server 2 on Windows XP Professional in seven simple steps.

To view larger images just click the picture.

Step One: Download VMware Server.

Step Two: Run the Installer and click next.

Step Three: Read license terms and if you agree select yes, then next.

Step Four: Choose your installation location and select next.

Step Five: Fill out your domain name or your machines netbios domain name if just using locally. also select your ports to access and the click next.

Step Six: Select which icons you want the installer to create.

Step Seven: This may very well be the most crucial step in installing VMware Server. Select “Install”.

When the installer is finished just click finish and restart your computer.

No Comments
« Older Posts