• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 680
  • Last Modified:

Restrict bandwidth in Samba


Is it possible to restrict bandwidth to certain Samba shares?

I have some shares that users of a VPN access, and I don't want them hogging the bandwidth on our leased line when transferring files.

  • 2
2 Solutions
Not necessarily a samba thing... you could perhaps look into trafficshaping/limiting/QoS/whatchamacallit:-) for your VPN instead.
What you have available is highly dependant on the network infrastructure/components.
Have a look at https://sourceforge.net/projects/cbqinit and https://sourceforge.net/projects/htbinit ...

-- Glenn
Karl Heinz KremerCommented:
Glenn already gave you the correct answer. If you want some information before you start to work with either one of these projects, check out the Advanced Routing HOWTO, it has some information about traffic shaping, and it may also help to decide with of the two is better suited for you.
Karl Heinz KremerCommented:
... next time I'll include the link right away :-)

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now