Hi,
i would like to be able to set the destination address of a DNAT rule to the address of a dhcp interface.
The configuration should look something like
nat {
destination {
rule 10 {
description "HTTP/S"
destination {
address dhcp-interface eth0
port 80,443
}
inbound-interface any
protocol tcp
translation {
address xxx.xxx.1.10
}
}
}
}
Something similar is already possible for static routes where you can set the route to go through a dhcp interface like set protocols static route 1.1.1.1/32 dhcp-interface eth0
My use case is described in DNAT with DHCP interface - #7 by ebrithil