Alternative GUI for OpenVPN
Hi,
My name is Jochen Wierum and I'm a student at a university of applied science in Germany. We work with OpenVPN there. Since a few weeks, we also have the option to use SmartCards instead of pkcs12 files.
One problem was, that we have laptops which are used by many people with different SmartCards. But the OpenVPN GUI doesn't give the you opportunity to select which SmartCard to use. So I wrote an own small GUI for Windows in C#. It uses the Management Interface to control OpenVPN. It is very simple and not perfect. One Problem is that it requires administrator rights in Vista.
It is written in C# 2008 and requires the .NET Framework 2.0. I released it under the GNU GPL v2.
Perhaps someone thinks it is useful too.
The source can be downloaded at:
http://www.jowisoftware.de/openvpnmanager_src.zip
The binarys are located at:
http://www.jowisoftware.de/openvpnmanager.zip
Jochen
Great!
I was expected PKCS#11 enabled GUI for a long time! But why does it need administrative rights?
Alon.
Quoted 36 lines · Jochen Wierum
Hi,
My name is Jochen Wierum and I'm a student at a university of applied science in Germany. We work with OpenVPN there. Since a few weeks, we also have the option to use SmartCards instead of pkcs12 files.
One problem was, that we have laptops which are used by many people with different SmartCards. But the OpenVPN GUI doesn't give the you opportunity to select which SmartCard to use. So I wrote an own small GUI for Windows in C#. It uses the Management Interface to control OpenVPN. It is very simple and not perfect. One Problem is that it requires administrator rights in Vista.
It is written in C# 2008 and requires the .NET Framework 2.0. I released it under the GNU GPL v2.
Perhaps someone thinks it is useful too.
The source can be downloaded at:
http://www.jowisoftware.de/openvpnmanager_src.zipThe binarys are located at:
http://www.jowisoftware.de/openvpnmanager.zipJochen
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
The Problem is that I read STDIN and STDOUT of OpenVPN. To do this, I have to run my Application at least with the same rights as OpenVPN. OpenVPN has to run as admin to control the routes and the Tap-Device. So my application has a problem.
If somebody knows a solution how to run a program as administrator and read STDIN and STDOUT without having administrator rights he is welcome :-)
Jochen
Quoted 32 lines · Alon Bar-Lev
Great!
I was expected PKCS#11 enabled GUI for a long time! But why does it need administrative rights?Alon.
Quoted 25 lines · Jochen Wierum
Hi,
My name is Jochen Wierum and I'm a student at a university of applied science in Germany. We work with OpenVPN there. Since a few weeks, we also have the option to use SmartCards instead of pkcs12 files.
One problem was, that we have laptops which are used by many people with different SmartCards. But the OpenVPN GUI doesn't give the you opportunity to select which SmartCard to use. So I wrote an own small GUI for Windows in C#. It uses the Management Interface to control OpenVPN. It is very simple and not perfect. One Problem is that it requires administrator rights in Vista.
It is written in C# 2008 and requires the .NET Framework 2.0. I released it under the GNU GPL v2.
Perhaps someone thinks it is useful too.
The source can be downloaded at:
http://www.jowisoftware.de/openvpnmanager_src.zipThe binarys are located at:
http://www.jowisoftware.de/openvpnmanager.zipJochen
You should not do this.
You should only use the management interface for all tasks.
Your configuration should contain the following:
auth-retry nointeract
management-hold
management-signal
management-query-passwords
management-forget-disconnect
So that you can stop/start tunnel using signal SIGUSR1, release from hold.
Management interface only GUI implementation is missing for Windows. You can take some example from kovpn [1], it is a good starting point.
Alon.
[1] https://projects.fslab.de/projects/kovpn
Quoted 47 lines · Jochen Wierum
The Problem is that I read STDIN and STDOUT of OpenVPN. To do this, I
have to run my Application at least with the same rights as OpenVPN. OpenVPN has to run as admin to control the routes and the Tap-Device. So my application has a problem.If somebody knows a solution how to run a program as administrator and read STDIN and STDOUT without having administrator rights he is welcome :-)
Jochen
Quoted 32 lines · Alon Bar-Lev
Great!
I was expected PKCS#11 enabled GUI for a long time! But why does it need administrative rights?Alon.
Quoted 25 lines · Jochen Wierum
Hi,
My name is Jochen Wierum and I'm a student at a university of applied science in Germany. We work with OpenVPN there. Since a few weeks, we also have the option to use SmartCards instead of pkcs12 files.
One problem was, that we have laptops which are used by many people with different SmartCards. But the OpenVPN GUI doesn't give the you opportunity to select which SmartCard to use. So I wrote an own small GUI for Windows in C#. It uses the Management Interface to control OpenVPN. It is very simple and not perfect. One Problem is that it requires administrator rights in Vista.
It is written in C# 2008 and requires the .NET Framework 2.0. I released it under the GNU GPL v2.
Perhaps someone thinks it is useful too.
The source can be downloaded at:
http://www.jowisoftware.de/openvpnmanager_src.zipThe binarys are located at:
http://www.jowisoftware.de/openvpnmanager.zipJochen
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi Alon,
Quoted 2 lines
You should not do this.
You should only use the management interface for all tasks.
I know... but this brings new problems: if the configuration is invalid, OpenVPN prints a warning to stderr, but not to the management interface. That makes it hard do debug errors.
Quoted 8 lines
Your configuration should contain the following:
auth-retry nointeract
management-hold
management-signal
management-query-passwords
management-forget-disconnectSo that you can stop/start tunnel using signal SIGUSR1, release from hold.
I'm on it, it will be included in the next release... i hope.
Quoted 2 lines
Management interface only GUI implementation is missing for Windows. You can take some example from kovpn [1], it is a good starting point.
I am member of the Free Software Lab an I know the maintainer, Daniel Molkentin. But as far as I know, kovpn also has some problems.
I started a SourceForge project [1] and a website [2]. I will populate it the next weeks. Feel free to contribute patches and ideas. Perhaps a link on [3] is also possible? :-)
Jochen
[1] https://sourceforge.net/projects/openvpnmngr/
[2] http://openvpn.jowisoftware.de/
[3] http://openvpn.net/index.php/documentation/graphical-user-interface.html
Quoted 54 lines
Alon.
[1] https://projects.fslab.de/projects/kovpn
Quoted 47 lines · Jochen Wierum
The Problem is that I read STDIN and STDOUT of OpenVPN. To do this, I
have to run my Application at least with the same rights as OpenVPN. OpenVPN has to run as admin to control the routes and the Tap-Device. So my application has a problem.If somebody knows a solution how to run a program as administrator and read STDIN and STDOUT without having administrator rights he is welcome :-)
Jochen
Quoted 32 lines · Alon Bar-Lev
Great!
I was expected PKCS#11 enabled GUI for a long time! But why does it need administrative rights?Alon.
Quoted 25 lines · Jochen Wierum
Hi,
My name is Jochen Wierum and I'm a student at a university of applied science in Germany. We work with OpenVPN there. Since a few weeks, we also have the option to use SmartCards instead of pkcs12 files.
One problem was, that we have laptops which are used by many people with different SmartCards. But the OpenVPN GUI doesn't give the you opportunity to select which SmartCard to use. So I wrote an own small GUI for Windows in C#. It uses the Management Interface to control OpenVPN. It is very simple and not perfect. One Problem is that it requires administrator rights in Vista.
It is written in C# 2008 and requires the .NET Framework 2.0. I released it under the GNU GPL v2.
Perhaps someone thinks it is useful too.
The source can be downloaded at:
http://www.jowisoftware.de/openvpnmanager_src.zipThe binarys are located at:
http://www.jowisoftware.de/openvpnmanager.zipJochen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJIEAY6mq7RFXnOeERCn6tAKDBWja8t/OuPBDnGkzYv4FeClJxAQCeKe/U nA46AXjrV1Rg8TD6UzOmjrQ=
=FCER
-----END PGP SIGNATURE-----
Quoted 6 lines · Jochen Wierum
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512Hi Alon,
Quoted 7 lines
Quoted 2 lines
You should not do this.
You should only use the management interface for all tasks.I know... but this brings new problems: if the configuration is invalid,
OpenVPN prints a warning to stderr, but not to the management interface. That makes it hard do debug errors.
Please separate between debug and normal operation.
This will allow you to run the daemon as a service while the user will not require special privilege.
Also, you can let the user to write his own configuration while you just manage the connect/disconnect/authentication phases. I think this would be best for advance users.
Alon.
Hello Alon,
Quoted 3 lines
Also, you can let the user to write his own configuration while you just manage the connect/disconnect/authentication phases. I think this would be best for advance users.
Did the management interface allow this? That would be a security problem.
Administrator setup two OpenVPN interfaces one with restrictive firewall, one without.
The user could take the configuration files and exchanges the used interfaces (change dev-node) -> bad.
I think the management interface should only allow to start/stop preconfigured configfiles and only clients ones.
For example my computer has an openvpn server instance (should run all the time) and one client instance.
The client one should be manageable (start, stop, ask user for auth)
Opinions?
greetings
Carsten
PS: It's great that a gui is developed!
Quoted 2 lines
Did the management interface allow this? That would be a security problem.
--route-method exe
it would be even greater
greetings
Carsten
PS: That's not a gui problem but a clear management interface one.
Quoted 15 lines · Carsten Krüger
Hello Alon,
Quoted 3 lines
Also, you can let the user to write his own configuration while you just manage the connect/disconnect/authentication phases. I think this would be best for advance users.
Did the management interface allow this? That would be a security
problem.
Administrator setup two OpenVPN interfaces one with restrictive firewall, one without.
The user could take the configuration files and exchanges the used interfaces (change dev-node) -> bad.
Quoted 7 lines
I think the management interface should only allow to start/stop preconfigured configfiles and only clients ones.
For example my computer has an openvpn server instance (should run all the time) and one client instance.
The client one should be manageable (start, stop, ask user for auth)Opinions?
The management interface manage only running instance of OpenVPN. If you want privilege separation you run OpenVPN service as privilege user with specific configuration, and some UI that use the management interace as regular user.
This is why I think that a user interface to OpenVPN should use the management interface and only the management interface, it should not create configuration files and should not capture the openvpn stdout/stderr or assume it has privilege to do anything else.
A separate configuration wizard can be provided... it is OK to have this, but currently Windows users do not have any good UI, so having a UI that use the management interface on Windows is a great step forward.
Alon.
Jochen Wierum skrev den 11-10-2008 23:19:
Quoted 16 lines
Hi,
My name is Jochen Wierum and I'm a student at a university of applied science in Germany. We work with OpenVPN there. Since a few weeks, we also have the option to use SmartCards instead of pkcs12 files.
One problem was, that we have laptops which are used by many people with different SmartCards. But the OpenVPN GUI doesn't give the you opportunity to select which SmartCard to use. So I wrote an own small GUI for Windows in C#. It uses the Management Interface to control OpenVPN. It is very simple and not perfect. One Problem is that it requires administrator rights in Vista.
It is written in C# 2008 and requires the .NET Framework 2.0. I released it under the GNU GPL v2.
Quoted 9 lines
Perhaps someone thinks it is useful too.
The source can be downloaded at:
http://www.jowisoftware.de/openvpnmanager_src.zipThe binarys are located at:
http://www.jowisoftware.de/openvpnmanager.zip
I have tried your GUI interface, but I use auth-user-pass in my config for authentification and your program only asks for the password and not the username.
( I have tried it, because I only want to enter the password, and tries to find a GUI, that can take the username from CN of the certificate, but completely omitting the username is not the solution in setup's like mine).
PS. The old/original gui changes color when it connects. That is a nice feature.
--
Morten Christensen
Quoted 12 lines
Jochen
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Quoted 34 lines · Morten Christensen
Jochen Wierum skrev den 11-10-2008 23:19:
Quoted 16 lines
Hi,
My name is Jochen Wierum and I'm a student at a university of applied science in Germany. We work with OpenVPN there. Since a few weeks, we also have the option to use SmartCards instead of pkcs12 files.
One problem was, that we have laptops which are used by many people with different SmartCards. But the OpenVPN GUI doesn't give the you opportunity to select which SmartCard to use. So I wrote an own small GUI for Windows in C#. It uses the Management Interface to control OpenVPN. It is very simple and not perfect. One Problem is that it requires administrator rights in Vista.
It is written in C# 2008 and requires the .NET Framework 2.0. I released it under the GNU GPL v2.
Quoted 9 lines
Perhaps someone thinks it is useful too.
The source can be downloaded at:
http://www.jowisoftware.de/openvpnmanager_src.zipThe binarys are located at:
http://www.jowisoftware.de/openvpnmanager.zipI have tried your GUI interface, but I use auth-user-pass in my config for authentification and your program only asks for the password and not the username.
( I have tried it, because I only want to enter the password, and tries to find a GUI, that can take the username from CN of the certificate, but completely omitting the username is not the solution in setup's like mine).
Quoted 5 lines
PS. The old/original gui changes color when it connects. That is a nice feature.
Signature · 1 line
Morten Christensen
Hi,
I will implement the auth-user-pass feature the next weeks. So stay tuned. I'm not sure if there's a way to get the CN in the management interface so I can't promise you that this is possible. Keep an eye on [1] and wait for version 0.0.3.0.
Jochen
[1] https://sourceforge.net/projects/openvpnmngr/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJIEFU6mq7RFXnOeERCtu5AJ9vksmiLlfaUn2lOhExvpfhgh0KqQCg9JKJ iBavy1+f955pP7wWGhfrOBg=
=sX5p
-----END PGP SIGNATURE-----
Jochen Wierum skrev den 16-11-2008 16:50:
Quoted 26 lines
Quoted 10 lines · Morten Christensen
Jochen Wierum skrev den 11-10-2008 23:19:
Quoted 8 lines
Hi,
My name is Jochen Wierum and I'm a student at a university of applied science in Germany. We work with OpenVPN there. Since a few weeks, we also have the option to use SmartCards instead of pkcs12 files.
Quoted 11 lines
I have tried your GUI interface, but I use auth-user-pass in my config for authentification and your program only asks for the password and not the username.
( I have tried it, because I only want to enter the password, and tries to find a GUI, that can take the username from CN of the certificate, but completely omitting the username is not the solution in setup's like mine).Signature · 1 line
Morten ChristensenHi,
Quoted 9 lines
I will implement the auth-user-pass feature the next weeks. So stay tuned. I'm not sure if there's a way to get the CN in the management interface so I can't promise you that this is possible. Keep an eye on [1] and wait for version 0.0.3.0.
Jochen
Hi Jochen
Is your project still alive, or can I stop looking at the sourceforge-project, where nothing have happened for a month or more ?
--
Morten Christensen
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hello Morten,
a few days ago, I checked in a version which runs without administrator-rights. auth-user-pass is also implemented in trunk/. I did not release a binary version yet, because it is not well tested.
But if the source is useless for you, i will provide a executable version of as v0.0.2.1
What is not implemented - and perhaps will never be - is the possibility to extract the username out of the CN field of the certificate, because the management interface doesn't provide functions to read these data.
Jochen
Quoted 34 lines · Morten Christensen
Jochen Wierum skrev den 11-10-2008 23:19:
Quoted 16 lines
Hi,
My name is Jochen Wierum and I'm a student at a university of applied science in Germany. We work with OpenVPN there. Since a few weeks, we also have the option to use SmartCards instead of pkcs12 files.
One problem was, that we have laptops which are used by many people with different SmartCards. But the OpenVPN GUI doesn't give the you opportunity to select which SmartCard to use. So I wrote an own small GUI for Windows in C#. It uses the Management Interface to control OpenVPN. It is very simple and not perfect. One Problem is that it requires administrator rights in Vista.
It is written in C# 2008 and requires the .NET Framework 2.0. I released it under the GNU GPL v2.
Quoted 9 lines
Perhaps someone thinks it is useful too.
The source can be downloaded at:
http://www.jowisoftware.de/openvpnmanager_src.zipThe binarys are located at:
http://www.jowisoftware.de/openvpnmanager.zipI have tried your GUI interface, but I use auth-user-pass in my config for authentification and your program only asks for the password and not the username.
( I have tried it, because I only want to enter the password, and tries to find a GUI, that can take the username from CN of the certificate, but completely omitting the username is not the solution in setup's like mine).
Quoted 30 lines
PS. The old/original gui changes color when it connects. That is a nice feature.
Signature · 1 line
Morten ChristensenQuoted 15 lines
Jochen
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJVijA6mq7RFXnOeERCphnAJ48ny8roc6d/7iU6Cg7tnOilnGzuQCeI+uZ dTaU7OShmpqXDIKpNodWuNE=
=coHP
-----END PGP SIGNATURE-----
Quoted 3 lines · Jochen Wierum
What is not implemented - and perhaps will never be - is the possibility to extract the username out of the CN field of the certificate, because the management interface doesn't provide functions to read these data.
I don't understand... What is missing? Isn't this feature is important at server side, while the UI runs on the client side?
Alon
Alon Bar-Lev skrev den 27-12-2008 16:38:
Quoted 10 lines · Jochen Wierum
Quoted 5 lines
What is not implemented - and perhaps will never be - is the possibility to extract the username out of the CN field of the certificate, because the management interface doesn't provide functions to read these data.
I don't understand... What is missing? Isn't this feature is important at server side, while the UI runs on the client side?
It is a feature-request and not a requirement or a bug.
In my seup we use auth-user-pass and the username is allways the same as the CN of the certificate.
Auth-user-pass requires, that we enter both username and password each time we start a connection. When we know that the username is on the system in the CN-field of the certificate, it will be nice not to be forced to enter it on every connection.
--
Morten Christensen
Quoted 4 lines · Morten Christensen
Auth-user-pass requires, that we enter both username and password each time we start a connection. When we know that the username is on the system in the CN-field of the certificate, it will be nice not to be forced to enter it on every connection.
So you actually wish the client to set up the username automatically based on the CN.
It looks simple enough, can you prepare a patch?
Alon.
Alon Bar-Lev skrev den 27-12-2008 19:15:
Quoted 11 lines · Morten Christensen
Quoted 6 lines
Auth-user-pass requires, that we enter both username and password each time we start a connection. When we know that the username is on the system in the CN-field of the certificate, it will be nice not to be forced to enter it on every connection.
So you actually wish the client to set up the username automatically based on the CN.
Yes. That simple.
Quoted 2 lines
It looks simple enough, can you prepare a patch?
Unfortunately I do not know enough about programming to help out here. I just try to make a polite request when anybody talks about improving the client-GUI.
--
Morten Christensen
Quoted 3 lines · Morten Christensen
Unfortunately I do not know enough about programming to help out here. I
just try to make a polite request when anybody talks about improving the client-GUI.
Tellme.... Isn't empty username or dummy one ignored and replaced by the server by the CN?
Alon Bar-Lev skrev den 27-12-2008 20:11:
Quoted 10 lines · Morten Christensen
Quoted 5 lines
Unfortunately I do not know enough about programming to help out here. I
just try to make a polite request when anybody talks about improving the client-GUI.Tellme.... Isn't empty username or dummy one ignored and replaced by the server by the CN?
Not that I know of, and I cannot make a connection with an empty username.
--
Morten Christensen
Quoted 9 lines · Morten Christensen
Alon Bar-Lev skrev den 27-12-2008 20:11:
Quoted 7 lines · Morten Christensen
Quoted 5 lines
Unfortunately I do not know enough about programming to help out here. I
just try to make a polite request when anybody talks about improving the client-GUI.
Quoted 5 lines
Quoted 3 lines
Tellme.... Isn't empty username or dummy one ignored and replaced by the server by the CN?
Not that I know of, and I cannot make a connection with an empty username.
Please try to enter "dummy" or something. If it does not work, I will look into the code and try to make it behave as so.
I just never had username configuration before... I actually don't understand why you need it anyway.... :)
Alon.
Alon Bar-Lev skrev den 27-12-2008 20:43:
Quoted 17 lines · Morten Christensen
Quoted 16 lines
Alon Bar-Lev skrev den 27-12-2008 20:11:
Quoted 11 lines · Morten Christensen
Quoted 6 lines
Unfortunately I do not know enough about programming to help out here. I
just try to make a polite request when anybody talks about improving the client-GUI.Tellme.... Isn't empty username or dummy one ignored and replaced by the server by the CN?
Quoted 9 lines
Quoted 2 lines
Not that I know of, and I cannot make a connection with an empty username.
Please try to enter "dummy" or something. If it does not work, I will look into the code and try to make it behave as so.
I just never had username configuration before... I actually don't understand why you need it anyway.... :)
We are combining a certificate without password with authentification with the username and password of the servers. I find that it has 2 advantages:
The user cannot change the password to something too short.
When the user forgets the password, it is easy to enter a new one without the need far a new certificate.
--
Morten Christensen
Quoted 10 lines · Morten Christensen
Quoted 3 lines
I just never had username configuration before... I actually don't understand why you need it anyway.... :)
We are combining a certificate without password with authentification
with the username and password of the servers.
I find that it has 2 advantages:
The user cannot change the password to something too short. When the user forgets the password, it is easy to enter a new one without the need far a new certificate.
OK... but the true protection is the cryptography... So the level of authentication is username/password.
Have you tried the dummy scenario.
Alon.
Alon Bar-Lev skrev den 27-12-2008 21:20:
Quoted 14 lines · Morten Christensen
Quoted 5 lines
Quoted 4 lines
I just never had username configuration before... I actually don't understand why you need it anyway.... :)
Quoted 7 lines
We are combining a certificate without password with authentification
with the username and password of the servers.
I find that it has 2 advantages:
The user cannot change the password to something too short. When the user forgets the password, it is easy to enter a new one without the need far a new certificate.
Quoted 3 lines
OK... but the true protection is the cryptography... So the level of authentication is username/password.
Yes but only if it is coupled with the right certificate.
Quoted 2 lines
Have you tried the dummy scenario.
Yes. Does not work.
But that might be because we use this script (from James) on the server to secure, that username/password and certificate is coupled :
#!/usr/bin/perl -t
# OpenVPN --auth-user-pass-verify script.
# Only authenticate if username equals common_name.
# In OpenVPN config file:
# auth-user-pass-verify ./unc.pl via-env
$username = $ENV{'username'};
$common_name = $ENV{'common_name'};
exit !(length($username) > 0 && length($common_name) > 0 && $username eq $common_name);
# END}
--
Morten Christensen
Quoted 4 lines · Morten Christensen
Quoted 3 lines
OK... but the true protection is the cryptography... So the level of authentication is username/password.
Quoted 8 lines
Yes but only if it is coupled with the right certificate.
Quoted 2 lines
Have you tried the dummy scenario.
Yes. Does not work.
But that might be because we use this script (from James) on the server to secure, that username/password and certificate is coupled :
I don't think so, I think the server ignores the username. You can check this out, and have a solution for your setup.
Alon.