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?