Option to disable masquerade

Hi all!

In version 0.4.5, it became possible to disable masking. I’ve been waiting for this option for a long time.

I didn’t notice her presence. Can you tell me where?

PS I apologize for bad English, I use computer translation.

Hi,

It’s controlled by these configuration options in your firezone.rb configuration file:

default['firezone']['wireguard']['ipv4']['masquerade'] = true
default['firezone']['wireguard']['ipv6']['masquerade'] = true

You can set one or both of those to false to disable IPv4/IPv6 masquerading.

Thank you!
I just had an old config file from a previous version so I couldn’t find that setting.

Where to find the same config options in 0.7.31 ?
It seems that there are no equivalent ENV VARS https://www.firezone.dev/docs/reference/env-vars

Thanks

@g.vecchi

WIREGUARD_IPV4_MASQUERADE
WIREGUARD_IPV6_MASQUERADE

I’ll add these to the docs

@jamil
I will give them a try, thanks!