[Ferm] Problem with @resolve and DNAT destination
Max Kellermann
max at duempel.org
Mon Jan 30 15:54:11 CET 2012
On 2012/01/20 17:18, Alexandre Angel <alexandre.angel at eisti.eu> wrote:
> table nat
> {
> chain PREROUTING
> {
> proto tcp saddr $ VPN_NETWORKS dport www DNAT to "$HOST_PROXY:3127" <--
> variable 'HOST_PROXY' must be a string, but it is an array
>
> proxy.mycompany.fr resolves to one and only one IP.
This was a bug; the result of @resolve was internally always
represented as an array, but ferm assumes that arrays with one element
are scalars.
I have pushed a fix to the git repository.
Max
More information about the Ferm
mailing list