ELX-Software

ELX-Firewall

Documentation

How the modes and settings work, how to write and order rules, and what to check when a program cannot connect. The same guide is available as a PDF on the download page.

First run

  1. Install the program. The installer registers the service and starts the tray icon.
  2. Open the window from the tray and watch the Traffic monitor for a while — it shows what already uses the network.
  3. On the ELX protection tab, switch the firewall ON and choose Ask to connect.
  4. Answer the prompts as programs connect. Each answer is written into the table.
Closing the window does not stop protectionThe window hides to the tray; protection is done by the service. Exit in the tray menu closes the interface, the service keeps working.

Allowed, Blocked, Ask, Rules

Click the Incoming or Outgoing value of a program to change it. Allowed and Blocked are decisions for the whole program and ignore rules. Ask and Rules use the program’s rules; the difference is what happens when no rule matches: Ask shows a prompt, Rules blocks silently.

The mode on top does not override the tableIn Allow all everything passes and in Block all everything is blocked, but the values in the table stay as you set them and apply again in Ask to connect.

Rules, top to bottom

Expand a program and press Add rule. Choose the action, the direction, the address (any, or a domain, *.domain, IP or subnet), the port (any, or 443, 80,443, 8000-8100) and the protocol. The line at the bottom spells out what the rule will do.

  • Rules are checked from the top; the first one that matches decides.
  • Rules of the program come before Rules for all applications.
  • Arrows move a rule up or down; the pencil edits it; the switch turns it off without deleting.
  • A flag shows the country of an address; OUT and IN show the direction.
Why QUIC gets closedFor programs with domain rules, QUIC (HTTP/3 over UDP 443) is blocked so that the browser falls back to ordinary HTTPS, where the site name is visible.

How rules work: priorities and examples

Every new connection — outgoing from a program or incoming to it — goes through the same four steps. The first step that gives an answer ends the check.

  1. Firewall mode. Allow all — the connection passes. Block all — it is blocked (only ELX-Firewall itself always passes). Ask to connect — go to step 2.
  2. The program’s setting for this direction (the Incoming or Outgoing column). Allowed — passes; Blocked — blocked. In both cases rules are not looked at.
  3. Rules, top to bottom. For Ask and Rules: first the program’s own rules in the order of the list, then Rules for all applications. The first rule whose direction, address, port and protocol all match decides — allow or block. Rules below it are not checked.
  4. Nothing matched. Ask — a prompt appears, and the connection waits for your answer for up to a minute. Rules — the connection is blocked silently, without a prompt.
SituationIs there a prompt?
Mode Allow all or Block allNo — the mode decides
The program is Allowed or Blocked for this directionNo — the setting decides
The program is set to RulesNo — what no rule allows is blocked
The program is set to Ask and a rule matchedNo — the rule decides
The program is set to Ask and no rule matchedYes — one prompt per remote address or host
You pressed Later or × on that promptNo for two minutes for that host; the prompt stays in Missed prompts for ten minutes

What a rule matches. Direction: outgoing (the program connects) or incoming (someone connects to the program). Address: any, a domain (example.com), all subdomains (*.example.com), an IP (203.0.113.10), a subnet by mask (192.168.1.0/24 — all of 192.168.1.x; /16 — all of 192.168.x.x) or a range (192.168.1.10-192.168.1.99); for incoming rules the address is where the connection comes from. Port: any, one (443), a list (80,443) or a range (8000-8100); for incoming rules it is the port on this computer. Protocol: TCP and UDP, TCP only or UDP only.

Example 1 — a browser that may open only the bank’s siteOutgoing = Rules. Rule 1: Allow, outgoing, *.mybank.example, port 443. Result: the bank opens; every other site is blocked, and there are no prompts.
Example 2 — everything except an ad network (order matters)Outgoing = Rules. Rule 1: Block, outgoing, *.ads.example. Rule 2: Allow, outgoing, any address, any port. Ads are blocked by rule 1, everything else is allowed by rule 2. If the two rules were swapped, “allow any” would match first and the ads would never be blocked — move the narrower rule up with the arrow.
Example 3 — remote desktop only from your own addressRealVNC Server: Incoming = Rules. Rule 1: Allow, incoming, from 203.0.113.10, port 5900. Connections from that address reach VNC; scanners from any other address are blocked silently. Note that the rule is incoming: an outgoing “allow any” rule does nothing for people connecting to the server.
Example 4 — ask about everything except the vendor’s updatesOutgoing = Ask. Rule 1: Allow, outgoing, *.vendor.example. Updates go through without a question; any other host produces a prompt. Answer a prompt with a host or a port, and the program switches to Rules with the new rule at the end of the list.
Example 5 — block one port of a program that is otherwise allowedAllowed ignores rules, so use Rules instead. Rule 1: Block, outgoing, any address, port 3478, UDP only. Rule 2: Allow, outgoing, any address. Everything works except that one port.
Example 6 — remote access from mobile internetOn a phone the address changes with every connection, but it stays inside the carrier’s block. RealVNC Server: Incoming = Rules. Rule 1: Allow, incoming, from 203.0.113.0/24 (or a range such as 203.0.113.1-203.0.113.200), port 5900. Look up the block in the connection log or ask the carrier; the wider the mask, the more strangers it lets in.
Answers in the prompt create the same settingsAny address + any port in a prompt sets the whole program to Allowed or Blocked. A specific host, *.domain or port adds a rule at the end of the program’s list and switches the program to Rules. You can always open the program, reorder rules with the arrows, edit them with the pencil or switch them off.

Answering a prompt

Choice in the promptResult
Any address + any portThe whole program: Outgoing (or Incoming) becomes Allowed or Blocked
A host, *.domain or a portA rule is added and the program switches to Rules
Only until the program closesA temporary decision, not saved
Later or ×No decision: the attempt is refused now, the prompt stays in Missed prompts
  • While a prompt is open, the program’s new TCP connection is held rather than refused, for up to a minute.
  • Each remote address gets its own prompt; the newest are shown first.
  • After Later, new attempts to the same host are refused for two minutes.
  • A yellow dot next to a program means missed prompts; the Missed prompts button in the card shows them again. A prompt without an answer is dropped after ten minutes without attempts.

Active connections

The expanded program lists only the connections that exist right now: direction, host, address, ports, traffic and the number of connections. Disconnect closes the program’s TCP connections to that host at once (Windows allows this for IPv4 TCP; UDP and IPv6 cannot be closed).

Folder rules

A folder rule covers every program in the folder and its subfolders — useful for a games library or a tools folder. The deepest matching folder wins; a decision made for a particular program overrides the folder.

Network scan

  • Press Scan; a /24 network takes about twenty seconds.
  • Double-click a name or a location to change it.
  • Autoscan repeats the scan on a schedule; the interval, threads and protocols are in the settings.
  • Random MAC means the device hides its real address — modern phones do this by default.

VirusTotal

Paste your API key into Settings → VirusTotal and press Check key. Programs are then checked one at a time by their SHA-256 hash — files are never uploaded.

When something is wrong

SymptomWhere to look
A program cannot connectIts Outgoing value; with Rules — is there a rule above that blocks it?
A server is not reachable from outsideIncoming of the server program: rules for Incoming, not Outgoing
No prompt appearsThe program is set to Rules or Blocked, Do not disturb is on, or the prompt is under Missed prompts
The window says the service is not runningTray menu: Service → Start

Nearby programs