Page 1 of 1
Post VPN Login actions
Posted: Fri Mar 29, 2013 4:25 am
by nappy_d
Hi all,
I am new OpenVPN and loving it so far!
What I would like to do is to add a popup window with URLs for access behind my VPN.
Can someone direct me on how to make this work?
T.I.A
Re: Post VPN Login actions
Posted: Fri Mar 29, 2013 7:10 am
by mwandelaar
Great you are loving OpenVPN.
After initialisation you can run a script to to something, in your case it could be creating a pop-up:
Code: Select all
--up cmd
Run command cmd after successful TUN/TAP device open (pre --user UID change).
cmd consists of a path to script (or executable program), optionally followed by arguments. The path and arguments may be single- or double-quoted and/or escaped using a backslash, and should be separated by one or more spaces.
Be aware you need to set
to make this work.
Re: Post VPN Login actions
Posted: Sat Mar 30, 2013 1:18 pm
by nappy_d
Thanks for the reply, but have some really silly questions

,
- which file do I need to make those changes in
- at what line(s)
- in which directory
Re: Post VPN Login actions
Posted: Sat Mar 30, 2013 4:16 pm
by mwandelaar
nappy_d wrote:
- which file do I need to make those changes in
the client-configfile for openvpn
- at what line(s)
The end of the file should be fine
- in which directory
I shoud guess the place where it is right now.
If you are completing the "--up <script>" you obviously use the full path to the script which shows the pop-up.