GUIDES
Troubleshoot a VPN user who can't reach a server
A remote-access VPN user is connected but cannot open one server. Check the session, the access list and its match counters on Cisco IOS XE, fix it with one permit line, then see the same ticket worked in AI NetShell, from a real recording.
Verified against AI NetShell 0.4.20
A remote-access VPN user is connected. The tunnel is up, other things work, and one server still will not open. This guide walks through the manual checks on a Cisco IOS XE router, then shows the same ticket worked in AI NetShell, from a real recording. The manual checks cover the same evidence as the app's own playbook for this ticket, so the two halves read the router the same way.
The example follows the ticket in the recording: the CFO cannot open the accounting server from home. The router is edge-rtr1 (saved in the app as EDGE-RTR1), the VPN pool is 10.8.0.0/24, the accounting server ACCT-SRV is 10.2.5.20, and the access list that decides what VPN users may reach is called VPN-USERS. The screenshots show the router saved as edge-rtr1, with line 35 added between the permit at 30 and the deny at 40.
Why a connected VPN user still cannot reach one server#
When the tunnel is up and only one destination fails, the cause is usually one of four things:
- An access list on the VPN interface denies that destination.
- A split-tunnel list does not send that subnet into the tunnel.
- The router has no route to the server, or NAT gets in the way.
- The server itself, or a firewall in front of it, blocks the VPN subnet.
The first is the quickest to prove, because the router keeps a match counter on every access-list line. Start there.
Step 1: Confirm the VPN session is really up#
Do not take "connected" from the client. Read it from the router.
show crypto session detailLook for the user's session and its status. On IOS XE the line reads Session status: UP-ACTIVE. The Phase1_id names the peer, which is the user's laptop in this example. With several users connected, match the ticket's person to a session first: the identity the client signed in with is in this output. Anything other than UP-ACTIVE is a tunnel problem, not an access problem.
Example output, trimmed:
Interface: Virtual-Access1
Profile: VPN-USERS
Session status: UP-ACTIVE
Peer: 203.0.113.2 port 500
Phase1_id: cfo-laptop.lab.local
IKEv2 SA: local 203.0.113.1/500 remote 203.0.113.2/500 ActiveStep 2: Find the address the user was given#
Access lists match on the VPN address the router assigned, not on the user's home address.
show crypto ikev2 sa detailed
show ip local poolIn the IKEv2 detail, look for Assigned host addr. In the recording it reads Assigned host addr: 10.8.0.14. The pool output shows the range and how many addresses are in use; it never says which user holds one, so take the address from the user's own session:
Pool Begin End Free In use
VPN-POOL 10.8.0.14 10.8.0.14 0 1Step 3: Find which access list applies to VPN users#
The access list can sit on the virtual template that builds each VPN session.
show running-config interface Virtual-Template1Look for ip access-group <name> in. In the example it reads ip access-group VPN-USERS in. To confirm the list is active on the user's live session, read the virtual-access interface the session is using:
show ip interface Virtual-Access1 | include access listThe router answers with four lines; the last one is the fact you need:
Outgoing Common access list is not set
Outgoing access list is not set
Inbound Common access list is not set
Inbound access list is VPN-USERSshow hosts resolves a name such as ACCT-SRV if the router keeps host entries. Here it resolves to 10.2.5.20.
Step 4: Read the access list top to bottom and check the counters#
show access-lists VPN-USERSRead it in order. The router stops at the first line that matches, so a deny above a permit wins even if the permit is wider. Then read the match counts in parentheses. A deny line with a climbing count is traffic being dropped right now.
Example output, trimmed, with the figure on line 40 left out:
Extended IP access list VPN-USERS
10 permit udp 10.8.0.0 0.0.0.255 host 10.2.5.53 eq domain
20 permit tcp 10.8.0.0 0.0.0.255 host 10.2.5.10 eq 443
30 permit tcp 10.8.0.0 0.0.0.255 10.2.5.0 0.0.0.255 eq 445
40 deny ip 10.8.0.0 0.0.0.255 host 10.2.5.20 (large match count)
50 permit ip 10.8.0.0 0.0.0.255 10.2.5.0 0.0.0.255Here is the cause. Line 40 denies the whole VPN pool, 10.8.0.0/24, to the accounting server. Line 50 would permit the traffic, but it never gets a turn. Line 30 lets the pool reach TCP 445 on that subnet, so a file share on the server would still work; anything else from the CFO's address to the server reaches line 40 first. Prove it before you change anything: read the list again while the user retries, and watch line 40's count climb during the retry.
Read the remarks too. show access-lists does not print them on IOS XE; show running-config | section ip access-list does. Here the remark above the deny reads 35 remark ACCT-SRV 10.2.5.20 finance only, exceptions by host. That is the design: the deny stays, and each person who needs the server gets a host-specific permit above it.
Step 5: Fix it with one permit above the deny#
Add one line, numbered so it lands above the deny. Do not remove the deny, and do not widen the permit to the whole pool, or you undo the policy the remark describes.
configure terminal
ip access-list extended VPN-USERS
38 permit ip host 10.8.0.14 host 10.2.5.20
endSequence 38 is any unused number between the remark at 35 and the deny at 40. Check that the number is free before you use it; the router rejects a duplicate sequence number. If you need a narrower rule, permit only the TCP ports the server uses instead of ip.
One caveat: the pool in the example holds a single address, so the CFO's address is stable. On a larger pool the user can get a different address next time, and a per-user static address is the longer-term answer.
Step 6: Verify the fix#
Read the list again and watch the new line's counter.
show access-lists VPN-USERSLine 38's count should climb during this user's retry. Judge by line 38: on a shared pool, other VPN users can still raise line 40's count. If line 38 is not matching, check the route and NAT toward the server:
show ip route 10.2.5.20
show ip nat translations | include 10.8.0.14When you are satisfied, save the running configuration to startup, in whatever form your change process requires.
The same ticket in AI NetShell#
The ticket above is a real recording in the app, worked from the router's own terminal. You can watch the narrated version on the features page (1:23). It was recorded on version 0.4.15: the reads, the finding and the fix are as it shows, and the button names below are the ones in 0.4.20.
You need the router open in a terminal with privileged (enable) access, because the reads of the running configuration are privileged. If the session signs in at the user prompt and its credential has no enable password saved, the pane prints Not in enable mode. To read the running configuration and other privileged show commands, add this device's enable credential in Credentials (Edit credential), then reconnect. The app enters enable mode by itself. Fill in the credential's Enable password (optional) and reconnect. Asking Lina, and which AI options need a plan, is covered in Ask Lina about a problem. Step 5 needs the Resolve plan for a governed change: Lina proposes it, you review the diff and approve it, and the app can roll it back.
1. Ask#
- Type the ticket in the chat box: "The CFO can't open the accounting server from the VPN. Why?" Above the box, Add incident details (optional) opens a short form whose first two fields are Who is affected (device or client) and What they cannot reach (address or service); what you fill in goes with the question. The Troubleshooting starters include Why is this VPN tunnel down?, which is a different problem (this tunnel is up), so type this one.
- Check the two controls under the box. Reads: this terminal means Lina reads the router's terminal and nothing else. Auto-approve reads is the default: read-only commands that pass the permit list run without asking, and anything that changes device state still stops for you. Under Confirm each read, each command first appears on an Approve command? card with Approve & run and Skip.
- Select Send.

2. Watch the reads#
Each command appears as a row under the device name, EDGE-RTR1; open a row to see its result, including the byte count, and read the output itself in your terminal. In the recording the first two rows are the app's own first reads of the device, show cdp neighbors and show interfaces trunk, whose result reads, for example, 20 bytes (host survey). Then a Playbook row names remote-access-vpn: the app's read-only procedure for this ticket. It tells her to read the user's session for the address the VPN gave them before anything else, then the access list twice, from the running configuration for its remarks and with show access-lists for its counters, and to fix with a host exception above the deny rather than by removing it. A playbook is knowledge, not permission: every command still passes the permit list and your read-approval mode.
In the recording she then ran, in order: show crypto session detail, show running-config | section ip access-list, show hosts, show crypto ikev2 sa detailed, show ip local pool, show ip interface Virtual-Access1 | include access list and show access-lists VPN-USERS. A read the app held back because the session was not in enable mode is marked NOT SENT with the reason. Command output is masked before it reaches the AI; what the app sends, and to whom, is in Security and privacy.
3. Read the answer and the finding#
Her conclusion comes under Checked:, Finding: and Explanation:, with a Next: callout, and a card under it holds the finding. In the recording the card is titled VPN-USERS ACL entry 40 denies the whole VPN pool to ACCT-SRV, including the CFO's address and rated Medium, and its first two facts read The CFO session (Phase1_id cfo-laptop.lab.local, Virtual-Access1, UP-ACTIVE) was assigned 10.8.0.14 per show crypto ikev2 sa detailed. and VPN-USERS is applied inbound on Virtual-Access1. The open step shows Cause: with the fact behind it, Evidence with up to three facts and Show output for the router's own words, and the fix in a code block with Copy. For a Cisco IOS XE router the block wraps the fix in configure terminal and end, shown dimmed, so it can be pasted as it is:
configure terminal
ip access-list extended VPN-USERS
38 permit ip host 10.8.0.14 host 10.2.5.20
endOne line of change, numbered to land above the deny at 40, as the remark asks; nothing removed or renamed. The playbook tells her to take the user's address from the session table, never from the pool, so every address in the fix is one a read printed.

4. Apply it yourself, on any plan#
Copy puts the block on the clipboard and nothing more. Paste it at the router's privileged prompt, edge-rtr1#; the block enters and leaves configuration mode itself. Then come back to the card. Check again reads the router, but the app's configuration check covers interface and BGP fixes only, so for this fix it does one of two things. When Lina attached check commands to the finding, it runs them and closes the step with Verified and the time, or reports Not confirmed yet: with the reason. When she did not, the step says Can't check this from the config. Ask Lina to check, or mark it Done. and offers Ask Lina to check, which sends her a read-only follow-up for the router. Either way, prove the fix the way step 6 above does: read the list again while the user retries. Done records a fix you confirmed yourself. The buttons and their results are in Ask Lina about a problem.
5. Or approve it as a governed change (Resolve)#
With the Resolve plan and Allow configuration changes turned on under Settings > General, the step reads Governed change: you approve these exact lines, then the app applies and checks them. and offers Review change.
- Select Review change.
The app enters enable mode itself, reads the running configuration (masked) for the diff, and checks each line against the router's write policy. On IOS XE the policy admits exactly this shape:
ip access-list extended <name>followed by numberedpermitordenyentries, orno <number>. It does not admit an entry without a sequence number, aremark, the numberedaccess-list 101form,no ip access-listorip access-list resequence; run those yourself. If entry 38 is already taken, the app refuses before the review opens: Entry 38 already exists in VPN-USERS. Remove it first (no 38) in the same change, or use a free sequence number. - Read the Approve change · EDGE-RTR1 window. The line under the title says what the change does; in the recording it reads VPN-USERS ACL entry 40 denies the whole VPN pool to ACCT-SRV, including the CFO's address. Then:
- Low risk · adds config. A permit line added to an access list is Low risk unless the app can tie that list to the path your own session rides on, applied to the interface your session arrives on or to the vty lines; then it is High risk · can cut access, and the app asks you to type the device name before it sends anything.
- Checks passed · commands allowed by your write policy, device reachable. Backup copy before sending: and the name of the copy of the running configuration the app saves on the router first. That copy is the rollback point.
- If the check fails · you choose: roll back or keep.
- The diff, Current beside Proposed: the running configuration with unchanged lines folded (253 unchanged lines in the recording; select a fold to open it), and the one added line in its place between the remark at 35 and the deny at 40. Nothing is removed.
- Technical details, closed by default.
- Select Apply to EDGE-RTR1. Cancel closes the window without sending anything. The window reads Sending the lines to EDGE-RTR1. Watch the terminal.

6. Watch the check#
The title changes to Change applied · EDGE-RTR1, the status line reads Applied · verifying… with Roll back beside it, and Post-change check counts down comparing device state in 30s (Check now reads sooner). The app then reads show ip access-lists VPN-USERS back and reports ✓ Verified on the device · today 4:52 PM, with the check in plain words, Entry 38 in VPN-USERS reads permit ip host 10.8.0.14 host 10.2.5.20, and a second line, Nothing else changed · N areas, that opens to the other readings it compared before and after (in the recording: interface state, interface errors, OSPF neighbors, BGP sessions and the route table). If the check fails, the window stops and asks you to decide: roll back or keep. That route is in Fix a problem.
The check proves the line is on the router. It does not test the user's connection, so the recording ends the way step 6 above does: show access-lists VPN-USERS twice, and line 38 climbs from 9 to 13 matches while line 40 stops.
7. Save to startup#
The change is in the running configuration only. The window reads Not saved yet. A reload would undo this change. and offers Save changes. It saves the whole running configuration, and the dialog says so: Save changes? Saves changes on EDGE-RTR1, so they survive a reload. This includes anything changed by hand since the last save, which the app can't see. Once the router confirms, the line reads Saved to the startup config today 4:53 PM. The device confirmed it. If the router does not confirm, the line says so and tells you to check the terminal, where the router may be asking a question, then save again. The app does not save on its own.
Roll back stays beside the status line while the app can still undo the change. It asks first, Roll back this change?, and says what it does: The device goes back to the configuration saved just before this change. Anything changed on the device by hand since then is undone too. A rollback changes the running configuration only: if you had saved the change to startup, the dialog says so, and you save again after the rollback, or a reload brings the change back. Every step of the governed route, including a failed check and a rollback, is in Fix a problem.

Next#
- Ask Lina about a problem: the read-approval modes, the finding card, Copy, Check again, Done and Skip.
- Fix a problem: the review window, the risk chip, the check on the device, Save changes and Roll back.
- Add devices and credentials: saving the router with its enable password.
- Find why a trunk drops a VLAN: the second recorded ticket, on a switch.
Checked on AI NetShell 0.4.20