Rule Editor
Edit Tunna routing rules safely across name, outbound outcome, conditions, saved actions, sharing, and live route changes.
Use this page when one rule is open. Start with the general rule shape, then move through tabs only for the conditions that belong to this rule.
Rule editor tabs
Use the tab picker to move between condition types. A dot on a tab means that part of the rule already contains a condition.
Use these cards as a map of the visible labels in this view. Each card names one field, control, or status item and explains what it is for before you change it or rely on it.
Visible choices
These are controls, states, or measurements in the view. Read them as reference, not as feature claims.
Asset
Search installed GeoSite and GeoIP records and attach matching chips. If no assets exist yet, the tab shows compact asset setup with Add Predefined.
Domain
Add Base, Full, Plain, or RegEx domain entries. Commas and new lines can add multiple entries.
IP
Add destination IP addresses or CIDR ranges. Use this when a destination is better known by network address than by name.
Port
Add destination ports one value at a time. Use this for a known service port; split any range into the exact ports you want Tunna to match.
Protocol
Toggle TCP or UDP under Transport Layer, and HTTP, TLS, or BT under Application Layer when Sniffing can identify the traffic.
Advanced
Configure a webhook URL, Deduplication, and optional Headers for match notifications or automation.
Rule Edit actions
The editor keeps creation actions at the top and saved-rule actions in the bottom toolbar.
Use these cards as a map of the visible labels in this view. Each card names one field, control, or status item and explains what it is for before you change it or rely on it.
Saved-rule actions
These controls change availability as the rule moves from new draft to saved rule.
Add or Save
Add appears for a new rule and Save appears after the rule has been saved once. The button stays disabled until the rule has at least one real condition.
Delete
Delete is available only for a saved rule and removes it from the Rule Set.
QR Code
QR Code is available only for a saved rule and opens a QR share sheet for the rule link.
Share
Share is available only for a saved rule. Shared rule links may include asset source information so another device can review missing records in Resources.
Pause or Resume
Pause, or Resume for a paused rule, is available only after saving. It saves the changed state immediately and closes Rule Edit.
Add or Save waits for a real condition
A name and outbound choice are not enough by themselves. Add stays disabled until the rule has at least one condition such as an asset record, domain, IP, port, protocol, or webhook detail.
Some editor actions require a saved rule
Delete, QR Code, Share, and Pause or Resume are available only after a rule has been saved once. Pause or Resume from Rule Edit saves immediately and closes the editor.