1
General Discussion / 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
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