Quick answer
Keep Slack Active on VPN
VPN reconnections and idle timeouts silently kill Slack's WebSocket connection, flipping your status to away. A cloud-based presence scheduler like Idle Pilot keeps your Slack green because it talks to Slack servers directly, never touching your VPN tunnel.
Why this happens
Slack maintains presence through a persistent WebSocket connection to its servers. VPNs sit between your machine and the internet, and they introduce several points of failure that don't exist on a normal connection. First, most corporate VPNs enforce idle timeouts. If no traffic flows through the tunnel for a set period, the VPN tears down the connection and renegotiates it. That teardown kills every open TCP connection, including Slack's WebSocket. Second, split tunneling configuration matters enormously. When Slack traffic routes through the VPN tunnel, it's subject to the VPN's MTU, packet inspection, and proxy rules. Some deep packet inspection appliances don't understand WebSocket upgrades and drop the connection after the initial HTTP handshake. Third, VPN reconnections happen more often than most people realize. Switching between WiFi and Ethernet, waking from sleep, or even moving between access points on a corporate campus can force a VPN reconnection. Each reconnection creates a 5-to-30-second window where Slack has no path to its servers. If that window exceeds Slack's heartbeat interval, your status flips to away. Finally, some VPN clients (Cisco AnyConnect, GlobalProtect, Zscaler) run periodic health checks that briefly interrupt traffic flow. These micro-interruptions are invisible to the user but enough to break Slack's real-time connection.
The reliable solution
Local workarounds try to keep your device active, but they can't solve the fundamental problem: Slack needs constant signals from your device. When your device sleeps, locks, or loses connection, those signals stop.
Cloud-based presence scheduling Cloud-based presence scheduling like Idle Pilot runs on always-connected servers. It maintains your Slack status during scheduled hours regardless of what your device is doing.
- Works even when your laptop is closed or off
- No local installs or device workarounds needed
- No workspace bot or admin approval required
- Set your schedule once, it handles the rest
Platform-specific options
Here are platform-specific settings you can adjust. Note that these are workarounds with limitations, not complete solutions.
Mac
- 1 Open your VPN client settings and check for 'idle timeout' or 'keepalive interval' options
- 2 If using Cisco AnyConnect, look for split tunnel configuration under Preferences > VPN
- 3 In System Settings > Network, verify that your VPN connection doesn't override DNS for Slack domains
- 4 Try running Slack's desktop app rather than the browser version, as it handles reconnections slightly faster
Limitation: VPN settings are pushed by your IT department. Local changes may be overwritten on next policy sync.
Windows
- 1 Open your VPN client and look for keepalive or reconnection settings
- 2 Check if split tunneling is available: Settings > Network > VPN > your connection > Advanced options
- 3 For GlobalProtect users, ask IT about enabling 'Exclude Slack' in split tunnel rules
- 4 If allowed, add Slack's IP ranges to a local route that bypasses the VPN
Limitation: Group Policy often locks VPN configuration. Requesting split tunnel exceptions through IT is usually the only path.
Linux
- 1 Check your VPN routing table with 'ip route' to see if Slack traffic goes through the tunnel
- 2 For OpenConnect or openVPN, add Slack server IPs to the bypass list in your config file
- 3 Use NetworkManager's VPN settings to configure split routing if your client supports it
- 4 Monitor VPN reconnections with journalctl to correlate them with Slack away events
Limitation: Corporate VPN profiles may override local routing rules. Some clients ignore user-side configuration entirely.
Set up scheduled presence in 3 steps
Get reliable Slack presence without device workarounds:
- Step 1
Connect your Slack account
Authorize Idle Pilot to update your presence. This uses Slack's standard OAuth, no workspace bot installation needed.
- Step 2
Set your schedule
Choose the days and hours you want to appear active. Set your timezone so it aligns with your actual work hours.
- Step 3
Enable and forget
Turn on your schedule and you're done. Idle Pilot keeps your Slack status active during those hours, regardless of your device state.
Troubleshooting
Slack goes away every time the VPN reconnects
VPN reconnections drop all active TCP connections. Slack needs 5-15 seconds to re-establish its WebSocket after the tunnel comes back up. Cloud scheduling keeps your presence alive during these gaps because it never routes through your VPN.
Slack works fine off VPN but drops presence on VPN
Your VPN may be performing deep packet inspection that interferes with WebSocket connections. Ask IT if Slack can be added to the split tunnel bypass list so its traffic goes directly to the internet.
VPN idle timeout kicks in during long reading sessions
If you're reading documents without generating network traffic, the VPN may close due to inactivity. Some VPN clients have keepalive settings, but cloud-based presence scheduling avoids this entirely.
Status flickers between active and away throughout the day
This pattern usually indicates repeated micro-disconnections from VPN health checks or network switching. Cloud scheduling provides a stable signal that doesn't depend on your VPN tunnel staying continuously connected.
FAQs
Why does my Slack keep going away when I'm connected to the company VPN?
Corporate VPNs enforce idle timeouts that tear down inactive connections. When the VPN tunnel drops and re-establishes, it kills Slack's WebSocket connection in the process. Slack interprets the lost connection as you going offline and marks you away.
Can split tunneling fix Slack presence issues on VPN?
Split tunneling routes Slack traffic directly to the internet instead of through the VPN tunnel, which avoids VPN-specific timeouts and packet inspection. However, most IT departments control split tunnel configuration, so you'd need to request this change from your admin.
Does Idle Pilot's traffic go through my corporate VPN?
No. Idle Pilot runs entirely in the cloud and communicates directly with Slack's servers. It never routes through your VPN tunnel, which means VPN reconnections, idle timeouts, and deep packet inspection have zero impact on your Slack presence.
Why does Slack reconnect every time my VPN auto-reconnects?
VPN reconnections reset your network stack, changing your IP address and dropping all active TCP connections. Slack has to perform a fresh WebSocket handshake after each reconnection, which takes several seconds during which you appear away.
My VPN uses deep packet inspection. Does that affect Slack?
Some DPI appliances don't properly handle WebSocket upgrade requests and may drop or interfere with the persistent connection Slack uses. If your Slack presence is unstable only when on VPN, DPI is a likely culprit. Cloud scheduling bypasses DPI entirely.
How can I tell if my VPN is causing Slack presence problems?
Disconnect from the VPN temporarily and see if Slack presence stabilizes. If it does, the VPN is the issue. You can also check your VPN client's logs for reconnection events and correlate them with the times Slack marked you away.
Related guides
Related resources
Slack auto-away is the automatic system that switches your presence status from …
GlossaryRemote work presence refers to the digital signals that indicate your availabili…
ComparisonIdle Pilot wins for Slack presence; Caffeine is better for preventing system sle…
Ready for reliable Slack presence?
Stop fighting with device settings and workarounds. Idle Pilot keeps your Slack status active on a schedule, even when your laptop is closed.
Last updated: March 2026
Explore more resources