В ТП выставляю в поле фильтр негативного депозита
Код: Выделить всё
RAD:mpd-table-static="32=%IP%"
Код: Выделить всё
${fw} add fwd xx.xx.xx.xx,8080 tcp from table\(32\) to any dst-port 80,443
${fw} add allow ip from table\(32\) to xx.xx.xx.xx dst-port 53
${fw} add allow ip from table\(32\) to xx.xx.xx.xx dst-port 53
${fw} add allow tcp from table\(32\) to xx.xx.xx.xx 8080
${fw} add allow tcp from xx.xx.xx.xx 8080 to table\(32\)
${fw} add deny ip from table\(32\) to any
P.S. Нас на Freebsd 8.2, mpd5.5, прочитал уже кучу тем на этом форуме, на других, пробовал redir и т.д. все без толку.
Если убрать
Код: Выделить всё
${fw} add allow tcp from table\(32\) to xx.xx.xx.xx 8080
${fw} add allow tcp from xx.xx.xx.xx 8080 to table\(32\)
Кто нибудь сталкивался с таким??