OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Moving from VYOS to OPNsense
« previous next »
  • Print
Pages: [1]

Author Topic: Moving from VYOS to OPNsense  (Read 2187 times)

simonuk1

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Moving from VYOS to OPNsense
« on: 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Moving from VYOS to OPNsense
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2