CONSIDERED INFRASTRUCTURE. INDIVIDUAL PROPOSALS.alonzofelixa@alonzo.cloud
HELP CENTER / Troubleshooting

Diagnose one network path without scanning or disruption

Work through resolution, local routing, transport, TLS, and application behavior for one authorized endpoint at a time.

By ALONZO & ALONZO, LLCPublished Updated

Applies to Authorized diagnostics on an existing Linux VPS; resolvectl examples apply when systemd-resolved is present.

Before you begin

  • One explicitly authorized destination and a clear record of which machine is running each check.
  • The expected hostname, protocol, address family, and documented external-to-guest mapping where applicable.
  • An existing trusted session for guest inspection; root-only checks require authorized sudo access.

Define the failing direction and one permitted target

Record whether the problem is client-to-VPS, VPS-to-service, or application-to-database, and note the UTC time. Identify one endpoint whose owner permits these checks. A successful outbound request does not prove inbound SSH works, and a test from your laptop does not establish the VPS's route.

Replace uppercase placeholders: TARGET_HOST is the approved hostname, TARGET_IP one verified resolved address, and TARGET_URL a complete approved HTTPS URL without embedded credentials or secret query parameters. Run the following checks on the affected source machine. Do not scan address ranges, enumerate ports, or run full-speed bandwidth tests.

Inspect local addresses and routing without changing them

On the affected Linux source, inspect the current configuration:

ip -brief address
ip route
ip -6 route

Check that the expected interface and address family are available and that an appropriate route exists. For a verified IPv4 destination, ip route get TARGET_IP shows the selected local route without probing the remote service; use the corresponding IPv6 route lookup for an IPv6 destination.

Do not add routes, change addresses, or restart networking during evidence collection. An apparently unusual gateway may be intentional in a virtual network. Compare it with documented configuration rather than replacing it with a guessed gateway.

Separate name resolution from connectivity

Ask the system resolver for the single approved name:

getent ahosts TARGET_HOST

Where systemd-resolved is in use, inspect its status and query the same name:

resolvectl status
resolvectl query TARGET_HOST

Compare returned address families with the application's expected destination. Different results can reflect caching, split DNS, or different resolver paths; they are evidence to investigate, not permission to replace resolver configuration. Do not overwrite /etc/resolv.conf or send private names to an unrelated public resolver. A successful lookup proves only that a resolution path returned an answer, not that the answer is reachable or correct for your application.

Use small probes and interpret their limits

If ICMP is permitted for the approved destination, send only a few requests:

ping -c 3 -W 2 TARGET_HOST

No replies do not prove the host is down; ICMP can be filtered while application traffic works. For an approved HTTP endpoint, request headers with bounded timeouts:

curl --head --connect-timeout 5 --max-time 15 "TARGET_URL"

The source service may not support HEAD; an HTTP method error can still demonstrate working DNS, transport, and TLS. Do not automatically substitute a large download. Keep certificate verification enabled, review redirects before contacting another destination, and avoid repeated requests against an unhealthy service.

Compare listeners, guest filtering, and external ACLs

For an inbound problem, use the existing trusted VPS session to inspect:

sudo ss -lntp
sudo ufw status verbose

Authorized root users omit sudo. Match the intended service to its actual listening address and guest port. A loopback-only listener is not directly reachable externally. An inactive UFW status does not establish that every other filtering layer is open.

For SSH, SSH_PORT is the client-facing port while GUEST_SSH_PORT is the verified in-guest listener. Check NAT, forwarding, and documented external ACLs separately. Do not change ports, add guest rules using an unverified external value, or disable firewalls to test a theory.

Verify the failing layer and preserve redacted evidence

After a separately authorized correction, repeat only the relevant bounded probe from the same source. Confirm the intended protocol and application response, not merely a ping reply. For SSH, open a fresh verified connection while preserving the original session. Record whether the evidence points to resolution, routing, transport, certificate validation, or the application; distinguish observations from hypotheses.

For escalation, provide UTC timestamps, source location, address family, exact errors, elapsed times, and the expected direction. Redact hostnames, addresses, account identifiers, internal topology, authorization headers, cookies, and URL tokens. Include only the relevant output, not packet captures or full configuration dumps containing unrelated traffic or secrets.

Final checklist

  • The source machine, failing direction, authorized endpoint, and address family are explicit.
  • Resolver and route evidence were collected without configuration changes.
  • ICMP and HTTP probes were bounded and their limitations were recorded.
  • Guest listeners, NAT, and external ACLs were checked as separate layers.
  • A relevant fresh check verified the outcome, and escalation material was redacted.

Sources & further reading

YOUR NEXT STEP

Discuss your requirements.

For a VPS proposal, share your workload, preferred region and resource needs. Availability, specifications and terms are confirmed separately; an inquiry does not place an order or provision a server.

Start an inquiry