Home Server


Forum: Networking
Topic: Home Server
started by: hs7sv

Posted by hs7sv on Jan. 03 2007,06:09
I'm setting up My DSL Home Server at my place in Petaling Jaya, Selangor, Malaysia. I got an idea from < this document >.

Components:-
- Dell Optiplex GX240 - P4 1.5GHz, RAM 256MB, HDD 20GB
- DSL-2.4 GRUB Frugal (Options: home=hda3 opt=hda3)
- iptables.dsl (in myDSL/System)
- < 2 Mbps Broadband Internet Access >
- < XAMPP for Linux 1.5.5a >
- < Dynamic DNS >

Network Diagram:
                                        |   Server (Routing)     |
| Private Network |------|  eth0 : 192.168.0.254 |         | ISP Connection         |
| 192.168.0.0/24     |        |---------------------------|        | REMOTE IP ADDR  |---> INTERNET
                                        |  61.4.107.81 : eth1     |------| 202.73.10.4                 |


This is gateway.sh that I'm using (from < this document >) :-
Code Sample
#!/bin/sh

 sudo ifconfig eth0 192.168.0.254 netmask 255.255.255.0 up
 sudo ifup eth1

 # Delete and flush. Default table is "filter". Others like "nat" must be explicitly stated.
 # - Flush all the rules in filter and nat tables
 iptables --flush
 iptables --table nat --flush

 # - Delete all chains that are not in default filter and nat table
 iptables --delete-chain
 iptables --table nat --delete-chain

 # Set up IP FORWARDing and Masquerading
 iptables --table nat --append POSTROUTING --out-interface eth1 -j MASQUERADE
 iptables --append FORWARD --in-interface eth0 -j ACCEPT

 # - Enables packet forwarding by kernel
 echo 1 > /proc/sys/net/ipv4/ip_forward


I put gateway.sh in /opt and call it from bootlocal.sh

You can test My DSL Home Server by: < Bandwidth Speed Test > and  < 2MB Download Speed Test >.

DSL Mirror Site: < http://dsl4asia.homelinux.org/mirrors/damnsmalllinux.org/ >  :D

Posted by hs7sv on Jan. 04 2007,03:53
Thank you for your testing:-

Speeds for 83.104.239.76 - Cholsey, United Kingdom - January 4th, 2007 12:16am - 18.3 kbps
Speeds for 190.82.8.23 - Lampa, Chile - January 4th, 2007 12:36am - 53.8 kbps
Speeds for 89.136.19.194 - Buzau, Romania - January 4th, 2007 5:57am - 111.5 kbps  :)

Undersea cables have been broken because Earthquake in Taiwan on 28-Dec-06.
I think that why connection speed for Asia - UK and Asia - US are not good enough.  :(

Posted by hs7sv on Jan. 05 2007,07:16
Thank you for your testing:-

Speeds for 166.166.228.197 - Hardenville, Missouri, United States - January 5th, 2007 3:50am - 32.6 kbps
Speeds for 66.234.49.92 - Ridgewood, New York, United States - January 5th, 2007 9:37am - 199.9 kbps   :)
Speeds for 85.124.120.203 - Dornbirn, Vorarlberg, Austria - January 5th, 2007 7:53pm - 134.5 kbps

Posted by hs7sv on Jan. 06 2007,07:45
Thank you for your testing:-

Speeds for 207.224.113.34 - Dixie, Washington, United States - January 6th, 2007 7:51am - 336.3 kbps  :D
Speeds for 205.161.210.247 - Cedar Falls, Iowa, United States - January 6th, 2007 10:12am - 68.3 kbps
Speeds for 74.135.227.68 - Springfield, Illinois, United States - January 6th, 2007 4:26pm - 216.3 kbps

Posted by hs7sv on Jan. 08 2007,03:35
Thank you for your testing:-

Speeds for 84.147.113.73 - Weiden, Bayern, Germany - January 7th, 2007 9:22pm - 24.7 kbps
Speeds for 81.232.50.70 - Östra Odarslöv, Sweden - January 7th, 2007 10:01pm - 103.3 kbps
Speeds for 62.216.125.65 - Hammaslahti, Finland - January 8th, 2007 4:15am - 220.5 kbps  :)

Posted by hs7sv on Jan. 09 2007,12:16
Thank you for your testing:-

Speeds for 62.194.220.108 - Apeldoorn, Gelderland, Netherlands - January 9th, 2007 4:41am - 108.4 kbps  :)
Speeds for 89.48.191.78 - Marl, Nordrhein-Westfalen, Germany - January 9th, 2007 5:53am - 17.3 kbps

Posted by hs7sv on Jan. 15 2007,07:09
Thank you for your testing:-

Speeds for 84.250.6.199 - Kierlä, Finland - January 14th, 2007 10:46pm - 59.4 kbps
Speeds for 87.3.212.22 - Rome, Lazio, Italy - January 15th, 2007 5:23am - 248.9 kbps :)
Speeds for 87.3.212.69 - Rome, Lazio, Italy - January 15th, 2007 5:23am - 195.5 kbps
Speeds for 60.50.251.197 - Petaling Jaya, Malaysia - January 15th, 2007 5:20pm - 520.9 kbps :D

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.