[opensuse] How to config openVPN in KDE?
Dear all, I have been struggling with setting openVPN for a long time. I wish to build an openVPN connection between home and my workplace. I got two files from the workplace: ca.crt and ta.key, and of course, the login/password pair. I have oS 11.4 and KDE 4.6.5. Could somebody tell me, how can I set up this connection. How can I check that it is really working. For this I usually try to connect to a literature database available only for "insiders". All help is welcome. Thanks, Albert Oszko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Oszkó Albert wrote:
Dear all,
I have been struggling with setting openVPN for a long time. I wish to build an openVPN connection between home and my workplace. I got two files from the workplace: ca.crt and ta.key, and of course, the login/password pair. I have oS 11.4 and KDE 4.6.5. Could somebody tell me, how can I set up this connection. How can I check that it is really working. For this I usually try to connect to a literature database available only for "insiders".
Hello Albert openVPN and KDE are two essentially unrelated topics - to start with, I would go and google "openvpn howto". There is quite a bit of documentation out there. As you already have the keys and userid/passwd for login, all you need is the server address and to configure your openvpn client. You need to store the key-files in the right place, typically /etc/openvpn, then create a client.conf roughly like this: client dev tun proto udp remote <yourserver> 1194 resolv-retry infinite nobind user nobody group nobody persist-key persist-tun ca ca.crt cert yourcert.crt key yourkey.key ns-cert-type server -- Per Jessen, Zürich (19.8°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Jul 26, 2011 at 13:30, Per Jessen <per@opensuse.org> wrote:
Oszkó Albert wrote:
Dear all,
I have been struggling with setting openVPN for a long time. I wish to build an openVPN connection between home and my workplace. I got two files from the workplace: ca.crt and ta.key, and of course, the login/password pair. I have oS 11.4 and KDE 4.6.5. Could somebody tell me, how can I set up this connection. How can I check that it is really working. For this I usually try to connect to a literature database available only for "insiders".
Hello Albert
openVPN and KDE are two essentially unrelated topics - to start with, I would go and google "openvpn howto". There is quite a bit of documentation out there. As you already have the keys and userid/passwd for login, all you need is the server address and to configure your openvpn client. You need to store the key-files in the right place, typically /etc/openvpn, then create a client.conf roughly like this:
client dev tun proto udp remote <yourserver> 1194 resolv-retry infinite nobind user nobody group nobody persist-key persist-tun ca ca.crt cert yourcert.crt key yourkey.key ns-cert-type server
Manage Connections > VPN > Add > OpenVPN. This is where you define
I use openVPN with KDE4 all the time... and it's quite easy. Assuming openVPN for the network manager is installed (it's in the repositories) I just use the network manager to add a new VPN connection, and then.. click on the VPN name in the network manager. Setting up the VPN connection can be done through the Network Manager the remote IP, the security type, and upload your certificates... once that's complete, you should see a clickable link in the Network Manager widget.... click it, and assuming you've defined the VPN correctly, it'll connect in a few seconds. I haven't had to tinker in the /etc/openvpn directory at all... of course that should work too if you know what/where to edit etc. C. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
C wrote:
I use openVPN with KDE4 all the time... and it's quite easy. Assuming openVPN for the network manager is installed (it's in the repositories) I just use the network manager to add a new VPN connection, and then.. click on the VPN name in the network manager.
Ah, I see - I don't use NetworkManager, so I wasn't aware. -- Per Jessen, Zürich (22.9°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Jul 26, 2011 at 15:25, Per Jessen <per@opensuse.org> wrote:
C wrote:
I use openVPN with KDE4 all the time... and it's quite easy. Assuming openVPN for the network manager is installed (it's in the repositories) I just use the network manager to add a new VPN connection, and then.. click on the VPN name in the network manager.
Ah, I see - I don't use NetworkManager, so I wasn't aware.
I discovered it by accident myself :-) We find a way to do these things, and stick with them. The thing I like is that there is always more than one way to do any of the tasks. C. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
2011-07-26 11:53 keltezéssel, Oszkó Albert írta:
Dear all,
I have been struggling with setting openVPN for a long time. I wish to build an openVPN connection between home and my workplace. I got two files from the workplace: ca.crt and ta.key, and of course, the login/password pair. I have oS 11.4 and KDE 4.6.5. Could somebody tell me, how can I set up this connection. How can I check that it is really working. For this I usually try to connect to a literature database available only for "insiders".
All help is welcome.
Thanks, Albert Oszko
Hi all, let me clear it a bit more. I tried to set up openVPN with Networkmanager. I try to translate the thing, because I use Hungarian oS. There is a Network manager setting panel. Two icons on the left: network connections and Other. I chose the first and then clicked the VPN tab. Another panel comes up, with two tabs: IP address and openVPN. Shall I write anything into the fields of the IP address tab. There is a menu called method; which one should I choose. On the tab there is a field named gateway - I know nothing about it. There are four choices of the type of connection field. E.g selecting X.509 with password there is a filed called CA-file and another called certificate or so. What is the difference? The ta.key file goes into the key field I assume. Sorry, these things are not clear for me. When I click the network connection icon on the tray, a menu pops up. The topmost item is Auto eth0 (active) and there is a red heart beside it. The second is the name of my hoped VPN connection. UNfortunately nothing happens wehn I click it. So obviously I still do something wrong. Thanks for your patience to red all this. Best regards, Albert Oszko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
C
-
Oszkó Albert
-
Per Jessen