Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/ntc_templates/templates/ubiquiti_edgerouter_show_nat_rules.textfsm
Ðазад
Value RULE (\d+) Value TYPE (\S+) Value INTERFACE (\S+) Value SRC_ADDRESS ((\d+\.\d+\.\d+\.\d+((/\d+)?))|---) Value DEST_ADDRESS ((\d+\.\d+\.\d+\.\d+((/\d+)?))|---) Value PROTOCOL (tcp|udp|icmp|all|tcp_udp|---) Value SRC_PORT (\S+) Value DEST_PORT (\S+) Start ^Type Codes: SRC - source, DST - destination, MASQ - masquerade ^\s+X at the front of rule implies rule is excluded\s*$$ ^(rule\s+type\s+intf\s+translation)\s*$$ ^([-\s]+)$$ ^${RULE}\s+${TYPE}\s+${INTERFACE}\s+daddr\s${SRC_ADDRESS}\sto\s${DEST_ADDRESS}\s*$$ ^${RULE}\s+${TYPE}\s+${INTERFACE}\s+saddr\s${DEST_ADDRESS}\sto\s${SRC_ADDRESS}\s*$$ ^\s+proto\-${PROTOCOL}\s+(dport|sport)\s(${SRC_PORT}\sto\s${DEST_PORT}|ANY)\s*$$ -> Record ^. -> Error
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка