Ubiquiti Employee
Posts: 5,174
Registered: ‎08-08-2016
Kudos: 5679
Solutions: 355
Guide to disabling NAT on USG
[ Edited ]

This has come up a number of times, so wanted to post a short howto. UI and back end are in the works to expose NAT configuration in the controller, but in the mean time, those who want to disable NAT completely only need a single NAT rule in config.gateway.json. The attached file put into place as config.gateway.json in the appropriate /data/sites/ directory, then forcing a provision of USG, will disable all NAT on eth0. 

 

If using USG Pro, you'll want to replace eth0 with eth2 so you have the appropriate WAN interface. 

Who Me Too'd this topic