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

Перенаправление трафика на внешний адрес Перенаправление трафика на внешний адрес

Здраствуйте форумчани, во первых простите за мой плохой русский язык, пишу биллинг систему и хочу реализировать заглушку для тех клиентов у кого отрицательни баланс, для этого у меня два AddressList

 

allow для аквтивних ползователей : add chain=srcnat action=masquerade out-interface=ether5 src-address-list=allow

disabled у кого отрицательни баланс : add chain=dstnat protocol=tcp dst-port=80 action=redirect to-ports=8083 src-address-list=disabled

 

/ip proxy

set enabled=yes

set port=8081,8082,8083,8084,8085

add action=deny disabled=no local-port=8083 dst-address=!192.168.1.2 redirect-to="google.com"

 

можете подсказать в чем подвох ? правильно ли делаю ? могу ли обойтись без прокси ? простите еще раз за такой русский :) последный раз говорил по русский в третом классе :) и спасибо за внимание

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.