summaryrefslogtreecommitdiff
path: root/smoketest/config-tests/dialup-router-medium-vpn
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-10-31 07:00:56 +0100
committerChristian Breunig <christian@breunig.cc>2023-10-31 07:00:56 +0100
commitd46124c5073edf5b92f0814ef8dfaba648ce8ea6 (patch)
tree5ac319a5ad19726176f8653ef122e9805656b7c2 /smoketest/config-tests/dialup-router-medium-vpn
parent82a0067ca2d40456545befbbaa84b2a52a81ada2 (diff)
downloadvyos-1x-d46124c5073edf5b92f0814ef8dfaba648ce8ea6.tar.gz
vyos-1x-d46124c5073edf5b92f0814ef8dfaba648ce8ea6.zip
T5558: smoketest: fix nat definitions on dialup-router-medium-vpn #2
This extends commit 6248b2ae1 ("T5558: smoketest: fix nat definitions on dialup-router-medium-vpn") that missed out eth1 interface.
Diffstat (limited to 'smoketest/config-tests/dialup-router-medium-vpn')
-rw-r--r--smoketest/config-tests/dialup-router-medium-vpn2
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/config-tests/dialup-router-medium-vpn b/smoketest/config-tests/dialup-router-medium-vpn
index 20edc0ecf..e10adbbc6 100644
--- a/smoketest/config-tests/dialup-router-medium-vpn
+++ b/smoketest/config-tests/dialup-router-medium-vpn
@@ -190,7 +190,7 @@ set nat destination rule 91 protocol 'tcp'
set nat destination rule 91 translation address '192.168.0.7'
set nat destination rule 500 destination address '!192.168.0.0/24'
set nat destination rule 500 destination port '53'
-set nat destination rule 500 inbound-interface 'eth1'
+set nat destination rule 500 inbound-interface name 'eth1'
set nat destination rule 500 protocol 'tcp_udp'
set nat destination rule 500 source address '!192.168.0.1-192.168.0.5'
set nat destination rule 500 translation address '192.168.0.1'