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

Проброс портов UBNT-MT

Приветствую.

 

Есть 951-2n и UBNT AirCam

Надо пробросить 80-й порт камеры.

 

На МТ pppoe подключение ловит статик IP. NAT-ит на 2 сети (10.0.0.0/24 и 10.0.2.0/24 допустим) себе и гостям.

Добавление правила во вкладке NAT - chain-dsnat; dst.adress-мой_static_IP; protocol-tcp; dst.port-4000 / action-dst-nat; to adress-10.0.0.10 (UBNT AirCam) to ports-80

 

Ничего не дало.

 

 

До этого настраивал МТ на проброс портов с другого типа оборудования и при другом типе подключения - всё получилось. Сейчас немогу понять - или вопрос в UBNT AirCam или в правиле dstnat при использовании pppoe.

 

Подскажет кто?

Edited by sk1nn3r

Share this post


Link to post
Share on other sites

Вот так делают DMZ, входной интерфейс Ether1.

 

/ip firewall nat

add action=netmap chain=dstnat dst-port=1-8290 in-interface=ether1 protocol=tcp to-addresses=192.168.1.254 to-ports=1-8290

add action=netmap chain=dstnat dst-port=8292-65535 in-interface=ether1 protocol=tcp to-addresses=192.168.1.254 to-ports=8292-65535

add action=netmap chain=dstnat dst-port=8292-65535 in-interface=ether1 protocol=udp to-addresses=192.168.1.254 to-ports=8292-65535

add action=netmap chain=dstnat dst-port=1-8290 in-interface=ether1 protocol=udp to-addresses=192.168.1.254 to-ports=1-8290

Share this post


Link to post
Share on other sites

Вот так делают DMZ, входной интерфейс Ether1.

 

/ip firewall nat

add action=netmap chain=dstnat dst-port=1-8290 in-interface=ether1 protocol=tcp to-addresses=192.168.1.254 to-ports=1-8290

add action=netmap chain=dstnat dst-port=8292-65535 in-interface=ether1 protocol=tcp to-addresses=192.168.1.254 to-ports=8292-65535

add action=netmap chain=dstnat dst-port=8292-65535 in-interface=ether1 protocol=udp to-addresses=192.168.1.254 to-ports=8292-65535

add action=netmap chain=dstnat dst-port=1-8290 in-interface=ether1 protocol=udp to-addresses=192.168.1.254 to-ports=1-8290

 

Пробовал - не помогло.

Только netmap не катит, надо 80-ые порты с нескольких камер прокинуть на разные порты белого адресса.

Edited by sk1nn3r

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.