Situation
Laura White, the IT administrator of John Smith Ltd, wants to be able to
work on the appliance even when she is not in the office: from home in the
evening, or from the branch. Today the console and SSH answer only on the
office LAN (lan zone, eth1, 192.168.10.1): that is the factory setting, and
it is the right one as long as nobody needs anything else.
Argos gives you two ways:
- A — the console on the wan. It answers on the fibre’s public address, 203.0.113.10, from anywhere on the internet. From there the login always asks for the code of an authenticator app as well: this is fixed and cannot be switched off.
- B — the console through a tunnel. It answers only to whoever comes in
through an Argos WireGuard tunnel: the one to the branch (
wg0, thesiteszone, for the sites) or a profile dedicated to the administrator’s laptop. The console does not open towards the internet.
Way B is the safer one: whoever is not in the tunnel does not even see the login page. Way A is fine when the person working on the appliance does not come through an Argos tunnel, provided every account that can sign in has the second factor.
The Argos VPNs (WireGuard and IPsec) connect sites and devices, not individual people: remote VPN access for the staff is EDON Atlas’s “VPN Roadwarrior”, verified by Atlas’s RADIUS server, with the site joined to Atlas (EDON Atlas). Through the link to Atlas, though, only ping reaches the appliance: the Argos console does not answer from there.
Warning The Blocklist (Protection → Blocklist) is not the way to decide who reaches the console or SSH. The management rules come before the blocklist, on purpose: an operator who listed their own address by mistake would not be locked out. An address on the blocklist therefore reaches SSH and the console wherever they are open (the only exception is a zone other than the lan where a reverse proxy shares 443 with the console). Nor is there a list of “allowed sources” for the console: the switches are per zone. To narrow down who gets in, choose the zone: that is way B.
What you need
- A console account (root or an account in the sudo group, see Personal administrators and two-factor authentication) and a smartphone with a TOTP app: Atlas Caveau (EDON Atlas’s password manager, which also generates TOTP codes), Google Authenticator, Microsoft Authenticator, FreeOTP, 1Password or similar.
- A PC connected to the office LAN: changes are made from there, where the console always answers.
- For way A: the public address of line 1 (203.0.113.10). If there is a provider router doing NAT in front of Argos, that router must forward TCP port 443 to the appliance: that is part of the router’s configuration, not Argos’s.
- For way B: the WireGuard tunnel to the branch already up and in the
siteszone, as in Connecting two Argos sites with WireGuard.
Steps
First of all: the second factor for your account
Do this first. From the wan the code is always asked for, and an account without a second factor coming from there is refused as if its password were wrong.
- From the office PC open System → Users and select your account
(
lwhite). Under the account’s data there is the “Two-factor authentication” panel, marked “off”. - Press “Enable”. A QR code appears and, under “Secret”, the same key in clear for the apps that cannot scan. The secret is shown only once.
- Scan the QR code with the phone’s app. Type in “Code from the app” the six digits the app shows and press “Confirm”. The notice “Two-factor authentication enabled” appears and the panel now reads “on”.


- Every other person who will need to sign in from outside does the same, each with their own account: only the account itself can enable its own factor. In the list of System → Users the “2FA” column says who already has one.
Way A: the console on the wan
- Open System → Management access. The table has one row per zone and the columns “Zone”, “SSH (22)”, “console (443)”, “Console 2FA” and “Interfaces”. The LAN row has fixed switches and the word “always”: that is the anti-lockout protection, which cannot be switched off.


- In the WAN row switch on the “console (443)” column. In the same row the
“Console 2FA” column is already on and locked, with the word “always”.
Under the table, the “console answers on” line now lists
eth0, eth1, eth2: the lan’s interfaces and those of the wan zone. - Leave “SSH (22)” off in the WAN row, unless you really need it. SSH does not ask for the second factor: only the account’s password (or its key) protects it.
- Press “Save”. “Saved — a zone switched off for the console is refused at once; SSH and the zones switched on follow the next firewall apply” appears. If some account that can sign in does not have the second factor yet, the console says so with a warning: from outside those accounts are refused until they enroll.
- If the “Publications in the way” window appears, a publication forwards the SSH port to an internal server exactly where SSH should answer. “Disable and save” switches it off (it stays in Published services → Port publication, disabled); “Cancel” leaves everything as it was.
- In the header the firewall’s status button says “Unapplied changes”. Open it and choose “Apply”. In the “Keep the new ruleset?” window press “Confirm” before the countdown reaches zero: otherwise, after 60 seconds, the previous rules come back on their own.


Way B: the console only through the tunnel
- Open Zones and rules → Zones and check that
wg0, the interface of the tunnel to the branch, is in thesiteszone. If it is in no zone, create thesiteszone as in Connecting two Argos sites with WireGuard (“Add zone”, “Inbound policy” “Drop”, interfacewg0, “Create zone”). Without a zone, whatever comes from the tunnel is dropped. - Open System → Management access. In the SITES row switch on “console (443)” and, if you need it, “SSH (22)”. If you want the code from there too, switch on “Console 2FA” in the same row. In the WAN row leave “SSH (22)” and “console (443)” off.
- Press “Save”, then in the header “Apply” and “Confirm” within 60 seconds.
From the branch the console opens at the same address as in the office,
https://192.168.10.1/: the request goes through the tunnel, and Argos
recognises the zone it comes from.
Tip For the administrator’s laptop alone you can create a dedicated profile in VPN → VPN WireGuard, with the “Endpoint” empty: the laptop changes networks and is always the one that calls. Without an Endpoint the firewall opens the “Listen port” to any address (“No Endpoint: the firewall opens UDP port … to any address (only the holder of the Endpoint’s key gets in)”): only the laptop that has the key gets in. Put the tunnel in a zone with “console (443)” on, like
wg0in thesiteszone (see VPN, “The listen port and the firewall”). This is not remote access for the staff: for that there is Atlas’s VPN Roadwarrior.
For the technician A client’s zone is the zone of the interface the appliance answers it on (
ip route get <client>), not the address the client contacted: the kernel accepts a packet for one of its addresses on any interface, whereas the return path cannot be chosen. The gateways’ interfaces count as wan even if they are not in the wan zone. In the ruleset the console becomesiifname { "eth0", "eth1", … } tcp dport 443 acceptat the top of theinputchain, before the zones. 443 and 80 are never dropped on the other zones, because the reverse proxies share them: there it is the console itself that answers 403. 22 and 8000, on the other hand, are dropped on every zone not opened (rulesmgmt-sshandmgmt-consolein the firewall log). From the shell the same change isargos system settings access set --console wanfollowed byargos firewall apply.
Verification
- The login from outside. With the phone on the mobile network (not on the
office Wi-Fi) open
https://203.0.113.10/. Under the login form appears “From this network the console also asks for the code of an authenticator app.”. After “Log in” comes the “Verification code” page: type the six digits and press “Verify”.


- A zone not opened. From a laptop on the guest network (the
guestszone) the console does not answer: the connection times out, or, if 443 reaches the appliance anyway (the zone accepts everything inbound, or a reverse proxy answers there), a white page appears with “The console does not answer from this network zone.” (error 403). - SSH. With SSH closed on the wan, an
sshto 203.0.113.10 from outside gets no answer. In Events and diagnostics → Firewall typemgmt-sshin “Address, port or rule” and press “Filter”: you see the dropped attempts, with their sources. - The Status page. In System status → Status the “Attention” strip no longer shows “Saved changes are not applied yet”.
- The rules. In Zones and rules → Overview, under “Live ruleset”, the
rule with the comment
argos baseline: console (lan + opened zones)lists the interfaces the console answers on.
If something goes wrong
- “Your account has no second factor, and this would ask for one on the network you are connected from: enroll it in System → Users first”. You are saving from a zone that, with the new settings, would ask for the code, and your account has none. Enroll it (steps 1–3) and save again.
- “You would lose the console on the interface you are using: do this from another zone, or with argos-cli”. You are switching the console off on the very zone you are connected from (for example you came in from the wan and switch the wan off). Do it from the office.
- From outside the login answers “Invalid credentials”, but the password is
right. The account has no second factor: from a zone that asks for one it
is refused as if its password were wrong. The reason is in the journal: in
Events and diagnostics → System filter on
argos-auth. Enroll the factor from the office. - “Invalid code”. The phone’s clock is wrong, or the code has already been used: each code is good only once. Wait for the next code.
- “Too many attempts — try again in a few minutes”. Five failures from the same address block that account–address pair for 5 minutes; twenty failures on the same account block it from everywhere for 15 minutes. See Recovering access.
- Nothing answers from outside. Check the header: if it still says
“Unapplied changes”, the port has not been opened (step 10). If Argos sits
behind a provider router, that router must forward 443. The address of line
2 (
eth2, taken by DHCP from the FWA router) is usually not reachable from the internet: use the fibre’s. - The console answers on port 8000. If a publication forwards the wan’s TCP
443 to an internal server (for example the web server 192.168.10.40) while
the console answers on the wan, the publication wins and the console moves to
https://…:8000/, on the LAN too; the Status page reports it. To publish a website use a reverse proxy (Two internal websites with a reverse proxy): the console shares 443 with it, answers on the appliance’s address and names, while the proxy’s names go to the proxy. - The browser warns that the certificate is not trusted. The self-signed certificate is issued by the appliance’s private CA: download it from System → HTTPS certificate with “Download CA” and import it into the browser once. Alternatively use Let’s Encrypt with a public name that points to 203.0.113.10.
- You want to close it again. Turn the switch off and press “Save”: the console refuses that zone at once, without waiting for the apply. SSH closes at the next “Apply”.