Archive for the ‘VPN’ Category

Opensuse 12.1 Fritz!box 7390 and VPN – did it

April 8, 2012 Leave a comment

So the idea was to be able to access my Fritz!box 7390 router from the outside via VPN and to be able to do this on my Samsung NC10 which now runs solely on OpenSUSE 12.1. The Fritz!box comes with an IPSEC installed and AVM provide a bespoke VPN client (in german) for Windows7 to work with it. It isn’t that stable and it is limiting in what you can do with it. When it comes to OpenSUSE they provide nothing and you are on your own. Suggestions in comments indicated the Shrew VPN client would be the way to go. As a straight replacement on Win7 it works fine. You have to manually edit the configuration file. It is pretty simple job to cut and paste the relevent details from the Fritz!box configuration file to the Shrew file. This option only allows you to route to your home network only. Getting it to route through the Fritz!box out to the internet (which I wanted to do) is a bit more problematic. You will need to edit the Fritz!box config file and the and the Shrew file directly to alow this to happen. Anyway, after some experimentation it works.

So on to OpenSUSE 12.1. The theory says you just copy the shrew config file over and just use it in the linux client. Before that there are a couple of things you need to do. Obviously you need to install Shrew from the repository. This should bring in the IPSEC packages too. Before you even start Shrew you need to run IKE. If you want to run it automatically you will need write a script. I couldn’t be bothered so I run it from a terminal. From that point on Shrew behaves like the Windows version….. except that it didn’t. For some reason I couldn’t fathom domain numbers were not resolving to IP numbers. Shrew has the option to automatically find a DNS server and secting that did the trick. So I can now VPN through the Fritz!box to the internet using OpenSUSE. It should have been easier though. Next job might well be to get my Xiaomi MIONE phone to VPN through it.

Categories: AVM, Fritz!box, Linux, OpenSUSE 12.1, VPN

Opensuse 12.1 Fritz!box 7390 and VPN. How do you do it?

January 10, 2012 8 comments

OK here is a challenge for some of you. This is an area (one of many) where I know nothing so bear with me. When running Windows on my laptop I can VPN into my Fritz!box 7390. A Friz!Box Windows app generates a configuration files that you load into the router through the in web interface and into the Fritz!Box VPN client. It sounds a little complicated but the configuration only has to be done once. From then on you just fire up the client when you are in a remote location and it connects. Simples.
So now to my question. How do I do this in OpenSUSE 12.1? I tell you what I have tried so far. I have installed KVPN – the KDE VPN client. This allows you to instal the file – which I have to generate under windows (is there a Opensuse 12.1 equivilent process for this too?). There is even a special profile just for Fritzboxes that allows KVPN to import the file. At this point I demonstrate my ignorance (again). KVPN wont work with just the Fritz!box file. It uses IPSEC (I think) so I have downloaded IPSEC files and the IPSEC tools file. This fixes some “racoon” of the errors but I still get a “bind” error. Since both the Fritz!box and OpenSUSE have strong German influences there is a lot of support in the German forums. But my German is weak and Google Translate has not been a friend to me in this matter. So if there are any kind souls out there who know what I need to be doing then please tell me what I need to do. Answers in German are fine. There is one condition however. If the solution involves excesive command line activity, file editing or log dumping then I probably won’t do it as it would defeat the point I was trying to prove in my earlier post. Point and click solutions will certainly given a try. Failing that I might explore the OpenVPN route so any neat solutions here are also welcome.

%d bloggers like this: