Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - simonuk1

#1
General Discussion / Moving from VYOS to OPNsense
January 27, 2019, 05:04:16 PM
Hi,

Does anyone know how to setup the following in OPNsense.

I have tried few thing but nothing seems to work.

VYOS config is :

nat {

destination {
     rule 10 {
         description "Management Servers - for packets arriving on eth0 rewrite destination 10.1.120.x -> 192.168.120.x"
         destination {
             address 10.1.120.0/24
         }
         inbound-interface eth0
         source {
         }
         translation {
             address 192.168.120.0/24
         }
       }
     }
}

source {
     rule 10 {
         description "Management Servers - for packets leaving on eth0 rewrite source 192.168.120.x -> 10.1.120.x"
         outbound-interface eth0
         source {
             address 192.168.120.0/24
         }
         translation {
             address 10.1.120.0/24
         }
     }
}

}

Screen shot or the XML config would be amazing.

Thanks for your help on this

Simon