Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Home Server, My DSL Home Server< Next Oldest | Next Newest >
hs7sv Offline





Group: Members
Posts: 247
Joined: June 2005
Posted: Jan. 03 2007,06:09 QUOTE

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


--------------
"My advice is to just  return hardware that does not work with a plain Linux kernel, right to the place where you bought it, and ask for your money back..."

Klaus Knopper
Back to top
Profile PM ICQ AOL MSN YIM 
hs7sv Offline





Group: Members
Posts: 247
Joined: June 2005
Posted: Jan. 04 2007,03:53 QUOTE

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.  :(


--------------
"My advice is to just  return hardware that does not work with a plain Linux kernel, right to the place where you bought it, and ask for your money back..."

Klaus Knopper
Back to top
Profile PM ICQ AOL MSN YIM 
hs7sv Offline





Group: Members
Posts: 247
Joined: June 2005
Posted: Jan. 05 2007,07:16 QUOTE

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


--------------
"My advice is to just  return hardware that does not work with a plain Linux kernel, right to the place where you bought it, and ask for your money back..."

Klaus Knopper
Back to top
Profile PM ICQ AOL MSN YIM 
hs7sv Offline





Group: Members
Posts: 247
Joined: June 2005
Posted: Jan. 06 2007,07:45 QUOTE

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


--------------
"My advice is to just  return hardware that does not work with a plain Linux kernel, right to the place where you bought it, and ask for your money back..."

Klaus Knopper
Back to top
Profile PM ICQ AOL MSN YIM 
hs7sv Offline





Group: Members
Posts: 247
Joined: June 2005
Posted: Jan. 08 2007,03:35 QUOTE

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  :)


--------------
"My advice is to just  return hardware that does not work with a plain Linux kernel, right to the place where you bought it, and ask for your money back..."

Klaus Knopper
Back to top
Profile PM ICQ AOL MSN YIM 
6 replies since Jan. 03 2007,06:09 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Home Server

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code