Skip to main content
Ubiquti - USG disable NAT
- ssh <adminusername>@<IP of USG LAN>
- type ‘configure‘
- type ‘show service nat‘ #you should see rule 6001, 6002, 6003 by default
- type ‘set service nat rule 6001 disable‘ #disables corporate network NAT
- type ‘set service nat rule 6002 disable‘ #disables remote user network NAT
- type ‘set service nat rule 6003 disable‘ #disables guest network NAT
- type ‘compare‘ #just to see if you did things right
- type ‘commit‘
- type ‘save‘
- type ‘mca-ctrl -t dump-cfg > config.gateway.json‘
- copy this file over to your Unifi controller,
.’scp config.gateway.json root@<controller_IP>:/usr/lib/unifi/data/sites/{{site folder}}/config.gateway.json‘
No Comments