Monday, April 4, 2011

HowtouseVPN?


1.WhatistheVPN?VPNisanetworkthatusesapublictelecommunicationinfrastructure,suchastheInternet,toprovideremoteofficesorindividualuserswithsecureaccesstotheirorganization’snetwork.Avirtualprivatenetworkcanbecontrastedwithanexpensivesystemofownedorleasedlinesthatcan>2.Howtousethevpnstep1installpppdandxl2tpdstep2#vim/etc/xl2tpd/xl2tpd.conf[lacturbolinux]lns=61.148.102.142requirepap=yesrequireauthentication=yesname=tbvpnuserpppdebug=yespppoptfile=/etc/ppp/options.l2tpd.clientlengthbit=nostep3createanewconfigfileforpppd#vim/etc/ppp/options.l2tpd.clientipcp-accept-localipcp-accept-remoterefuse-eapnoccpnoauthcrtsctsidle1800mtu1410mru1410nodefaultroutedebuglockstep4#vim/etc/ppp/pap-secretsvpnusernameturbolinuxvpnpasswdstep5#/etc/init.d/xl2tpdstartwhenyouwanttoconnectthenetwork,pleaserunthecommand:#echocturbolinux/var/run/xl2tpd/l2tp-control(andthenyoucanrunthecommandifconfig,afterthatyouwillseethePPP_IFACE,etcppp0,fromtheoutputinformation)Donotforgetaddtheprivatenetworkroute:#iprouteadd172.0.0.0/8dev$PPP_IFACEwhenyouwanttodisconnectthenetwork,pleaserunthecommand:#echodturbolinux/var/run/xl2tpd/l2tp-controlReferenceshttp://www.jacco2.dds.nl/networking/linux-l2tp.html

1.WhatistheVPN?VPNisanetworkthatusesapublictelecommunicationinfrastructure,suchastheInternet,toprovideremoteofficesorindividualuserswithsecureaccesstotheirorganization’snetwork.Avirtualprivatenetworkcanbecontrastedwithanexpensivesystemofownedorleasedlinesthatcan>2.Howtousethevpnstep1installpppdandxl2tpdstep2#vim/etc/xl2tpd/xl2tpd.conf[lacturbolinux]lns=61.148.102.142requirepap=yesrequireauthentication=yesname=tbvpnuserpppdebug=yespppoptfile=/etc/ppp/options.l2tpd.clientlengthbit=nostep3createanewconfigfileforpppd#vim/etc/ppp/options.l2tpd.clientipcp-accept-localipcp-accept-remoterefuse-eapnoccpnoauthcrtsctsidle1800mtu1410mru1410nodefaultroutedebuglockstep4#vim/etc/ppp/pap-secretsvpnusernameturbolinuxvpnpasswdstep5#/etc/init.d/xl2tpdstartwhenyouwanttoconnectthenetwork,pleaserunthecommand:#echocturbolinux/var/run/xl2tpd/l2tp-control(andthenyoucanrunthecommandifconfig,afterthatyouwillseethePPP_IFACE,etcppp0,fromtheoutputinformation)Donotforgetaddtheprivatenetworkroute:#iprouteadd172.0.0.0/8dev$PPP_IFACEwhenyouwanttodisconnectthenetwork,pleaserunthecommand:#echodturbolinux/var/run/xl2tpd/l2tp-controlReferenceshttp://www.jacco2.dds.nl/networking/linux-l2tp.html





Published by
Published by xFruits
Original source : http://www.vpn123.tk/?p=274...

No comments:

Post a Comment