Results 1 to 5 of 5

Thread: how to iptables, nat, ipchain for small office server

  1. #1

    Wink how to iptables, nat, ipchain for small office server

    dear sir.

    this is Prince, I just not quite good familiar with linux,
    so please help me to build a linux server for internet sharing

    1. I have 512Kbps dedicated duplex bandwidth
    2. 115.127.27.72/29 network from ISP
    3. I have configured eth0 with 115.127.27.74 netmask 255.255.255.248
    broadcast 115.127.27.79
    4. eth1 configured with 192.168.96.1 netmask 255.255.248.0 broadcast
    192.168.103.255

    5. I want to manage bandwidth to local computer per ip basis.(
    64kbps/128/256kbps)
    6. I want to authorize by using mac /physical address
    7. every user should access web via proxy/ no one user can access web
    without proxy

    8. want to store cache every queries of local user's in server (1Mb-100Mb)
    9. proxy cache swap in every 7 days

    please help

    regards
    saiful azom prince

  2. #2
    You can use squid, with static MAC addresses in DHCPd to restrict internal machines, cache, and bandwidth.
    arrogance breeds ignorance

    Screaming Electron, Full of BSD Goodness

  3. #3
    I've created dhcpd with squid but I couldnt configure squid for bandwidth management per IP basis. would you please help me out from here ?

  4. #4
    For per-user limiting, it will be a lot easier, and better if you use CBQ, and 'tc' (traffic control). Using squid on a per-user basis can be a bit of a hassle, and when only one person is on, it will not allow you to have the rest of the bandwidth. CBQ will give you this, and be able to set it for individuals, while giving each one different limitations if you want.

    CBQ/TC
    arrogance breeds ignorance

    Screaming Electron, Full of BSD Goodness

  5. #5
    Squid has support for bandwidth pooling. You can use that to limit bandwidth by IP address or by user. http://www.howtoforge.com/squid-dela...dth-management

Similar Threads

  1. Replies: 0
    Last Post: 07-25-2007, 07:55 AM
  2. Brand new to LINUX - fixing a office network server with email and ftp.
    By metomeya in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 06-06-2006, 01:03 AM
  3. Home Office DNS mail server config.
    By dramdayal in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 02-04-2005, 07:48 PM
  4. Small PHP help needed
    By cloverm in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 09-29-2003, 11:25 PM
  5. Star Office and MS Office
    By jman_77 in forum Windows - General Topics
    Replies: 9
    Last Post: 07-12-2002, 05:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •