Jump to content
Калькуляторы

Нарезка сессий на PPPoE соединении

Добрый вечер, на микротике создал PPPoE сервер,Создал тарифы, пользователей, проблема в том , как ограничить кол-во сессий, все клиенты подключаются по PPPoE

Share this post


Link to post
Share on other sites

Если Вас не затруднит не могли бы вы дать ссылку на инструкцию или описать как это сделать

 

Ограничение количества пакетов в микротике

 

/ip firewall filter

add action=add-dst-to-address-list address-list=dst_list chain=forward dst-address=192.168.1.1-192.168.1.254 protocol=udp

add action=add-src-to-address-list address-list=src_list chain=forward dst-address=!192.168.1.1-192.168.1.254 protocol=udp

add chain=forward dst-address-list=dst_list dst-limit=200,200,dst-address protocol=udp

add chain=forward src-address-list=src_list dst-limit=200,200,src-address protocol=udp

add action=reject chain=forward dst-address-list=dst_list protocol=udp

add action=reject chain=forward src-address-list=src_list protocol=udp

 

Указываете свою сеть только, заместо 192.168.0.х, а 250 это количество пакетов разрешенное каждому клиенту. Можете поставить больше. Кто сколько ест пакетов можно посмотреть через Torch на интерфейсе.

Share this post


Link to post
Share on other sites

как ограничить кол-во сессий

Это → PPPoE

one-session-per-host (yes | no; Default: "no") Allow only one session per host (determined by MAC address). If a host will try to establish a new session, the old one will be closed

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.