----- Original Message -----
From: "AMIT GIROTTEE" <[EMAIL PROTECTED]>
To: "Dayalan Manohar" <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 10:12 AM
Subject: Re: [LIH] VPN configuration


> Dear Manohar ,
>
> Thanx for the answer. But i need a bit of your help in
> understanding the steps and the concept.
>
> 1.install the cipe rpm in both machines which have an
> external ip connected to the internet.
>
> Q. what is the name of the cipe rpm in 7.1 and 7.2,  I
> have two computers where i have installed Linux 7.1 in
> one machine and Linux 7.2 in the other.

look for cipe*.rpm in the redhat cds.install them with "rpm -ivh cipe.rpm"

 I have
> configured modem in both of these. And am holding a
> VSNL a/c. So i can connect to the internet directly.
> Without any External IP. (If i understood ur meaning
> of external IP correctly)

your external ip would reported by issuing the command "ifconfig" when
connected to the net.it probably would be the ip for ppp0

>
> 2.put your 128bit key in /etc/options.cipcb0 -
> generate it using "ps auxw | md5sum".same key at both
> ends.
>
> Q What does the above command do. ps is used to know
> the process status . what is auxw and md5sum. Or may i
> say what exactly the above command is doing.

a 128bit key will be generated and displayed on the screen.copy it into your
options.cipcb0 file at both ends.

>
> 3.in both machines edit
> /etc/sysconfig/network-scripts/ifcfg-cipcb0 which is
> self explanatory.
>
> Q What do i have to edit in these files.
have you looked at the file? if you did you would get the idea.
>
> 5.edit /etc/sysconfig/static-routes to add routes for
> the networks you
> want
> to reach.e.g
> "cipcb0 net 192.168.1.0 netmask 255.255.255.0 gw
> 192.168.6.2"
> 192.168.1.0 is the remote network i want to
> reach.192.168.6.2 is the
> PTPADDR
> i.e virtual address i chose for the remote end of the
> cipe tunnel.
>
> Q What should i do incase i have a scenario as i
> mentioned in Q of step 1. say one computer has an
> internal IP 192.160.147.150 and the other is
> 192.160.147.151.
>

those are not internal ips you have chosen.there could be hosts on the
internet with which those ips would clash.
192.168.147.150 and 192.168.147.151 would do niocely.

> Q How can i test if at all VPN is set up. What all
> will i be able to do once this is set up and how.
>

once you have the vpn up you would be able to access the remote lan by
tunneling thru the internet.

> I 'll be grateful to u if u could come on yahoo
> messenger and help me on the same.
> My id is [EMAIL PROTECTED]
>

you also posted this on blug-tech so i guess you too are in bangalore.you
can phone me up if you want.

>
>
> Looking forward for a positive reply. Pls do a cc to
> [EMAIL PROTECTED] . I need to clean up my
> yahoo a/c a bit.
>
> Regds.
>
> Amit
>
>
>
>
> --------------------------------------------------------------
>
>
>
> --- Dayalan Manohar <[EMAIL PROTECTED]>
> wrote:
> > Hi Amit,
> > To set up a VPN you have many options in linux.You
> > can use cipe,vpnd,ipsec
> > or ssh.vpnd has some disadvantages when compared to
> > cipe.ipsec is not as
> > easy so your best bet would be cipe.
> > http://sites.inka.de/bigred/devel/cipe.html
> > cipe rpm is there in the redhat 7.2 cd.you need to
> > 1.install the cipe rpm in both machines which have
> > an external ip connected
> > to the internet.
> > 2.put your 128bit key in /etc/options.cipcb0 -
> > generate it using "ps auxw |
> > md5sum".same key at both ends.
> > 3.in both machines edit
> > /etc/sysconfig/network-scripts/ifcfg-cipcb0 which is
> > self explanatory.
> > 4.enable ip forwarding - in redhat put
> > FORWARD_IPV4="yes" in
> > /etc/sysconfig/network and in /etc/sysctl.conf put
> > net.ipv4.ip_forward=1.
> > 5.edit /etc/sysconfig/static-routes to add routes
> > for the networks you want
> > to reach.e.g
> > "cipcb0 net 192.168.1.0 netmask 255.255.255.0 gw
> > 192.168.6.2"
> > 192.168.1.0 is the remote network i want to
> > reach.192.168.6.2 is the PTPADDR
> > i.e virtual address i chose for the remote end of
> > the cipe tunnel.
> > 6.restart the network
> > /etc/rc.d/init.d/network restart.
> > note the same method can be used with redhat 7.1
> > too.in redhat 7 the cipe
> > rpm is a snapshot which may not work with a late 2.2
> > kernel.also the
> > configuration for redhat 7 is slightly different.
> > hth,
> > manohar
> > ----- Original Message -----
> > From: "AMIT GIROTTEE" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, January 14, 2002 5:36 PM
> > Subject: [LIH] VPN configuration
> >
> >
> > > Dear Friends ,
> > >
> > > I need to demonstrate VPN between 2 Linux
> > computers
> > > connceted with a modem. How do i do this.
> > >
> > >
> > > Regds.
> > >
> > > Amit
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Send FREE video emails in Yahoo! Mail!
> > > http://promo.yahoo.com/videomail/
> > >
> > > _______________________________________________
> > > linux-india-help mailing list
> > > [EMAIL PROTECTED]
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/linux-india-help
> >
> >
> > _______________________________________________
> > linux-india-help mailing list
> > [EMAIL PROTECTED]
> >
> https://lists.sourceforge.net/lists/listinfo/linux-india-help
>
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to