12/25/2023 0 Comments Unifi set inform command![]() ![]() Same with the other items in level 5 under "tcp". Notice that in level 3 "modules" is also present along with "timeout", but we will not include it in the json file because it is not part of the path to "close". See this example where we want to edit "close", which has the following path: system > conntrack > timeout > tcp > close. The folder path that takes you from level 1 all the way down to the item you will be configuring must be present in the json file. Think of each node in the json file as a folder that is nested within other folders (except for the level 1 folder which is our main section). You must only include the complete "path" to the items you have edited, anything outside of the path can be omitted. NOTE: When editing this custom json file, it is not necessary to include everything. It is recommended to put custom rules before the existing ruleset, as the lower number will win between two matching rules. The custom rules created in the file cannot have duplicate rule numbers with the existing rules in the USG, or there will be a provisioning loop. json file is: /usr/lib/unifi/data/sites//īefore customizing firewall or NAT rules, take note of the rule numbers used in the UniFi Network Firewall. Default firewall rules start at either 3001 or 6001, and NAT rules will also start at 6001 (which don't overlap with firewall rules). On an Ubuntu, the install path for the. ![]() On Cloud Key, the install path for the.Therefore, the file should be placed inside /data/sites/ceb1m27d/. In the above case, the random string ceb1m27d is the folder name that shall be used under /data/sites/. For example, this is what would be seen in the URL bar when inside the dashboard page of a site: ceb1m27d/dashboard The original site is named “default”, and every site that is created will be assigned a random string. The site_ID can be seen in the URL of your browser when on the Network application. ![]() The location will vary from one operating system to another. To change it, once you're in the site directory, use the command: You can check to verify with ls -l /data/sites/site_ID. The file must have unifi:unifi as the owner and group permissions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |