xxq 0 Posted 2014-04-08 07:46:04 Share Posted 2014-04-08 07:46:04 Доброго времени суток, уважаемые Админы и постояльцы форума. Подскажите пожалуйста как правильно разрешить в фаерволе переадресацию портов (внешний и внутренний порт разные)? Переадресацию входящего запроса делаю так: ip firewall nat add chain=dstnat action=dst-nat in-interface=ether1 protocol=tcp dst-port=1610 to-address=192.168.0.77 to-ports=9787 Link to post Share on other sites
holubets 43 Posted 2014-04-08 08:06:18 Share Posted 2014-04-08 08:06:18 Впринципі все правильно, повинно працювати. А в чому проблема? Link to post Share on other sites
xxq 0 Posted 2014-04-08 08:55:54 Author Share Posted 2014-04-08 08:55:54 Все работает, когда в фаерволе убераю правило блокировать все. Не могу понять как в фаерволе написать розрешающее правило. ip firewall filter add chain forward in-interface=ether1 protocol=tcp dst-port=1610 dst-address=192.168.0.77 action=accept - ТАК НЕ РАБОТАЕТ Link to post Share on other sites
holubets 43 Posted 2014-04-08 08:57:51 Share Posted 2014-04-08 08:57:51 (edited) Перетягніть його вижче, над правилом, яке все забороняє. Edited 2014-04-08 08:58:04 by holubets Link to post Share on other sites
xxq 0 Posted 2014-04-08 09:57:51 Author Share Posted 2014-04-08 09:57:51 Это правило почему то не работает, в нем где то ошибка! Link to post Share on other sites
holubets 43 Posted 2014-04-08 10:16:23 Share Posted 2014-04-08 10:16:23 Дайте доступ, гляну. Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now