diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-11 16:35:00 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-11 16:35:02 +0200 |
commit | 4d40d5f85c156507bdca4e605eeef6570f34bede (patch) | |
tree | 719818a9589578419fa0bef433be09364a1c1149 /python | |
parent | 5deb12c509bea6e353c3b4c3174f040895646cf8 (diff) | |
download | vyos-1x-4d40d5f85c156507bdca4e605eeef6570f34bede.tar.gz vyos-1x-4d40d5f85c156507bdca4e605eeef6570f34bede.zip |
nat: T2571: fix failing negated CLI configurations
tested using:
set nat destination rule 399 description 'Redirect DNS iot VLAN'
set nat destination rule 399 destination address '!192.168.67.243-192.168.67.244'
set nat destination rule 399 destination port '53'
set nat destination rule 399 inbound-interface bond10.204
set nat destination rule 399 log
set nat destination rule 399 protocol 'tcp_udp'
set nat destination rule 399 translation address '192.168.67.243'
set nat destination rule 399 translation port '53'
set nat destination rule 400 description 'Redirect DNS lan VLAN'
set nat destination rule 400 destination address '!192.168.67.243-192.168.67.244'
set nat destination rule 400 destination port '53'
set nat destination rule 400 inbound-interface bond10.204
set nat destination rule 400 log
set nat destination rule 400 protocol 'tcp_udp'
set nat destination rule 400 translation address '192.168.67.243'
set nat destination rule 400 translation port '53'
set nat destination rule 401 description 'Redirect DNS guest VLAN'
set nat destination rule 401 destination address '!192.168.67.243-192.168.67.244'
set nat destination rule 401 destination port '53'
set nat destination rule 401 inbound-interface bond10.204
set nat destination rule 401 log
set nat destination rule 401 protocol 'tcp_udp'
set nat destination rule 401 translation address '192.168.67.243'
set nat destination rule 401 translation port '53'
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions