limit number of sessions per host

hi
anyone can help me with session limitation per 1 user ?
i m using pppoe .
i need some clients to limit their sessions to 30 only .

regards

you can set limit to overal TCP connections per user,
‘/ip firewall filter add chain=forward protocol=tcp tcp-flags=syn connection-limit=31,32 action=drop’.
Note, p2p application can generate a lot of connection and it will influence user with TCP connection limit (in other words, when 30 connections are used by user, client will be unable to establish new connection[open web-page, etc.])

Skynoc.

for more information see :
http://www.mikrotik.com/testdocs/ros/2.9/ip/filter.php

but our clients they do not need more than 10 sessions at least .
Remember , our ISP or all our ISPs , they decided to give all their clients or restricted to 10 sessions … so that what makes this package to be cheap .

This package is only for 1 computer .

NB: This session limitation is only for TCP requests.

To only allow not more than 10 simultaneous connections from each of the clients, do the following:

/ip firewall filter add chain=forward protocol=tcp tcp-flags=syn connection-limit=11,32 action=drop

and for P2P , you can mark P2P connections and limit it .
Regards,
Ghassan

Its not work for me
I applied this to my routerOS, later I can still torch one user with more than 30 session going on

My network has 1 LAN interface, act as both PPPoE & Hotspot services