--- In [email protected], Sanjeev Raje <[EMAIL PROTECTED]>
wrote:
>
> Hi friends,
>
> I am looking for configuration and installation steps of openswan
for VPN
>
> Thanks and regards,
> neelesh
>
>
>
>
>
> Download prohibited? No problem. CHAT from any browser,
without download. Go to http://in.webmessenger.yahoo.com/
>
> [Non-text portions of this message have been removed]
Hi Neelesh,
Follow below steps:
gpg --verify openswan-2.4.1.tar.gz.asc
Compiling & Installing
make programs
make install
NAT-Traversal Patch:
If KLIPS needs to be used then NAT-Traversal patch needs to be
appiled to Kernel.
Generate Patch file:
KERNELSRC=/usr/src/linux-2.6.11
cd openswan-2
make nattpatch > /usr/src/openswan-ipsec-natt.patch
cd /usr/src/linux-2.6.11
cat /usr/src/openswan-ipsec-natt.patch | patch -p1 -s
make clean
make oldconfig
For new NAT option--->Press Y
make dep
make bzimage modules module_install
Activating KLIPS:
Before loading KLIPS ensure that NETKEY is not loaded
rmmod xfrmuser af_key esp4 ah4 ipcomp xfrm4_tunnel
modeprobe ipsec
verifying the installation:
ipsec --version
ipsec verify
Creating VPN Tunnel between two networks
conn Shiva-Vishnu
left=193.110.157.131
leftsubnet=1293.111.228.0/24
right=205.150.200.209
rightsubnet=192.0.2.0/24
leftrsasigkey=0sAQ43A1
rightrsasigkey
autostart
Thanks & Regards,
Satish Kori
>