Reputation: 103
My office network uses Pulse Secure to connect to VPN. I am tunneling my Python Script using ngrok. When the VPN is off, ngrok successfully tunnels my server but the Python Script needs to access a website on the VPN. When I turn on the VPN, ngrok stops working (Reconnecting indefinitely). Is there any method to allow ngrok to work even when the VPN is on?
I've tried to explore modifications in the Python Script to access the VPN server whenever called, but could not do it.
Command I am using in ngrok (5000 was the port generated by the python script using Flask library) - ngrok http 5000
Session Status - Reconnecting
Upvotes: 3
Views: 8806
Reputation: 467
You need enable split tunneling on your VPN to allow the ngrok traffic to bypass the VPN.
Upvotes: 1