Networking Forums

Networking Forums > Computer Networking > Linux Networking > Linux VPN server and client

Reply
Thread Tools Display Modes

Linux VPN server and client

 
 
susikaufmann2003@hotmail.com
Guest
Posts: n/a

 
      11-26-2007, 12:50 PM
Hello,

I have written a Java application which needs to access an external
mysql-database. To secure the connection I would like to use a VPN.
Perhaps someone has experience with strongSwan as server? Smartcard-
support is also needed, because my java-app uses a javacard to encrypt
data, so I also want to use it for the VPN-auth.

Perhaps someone also knows a good small client, which I can call from
my Java-App, so the user do not have to open the VPN client by
himself.

Regards,

Susanne
 
Reply With Quote
 
 
 
 
Burkhard Ott
Guest
Posts: n/a

 
      11-27-2007, 06:44 AM
Am Mon, 26 Nov 2007 05:50:28 -0800 schrieb (E-Mail Removed):

> Hello,
>
> I have written a Java application which needs to access an external
> mysql-database. To secure the connection I would like to use a VPN.
> Perhaps someone has experience with strongSwan as server? Smartcard-
> support is also needed, because my java-app uses a javacard to encrypt
> data, so I also want to use it for the VPN-auth.
>
> Perhaps someone also knows a good small client, which I can call from
> my Java-App, so the user do not have to open the VPN client by
> himself.
>
> Regards,
>
> Susanne


Hello,

at the very first what is a javacard?
Usually you have 3 kinds of authentication challenges (IPSec).
1. preshared key (password auth)
2. via public rsa key (usually kept in DNS)
3. via CA (you can build your own PKI)

What I don't understand is the smatcard thingy to encrypt the data, if you
have a tunnel successfull established then you have a secure and encrypted
connection.
Do you want an userauth. via smartcard?

cheers
 
Reply With Quote
 
susikaufmann2003@hotmail.com
Guest
Posts: n/a

 
      11-28-2007, 09:34 AM
Ok, I have a smartcard according to the javacard 2.2.1 standard. The
java card encrypts and decrypts data that is send to my server (writes
it into a mysql-db). The data is encypted, but I don't want the mysql-
db to be that open. So I want to establish a VPN between the client
and the server. I want to create my own CA and the data for login to
the VPN-Server should be oncard. So the VPN-client soft reads it from
the card and uses it to login to the VPN-Server.

regards,

Susanne
 
Reply With Quote
 
Burkhard Ott
Guest
Posts: n/a

 
      11-30-2007, 10:49 AM
Am Wed, 28 Nov 2007 02:34:27 -0800 schrieb (E-Mail Removed):

> Ok, I have a smartcard according to the javacard 2.2.1 standard. The
> java card encrypts and decrypts data that is send to my server (writes
> it into a mysql-db). The data is encypted, but I don't want the mysql-
> db to be that open. So I want to establish a VPN between the client
> and the server. I want to create my own CA and the data for login to
> the VPN-Server should be oncard. So the VPN-client soft reads it from
> the card and uses it to login to the VPN-Server.


Ok got it, the only thing is it makes no sense get a vpn server on a card.
But use the card as client with the clientcert signed by your CA.
Another way what I think you could also do, use the mysql SSL connection
and filter on the server the src-ip's on a firewall, how about that?

cheers
 
Reply With Quote
 
susikaufmann2003@hotmail.com
Guest
Posts: n/a

 
      12-01-2007, 12:59 PM
> Ok got it, the only thing is it makes no sense get a vpn server on a card.
> But use the card as client with the clientcert signed by your CA.


The card should only be the storage of the clientcert.

> Another way what I think you could also do, use the mysql SSL connection
> and filter on the server the src-ip's on a firewall, how about that?


Ok, this would also be a solution....I will think about it, but at
next I will try to get information about the keyfile storage on a
smartcard, because I have to be sure not to overwrite my other
javacard-applet.

Regards,

Susanne

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS from Linux PXE client to AIX 5.3 server? Menno Willemse Linux Networking 7 01-16-2007 02:06 PM
LINUX VPN client to Microsoft VPN Server gooderthanyou@gmail.com Linux Networking 1 07-25-2006 03:25 AM
Can't talk between VPN'd client and Linux server. thenighthawk@gmail.com Linux Networking 6 06-30-2005 03:37 PM
NFS, Linux client, OSX server jb_is_not@home.yet Linux Networking 8 09-13-2004 04:41 PM
Trouble Installing Linux/Cisco VPN Client Has anyone had trouble compiling the linux cisco vpn client? Here is the output of the install script: # uname -rviosm Linux 2.4.22-1.2188.nptl #1 Wed Apr 21 20:19:18 EDT 2004 x86_64 x86_64 GNU/Linux JSH Linux Networking 4 07-02-2004 12:48 PM



1 2 3 4 5 6 7 8 9 10 11