How to script a website to open after vpn connection sucessful

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
bjb72143
OpenVpn Newbie
Posts: 1
Joined: Thu Feb 02, 2017 1:31 am

How to script a website to open after vpn connection sucessful

Post by bjb72143 » Thu Feb 02, 2017 1:56 am

I am new to OpenVPN scripting. Maybe this is a simple answer, however I haven't found anything that leads me to believe I'm on the right track.

Is it possible to add a line to open a https://192.168.201.1 address automatically after the vpn script session has connected? I am using OpenVPN 2.3.8 on the client side of WIndows 10?

I tried to add "%PROGRAMFILES%\internet explorer\iexplore" https://192.168.201.1/ to the batch file to open this link after the session starts but it doesn't recognize the command until after the session has disconnected. What am I doing wrong? Is there a command to use in the config.ovpn to accomplish this?

Thank you for your help in advance.

Post Reply