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
