قمت بعمل شبكة لتوزيع خدمة الانترنت بين عدد من الاجهزة . و الآن أريد أن أن أفرض بعض القيود علي المشتركين . أحدد السرعة لكل جهاز لتفادي مشاكل البرامج التي تستهلك كامل السرعة, و قطع الخدمة عن بعض الاجهزة المتصلة بالشبكة , و منع الوصول لبعض العناوين . الحقيقة أنا لا أملك خبرة في هذا المجال . بحثت عن الطرق و وجدت أن أنسب طريقة عمل سيرفر للشبكة .
أولا أريد التأكد هل هذا حل فعال فعلا للمشكلة ؟ وهل هناك حل أسهل و اكثر عملية؟
ثانيا : تطوع أحد الأعضاء في احدي المنتديات بشرح القيام بذلك عن طريق ويندوز سيرفر و برمجيات اخري . و أنا كنت ارغب في أعتماد حل مفتوح المصدر . أريد ان اعرف الخطوط العريضة للمتطلبات سواء هارد وير ( الأجهزة و تصميم الشبكة ) أو سوفتوير ( البرمجيات المستخدمة ) حتي أدرس امكانية القيام بالفكرة.و أنا سأبحث عن التفاصيل بعد ذلك اذا قررت اعتماد هذه الفكرة .
2 lines not 4 lines
2 lines not 4 lines ;-)
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
For traffic shaping, check lartc.org
For the hardware, you need _any_PC_ with 2 network cards.
WWW: The place for organized randoms!
squid
i suggest that you run squid too.. very powerful proxy-caching solution..
If you gonna do that don`t buy CPU with dual core or HT, squid use one CPU..your bottleneck will be RAM and HDD , RAM (depend on users number).
you can get 2 HDD and use RAID0 that will help much in HDD speed but if one of those HDD fail you will lose all data on those HDDs, but i don`t think it will be impo as it will be caching machine ..
I Was Known as POSIX



Well for hardware it won't
Well for hardware it won't require anything fancy. Just an old PC with 2 network cards, a DSL router and a switch.
Topology
DSL Router -----| Server PC |----- Switch ---- Client PCsss
The client PCs need to be configured so that the server's internal IP is the internet gateway. At the server, you need to do traffic forwarding and NAT. AFAIK, this is done using IPTables. You'll find lots of tutorials about this if you search, and it's only like 4 lines to make it work. As for the bandwidth issue, I don't have any idea how to do this but I'm sure it can be done.