Koozali.org: home of the SME Server

freeswan with 6.0

Lowell

freeswan with 6.0
« on: September 28, 2003, 05:07:50 AM »
Can you tell me if - devinfo-freeswan-1.99 - will work with 6.0b3?
Lowell

Lloyd Keen

Re: freeswan with 6.0
« Reply #1 on: September 28, 2003, 02:15:45 PM »
Yes I've just setup a tunnel between two 6.0b3 boxes and it seems to working fine. There are some X509 binaries compiled for this kernel You can download them here http://download.freeswan.ca/freeswan-x509/RedHat-RPMs/1.99/2.4.20-18.7/ Install the freeswan binaries first then install dev-info next using --nodeps.
I did have an error come up on one of the sites about rp_filter = 1 should be 0 so I changed it and the tunnel came up staright away.
[root@server root]# service ipsec restart
ipsec_setup: Stopping FreeS/WAN IPsec...
ipsec_setup: Starting FreeS/WAN IPsec 1.99...
ipsec_setup: Using /lib/modules/2.4.20-18.7smp/kernel/net/ipsec/ipsec.o
ipsec_setup: WARNING: eth1 has route filtering turned on, KLIPS may not work
ipsec_setup:  (/proc/sys/net/ipv4/conf/eth1/rp_filter = 1', should be 0)
[root@server root]# echo "0" > /proc/sys/net/ipv4/conf/eth1/rp_filter
[root@server root]# cat /proc/sys/net/ipv4/conf/eth1/rp_filter
0
[root@server root]# service ipsec restart
ipsec_setup: Stopping FreeS/WAN IPsec...
ipsec_setup: Starting FreeS/WAN IPsec 1.99...
ipsec_setup: Using /lib/modules/2.4.20-18.7smp/kernel/net/ipsec/ipsec.o
[root@server root]# rpm -q devinfo-freeswan
devinfo-freeswan-1.99-6sme56
[root@server root]# rpm -q freeswan
freeswan-1.99_x509_0.9.15_2.4.20_18.7-1
[root@server root]# rpm -q freeswan-module
freeswan-module-1.99_x509_0.9.15_2.4.20_18.7-1
HTH Regards Lloyd

lilkev

freeswan with 6.0
« Reply #2 on: December 03, 2004, 02:50:47 PM »
Hi Lloyd
THanks for this how-to, it has been a big help.....almost. I'm hoping you can shed a little more light on a problem.

I have installed the packages, I could not find devinfo-freeswan-1.99-6sme56 what does this do?

I got the same errors about the rp_filter being 1 not 0, yet when I cat'd the appropriate file I got a "0" return. So far the tunnel has not come up. Can yu shed a bit of light on what I may be missing?

Many Thanks

Kev

Offline psc

  • *
  • 151
  • +0/-0
freeswan with 6.0
« Reply #3 on: December 06, 2004, 06:49:16 PM »
devinfo-freeswan-1.99-8sme56 installs the server-manager panels and a few scripts and templates.

Install this contrib with:
rpm -ivh --nodeps devinfo-freeswan-1.99/devinfo-freeswan-1.99-8sme56.noarch.rpm

AFTER that:
/sbin/e-smith/signal-event ipsec-install

Download from:

http://mirror.contribs.org/smeserver/contribs/saco/contrib/devinfo-freeswan-1.99/devinfo-freeswan-1.99-8sme56.noarch.rpm
First, solve the problem. Then, write the code.

Offline leonardocruz

  • *
  • 24
  • +0/-0
    • http://n/a
Newbie
« Reply #4 on: January 05, 2006, 12:50:33 AM »
hi i am verynew is this i config only dlink routers or windows server, now i need connect two network and this appear good, i install ones sme server from 5 trhu 7.9b and all is ok, i try this howto but the server dont see one to other. i'm trying with two SME 6.01 server.
1-download the 3 files, Freeswan-1*.rpg y -M*.rpm and devinfo*.rpm
2- i install with: rpm -ivh --nodeps freeswan-1*.rpm
                       rpm -ivh --nodeps freeswan-m*.rpm
                       rpm -ivh --nodeps devinfo*.rpm
(the step 2 is working fine!)

3- #echo "0" > /proc/sys/net/ipv4/conf/eth1/rp_filter
    #cat /proc/sys/net/ipv4/conf/eth1/rp_filter
    #/sbin/e-smith/signal-event ipsec-install
(i unknow what doing the step 3, for what this refer to eth1 and no to eth0)

4- #service ipsec start

5- email the signature of server in panel in both server
6- define the remote lan for each server how local
7- create the ipvsec vpn

and not function the VPN

what i doing BAD i try with next
http://www.l-download.homelinux.com/how%20to/vpn_howto.pdf
tutorial step by step but no function my Vpn


wleonardocruz @ gmail dot com
LeonardoCruz