Snat for wireguard

Hello,
i need to configure SNAT for wireguard connection for other peers to reach devices connected to this gateway. I’m using TRB140 (TRB1_R_00.07.09.3).
When I create a NAT rule using web interface it creates the following config rule and it doesn’t work for me:

config nat '26'
        option src 'wireguard'
        option snat_ip '192.168.1.1'
        option target 'SNAT'
        list proto 'all'
        option priority '1'
        option enabled '1'

but after I modified the created config rule to this one it started to work:

config redirect
        option target 'SNAT'
        option src 'wireguard'
        option dest 'lan'
        option src_dip '192.168.1.1'
        list proto 'all'
        option priority '1'
        option enabled '1'

Can I make this config rule using the web interface?

Hello,

Thank you for your inquiry.

Unfortunately, the WebUI does not provide an option to specify the destination zone for NAT rules, which prevents the desired configuration from being created through the interface. As not the most optimal alternative, you could manually specify destination IPs.

If you have any additional questions or need further assistance, please feel free to reach out.

Best regards,