Vous êtes sur la page 1sur 10

4/21/13

Instructions: kerio vpnclient and rpm-based linux - Forum Kerio-rus

Forum Kerio RUS- > Products > Kerio VPN

Instructions: kerio vpnclient and rpm-based linux


My kobened Reference Community Calendar New posts Search

Welcome, mojsh2020 . You last visited: Today at 14:57 Private Messages : New 0, total 0. Navigation Output

1 2 > Thread Search this Thread 1

Ant
A distinguished clerk Date: 28.04.2006 Address: Russia Posts: 278 Quote selected

Instructions: kerio vpnclient and rpm-based linux

So: Warning! For releases from KWF 671 is no longer required to collect yadromodul enough patching service well, or take the finished bottom of the post. Separate votes means the user Grin , whose invaluable help has inspired me to write this joy. course this forum without which we would probably never have met user Grin and Engine, the company Kerio without which we would not have this wonderful client. So the problem: the company released vpn client only under debian based system that creates several problems such as those who have heterogeneous environments with rpm systems and would like to also continue to enjoy the benefits of vinrouta. Operation tested on mandriva 2009 as minmium two people. If there is who has the desire - we invite you to test. General instructions if you want to do (if you do want at least sekasa myshy turn the wheel to the bottom of the page): 0. Open Rutaceae console, go to / usr / src 1. Trackers: http://download.kerio.com/dwn/kvc6-linux-source.deb Using such mc go inside the package and then copy the CONTENTS of the folder struture from / 2. Install the kernel headers and the required packages urpmi kernel-devel kernel-headers (need skills can make, etc.) 3. In the / usr / src find an archive that is unpacked and correct Makefile, you will need to add a couple of lines about bringing it up like this: After the line:

C ode:

o b j m :=k v n e t . o

Embed this:
C ode:

kerio-rus.ru/forum/showthread.php?t=3911

1/10

4/21/13

Instructions: kerio vpnclient and rpm-based linux - Forum Kerio-rus

K D I R :=/l i b/m o d u l e s/$( s h e l lu n a m e r )/b u i l d P W D :=$( s h e l lp w d )

After the line:


C ode:

E X T R A _ C F L A G S+= O W a l l D M O D U L E D W I N N T=0 D D B G=0 D _ L I N U X

Vtstavit:
C ode:

d e f a u l t : $( M A K E ) C$( K D I R )M=$( P W D )m o d u l e s

Then write: make all should get together without errors. should appear in the directory file kvnet.ko It must be copied to the / lib / modules / tut.versiya.vashego.yadra / kernel / net / kvnet / Then give the command: depmod-a then modprobe kvnet should work without errors. 4. Plain http://download.kerio.com/dwn/kvc6linux.deb can then mc thus managing to go inside the package and all that is in the folder contents raskopirovat on the appropriate directories. After that you need to make any hex editing redatorom Vile from / usr / sbin / kvpncsvc, in a HEX editor to change gzopen64 gzopen (instead of 36 write 34 00 00) 5. Editing by itself: / etc / kerio-kvc.conf in this form:

C ode:

< c o n f i g > < c o n n e c t i o n s > < c o n n e c t i o nt y p e = " p e r s i s t e n t " > < s e r v e r >i p . a d d r< /s e r v e r > < p o r t >p o r t n u m< /p o r t > < u s e r n a m e >u s e r< /u s e r n a m e > < p a s s w o r d >X O R :u s e . p a s s . s h . s c r i p t< /p a s s w o r d > < f i n g e r p r i n t >l o o k . i n t o . w i n r o u t e . v p n . s e r v e r . p r o p e r t i e s< /f i n g e r p r i n t > < a c t i v e >1< /a c t i v e > < /C o n n e c t i o n > < /C o n n e c t i o n s > < /C o n f i g >

6. In order to receive a password to XOR variant is convenient to have a script like this: Save it pass.sh and make executable:
C ode:

# !/B i n/s h e c h o" T y p ep a s s w o r da n dp r e s sE N T E Rf o rX O Ro u t p u t : " r e a d sP A S S W O R D f o rii n` e c h o n "$P A S S W O R D" |o d td 1 An ` ;d oX O R=$( p r i n t f" %s %0 2 x "" $X O R "$( ( i^8 5 ) ) ) ;d o n e e c h o$X O R

kerio-rus.ru/forum/showthread.php?t=3911

2/10

4/21/13

Instructions: kerio vpnclient and rpm-based linux - Forum Kerio-rus

7. The so-called fingerprint need to look at the properties of vpn server vinrouta. It can simply be copied to this config. 8. I'm too lazy to write here as correspondence startup script to verify the operation because you can just give the command in the console: kvpncsvc client should start immediately and lomanutsya to the address specified in the config file. You may need to create it in the folder / var / lib / kerio-kvc and symlink to / var / log / kerio-kvc although it itself can do it - I'll try ene, inistskript me it makes itself. 9. Enjoy! Do not forget the auto-start this process if you need it. If the upgrade you have updated the kernel, you will need to recompile the module kvnet knit and copy it to be. If I attach the turn, then there will attach the archive includes: Ready initskript service patched kernel module source code with the corrected Makefile I've found to get XOR version of the password brief readme with assembly instructions required in English, with reference to this site and thanks

keriovpnc4rpmlinux.6.6.0-5666.R1.zip (2.43 MB, 47 views) keriovpnc4rpmlinux.6.6.0-5729-1.zip (2.43 MB, 60 views) keriovpnc4rpmlinux_6.7.1-6399-1_i386.zip (2.43 MB, 58 views) keriovpnc4rpmlinux_6.7.1-6544-1_i386.zip (2.43 MB, 148 views)

Last edited by HOG; 15.03.2010 at 16:55 .. Reason: Added a release for 6.7.1 version 6544-1 issued on March 9.

40KHYTbIU
Date: 06.10.2009 Posts: 9 Quote selected

Excellent article helped me a lot. Sketched out a little script to determine the fingerprint lines:
Quote:

+ E; echo | openssl s_client-ssl3-connect "$ RET"> $ SCL_STDOUT 2> $ SCL_STDERR; echo $? > $ SCL_EXIT; if [`cat $ SCL_EXIT` == 0]; then cat $ SCL_STDOUT | openssl x509-Fingerprint-MD5-noout | sed s '/. * = / /'; rm-F SCL_STDOUT $ $ $ SCL_STDERR SCL_EXIT ; fi

kerio-rus.ru/forum/showthread.php?t=3911

3/10

4/21/13

Instructions: kerio vpnclient and rpm-based linux - Forum Kerio-rus

Just a patch for new kernels, ask to test connection is, and ping does not go, and access to the network too =)
Quote:

--- Net_dev.c.orig 2009-06-08 18:10:45.000000000 +0400 + + + net_dev.c 2009-10-06 12:19:22.000000000 +0400 @ @ @ @ 293.21 -293.17 struct net_device_stats * Stats = NULL; struct vnet * vnet = vnet_dev (); + static const struct net_device_ops dummy_netdev_ops = { +. ndo_open net_dev_open =, +. ndo_stop net_dev_close =, +. ndo_init net_dev_init =, +. ndo_do_ioctl net_dev_ioctl =, +. ndo_start_xmit net_dev_send =, +. ndo_get_stats net_dev_get_stats =, +}; + TRACE (LOG_INFO, "% s: ==>", __ func__); ether_setup (dev); - dev-> Open = net_dev_open; - dev-> stop = net_dev_close ; - dev-> init = net_dev_init; + dev-> netdev_ops = & dummy_netdev_ops; dev-> Destructor = net_dev_free; - dev-> hard_start_xmit = net_dev_send; - dev-> do_ioctl = net_dev_ioctl; - dev> get_stats = net_dev_get_stats; dev- > hard_header_len = ETH_HLEN; / * 14 * / dev-> addr_len = ETH_ALEN; / * 6 * / dev-> mtu = 1446;

I'm just learning, so I will be glad to amend.


Last edited 40KHYTbIU; 07.10.2009 at 14:09 ..

Ant
A distinguished clerk Date: 28.04.2006

And what of the patch, and why? chtol Something not working?

kerio-rus.ru/forum/showthread.php?t=3911

4/10

4/21/13
Address: Russia Posts: 278 Quote selected

Instructions: kerio vpnclient and rpm-based linux - Forum Kerio-rus

Ant
A distinguished clerk Date: 28.04.2006 Address: Russia Posts: 278 Quote selected

So, finally updated its pedestal to the new version of OSes and decided to test himself with a new client. 1. Plain fact that we offer Kerio. wget http://download.kerio.com/eu/dwn/kvc6-linux.deb obtain a one file: Keriokvc_6.7.1-6399-1_i386.deb 2. We take mc and go straight into it from the folder CONTENTS copy the contents of the appropriate directories from the root of your system. Actually there are only two folders in / etc and / usr inside. 3. I was surprised that more inappropriately to collect a kernel module. Takchto take a HEX editor to hand and that's what we do: hexedit / usr / sbin / kvpncsvc need to change gzopen64 gzopen (instead of 36 write 34 00 00) take the remaining items of the previous statement. way, what a pleasant surprise , init script does not have to edit, start-stop he normally does at least. Tested on Mandriva 2010 Posted 10 minutes Later again arhivchik to attach the readme and patched service. Posted 11 minutes 40KHYTbIU , Nebudetet mind if I have your script in arhivchik also included?

Last edited by Ant; 06.11.2009 at 14:05 .. Reason: Added a message

SS Gorbunkov
C lairvoyant

sorry, no client version for 64bit linux. __________________ http://img162.imageshack.us/img162/6...bar0187gp9.gif Kerio

kerio-rus.ru/forum/showthread.php?t=3911

5/10

4/21/13
Date: 19.07.2006 Address: Penza-Moscow Posts: 6,922 Quote selected

Instructions: kerio vpnclient and rpm-based linux - Forum Kerio-rus

Ant
A distinguished clerk Date: 28.04.2006 Address: Russia Posts: 278 Quote selected

SS Gorbunkov , if you have a desktop that is, why it 64 bits twist? And all sorts of routers \ servers are uniquely common architecture unless you use kakoynit oracle and other specific veschschi I think. totzhe Asterisk and other things on the 64 bits behave well just do not like predictable. Have been had the experience.

SS Gorbunkov
C lairvoyant Quote:

Posted by Ant SS Gorbunkov, if you have a desktop that is, why should it turn the 64-bit? how to say? I have 8 gig of RAM. 32bit distro they do not seem to see it. well, everything is already set up and krutitstsa to reinstall everything for Kerio VPN Client reluctance. found a way out - vindosemerka in virtualbokse, and from there vpn client zapuschayu)) __________________ http://img162.imageshack.us/img162/6...bar0187gp9.gif Kerio

Date: 19.07.2006 Address: Penza-Moscow Posts: 6,922 Quote selected

Ant
A distinguished clerk Date: 28.04.2006 Address: Russia Posts: 278 Quote selected

If the technology is able to wash PAE all he will see how much I know, for modern distros usually kernels include this option. reinstall kanesh Well, yes, for the sake of a dubious activity.

40KHYTbIU
Date: 06.10.2009 Posts: 9 Quote selected

About the script with me. So without the module works? =) I have a problem with a seven under virutalboksom. Kerio server blocks and chops, local administrators said, because of the abundant number of ARP requests. he did not see the logs. sin on virtualboks.

10

kerio-rus.ru/forum/showthread.php?t=3911

6/10

4/21/13

Instructions: kerio vpnclient and rpm-based linux - Forum Kerio-rus

Ant
A distinguished clerk Date: 28.04.2006 Address: Russia Posts: 278 Quote selected

Without the module seems to work, but one of the basins suddenly surfaced cool rake interface kvnet a few seconds loses the resulting un. 'll try a little later still.

11

HOG
Odmenestrador

Moved to obsuzhdalovo VPN section of the BETA. __________________ http://kerio-rus.ru Kerio

Date: 08.03.2006 Location: Out of the woods, certainly ... Posts: 3,589 Quote selected

12

40KHYTbIU
Date: 06.10.2009 Posts: 9 Quote selected

yes no module now works =) cheers! Can someone tell me how a client to Windows 2008 terminal server can Tsypliaev? And I've got a black screen = (by 2003 all the beam.

13

HOG
Odmenestrador

40KHYTbIU , MSTSC any client for your OS. If you linuh then - here . __________________ http://kerio-rus.ru Kerio

Date: 08.03.2006 Location: Out of the woods, certainly ... Posts: 3,589 Quote selected

14

Ant
A distinguished clerk

kerio-rus.ru/forum/showthread.php?t=3911

7/10

4/21/13
Date: 28.04.2006 Address: Russia Posts: 278 Quote selected

Instructions: kerio vpnclient and rpm-based linux - Forum Kerio-rus

Well then, here's the corrected instruktashka patched and service. Yet who would have suggested how you can fix the first post of a topic, it would be magical

Last edited by HOG; 15.03.2010 at 16:58 .. Reason: The file was killed. See first post.

15

40KHYTbIU
Date: 06.10.2009 Posts: 9 Quote selected

I rdesktop 1.6.0 dancing with color depth and screen size, as suggested in the forums. I just hung a black screen and a mustache =) At the bottom of messages not edit \ delete?

16

volp
Date: 09.11.2009 Address: Belarus Posts: 1 Quote selected

Ant , THANK YOU! Six months of searching. Net at work I only have a vpn. Tested on Mandriva 2009.1 all wound up and running with no problems.

17

40KHYTbIU
Date: 06.10.2009 Posts: 9 Quote selected

Launched on Gentoo. received is: cat / var / Log / Kerio-kvc / init.log Failed to Initialize VPN Driver. Adjusted start script / etc / init.d / kerio-kvc (Check the if you have a module TUN) start ( ) { modprobe TUN> / dev / null 2> & 1 | | eerror $? "Error loading TUN module" EXEC $ $ $ LIBDIR >> INITLOG & }

18

Ant
A distinguished clerk Date: 28.04.2006 Address: Russia Posts: 278 Quote selected

Actually that's another release for the Stable version issued on March 9. Tested on myself. blah if I would be inordinately moderators priattachat is also in the first post.

kerio-rus.ru/forum/showthread.php?t=3911

8/10

4/21/13

Instructions: kerio vpnclient and rpm-based linux - Forum Kerio-rus


Last edited by HOG; 15.03.2010 at 16:57 .. Reason: attach the. From this file killed.

19

Ant
A distinguished clerk Date: 28.04.2006 Address: Russia Posts: 278 Quote selected

So, replenish, after days of testing, I have one of the machines around once in five hard does not come un address. What is the reason I did not catch, and at first it appears and then just disappears from the interface. At the other of the pelvis did not happen ninaodnoy version.

20

joys
Date: 23.11.2010 Posts: 1 Quote selected

Fedora 14 system. downloaded file kerio-kvc_6.7.1-6399-1_i386.deb are scattered all along the desired folder. upon the recommendation of Hon. Ant in the / usr / sbin / kvpncsvc changed gzopen64 on gzopen edited by kerio-kvc.conf

Quote:

/ Usr / sbin / kvpncsvc Kerio VPN Client 6.7.1 Build 6399 Service is running . / Kerio-kvc restart Restarting Kerio VPN client He also has to map the logic there to create another network, different routes? ifconfig shows the network card of the former (in the sense of one) in the log writes

Quote:

Nov 23 20:10:32 localhost avahi-daemon [1171]: Withdrawing Workstation Service for kvnet. Nov 23 20:10:32 localhost abrtd: Corrupted or bad crash / var/spool/abrt/ccpp-1290532231-14520 (res: 4), deleting Nov 23 8:10:32 p.m. abrtd localhost: Executable '/ usr / sbin / kvpncsvc' does not Belong to any package Nov 23 20:10:32 localhost abrtd: Directory 'ccpp-1290532231-14520' creation detected Nov 23 20:10:32 localhost abrt [14529]: saved core dump of pid 14520 (/ usr / sbin / kvpncsvc) to / var/spool/abrt/ccpp-129053223114520.new/coredump (45,256,704 bytes) Nov 23 20:10:31 localhost NetworkManager [1151]: <warn> / sys / Devices / Virtual / net / kvnet: Driver could not Determine device; ignoring ... Nov 23 20:10:31 localhost kernel: [344132.758759] kvpncsvc [14520]: segfault at 1c4f ip 00594754 sp bfcaa178 error 4 in libc-2.12.90.so [45d000 +18 D000] Nov 23 20:08:53 localhost abrtd: Corrupted or bad crash / var/spool/abrt/ccpp-1290532132 -14170 (res: 4), deleting Nov 23 20:08:53 localhost abrtd: Executable '/ usr / sbin / kvpncsvc' does not Belong to any package Nov 23 20:08:53 localhost avahi-daemon [1171]: Withdrawing Workstation

kerio-rus.ru/forum/showthread.php?t=3911

9/10

4/21/13

Instructions: kerio vpnclient and rpm-based linux - Forum Kerio-rus

Service for kvnet. Nov 23 20:08:52 localhost abrtd: Directory 'ccpp-1290532132-14170' Creation detected Nov 23 20:08:52 localhost abrt [14176]: saved core dump of pid 14170 (/ usr / sbin / kvpncsvc) to / var/spool/abrt/ccpp-129053213214170.new/coredump (45,400,064 bytes) Maybe there are some ideas, like my ran

1 2 > Previous Thread | Next Thread

Fast Reply
Message:

Insert a quote in return?

A quick answer to

Advanced Mode

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

BB code is On. Smilies On. [IMG] code is On. HTML code is Off. Forum Rules

Quick Navigation Kerio VPN Forward

All times are GMT +4.5, time: 15:03 . Contact Us - Kerio-rus.ru - Top Powered by vBulletin Version 3.8.1 C opyright 2000 - 2013, Jelsoft Enterprises Ltd. Translation: zC arot

Kerio-rus.ru

kerio-rus.ru/forum/showthread.php?t=3911

10/10

Vous aimerez peut-être aussi