Getting error in nat to destination address

nat
firewall
vyos-1-2

#1

Hi,

I have an issue in natting. could someone help me.

+rule 5010 {
+    description "ABCD"
+    destination {
+        address  A.A.A.A (public ip)
+        port any
+    }
+    inbound-interface eth+
+    protocol tcp
+    source {
+        address 172.24.103.15

When I commit I am getting below error:
NAT configuration warning: interface eth+ does not exist on this system

[ service nat ]
NAT configuration error: rule type not specified/valid

Commit failed

Even I changed from eth+ to eth1 but the same problem.


#2

Please review
https://support.vyos.io/en/kb/articles/nat-basics-2
you need also specify translation since now your rule not complete


#3

Thanks Syncer. Its works now.


closed #4

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.