1 / 12

Usługi sieciowe Wykład 9 VPN

Usługi sieciowe Wykład 9 VPN. Jarosław Kurek WZIM SGGW. VPN PPTP. VPN PPTP. Installing MPPE Support Most people want their tunnels encrypted. Check the version of your kernel; if it is below 2.6.15-rc1 then you do not have MPPE support. To check further, test like this:

kacy
Download Presentation

Usługi sieciowe Wykład 9 VPN

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Usługi siecioweWykład 9VPN Jarosław Kurek WZIM SGGW

  2. VPN PPTP

  3. VPN PPTP Installing MPPE Support Most people want their tunnels encrypted. Check the version of your kernel; if it is below 2.6.15-rc1 then you do not have MPPE support. To check further, test like this: # modprobe ppp-compress-18 && echo success

  4. VPN PPTP Installing the Server Program Install the pptpd package from the Debian Project: # apt-get install pptpd

  5. VPN PPTP Configure IP Address Range Edit the file /etc/pptpd.conf for the IP address range, for example: localip 192.168.0.1 remoteip 192.168.0.234-238,192.168.0.245 Note: see pptpd.conf(5) for more details on the other options. Note: you will need to restart pptpd to make changes to /etc/pptpd.conf effective: # /etc/init.d/pptpd restart

  6. VPN PPTP Adding Users Configure /etc/ppp/chap-secrets for the accounts, for example: # echo "username pptpd password *" >> /etc/ppp/chap-secrets Note: this method has all the usernames in one file. There are other ways, including authentication using Radius, or using Samba.

  7. VPN PPTP -testowanie Testowanie z windowsa Testowanie z innego linuxa apt-get install pptp-linux do konfiguracji korzystamy pptpsetup - Point-to-Point Tunneling Protocol setup pptpsetup --create <TUNNEL> --server <SERVER> [--domain <DOMAIN>] --username <USERNAME> [--password <PASSWORD>] [--encrypt] [--start] pptpsetup --delete <TUNNEL> Uruchamiamy pon [nazwa pliku] Wyłączamy poff [nazwa pliku]

  8. VPN PPTP -testowanie

  9. OpenVPN

  10. OpenVPN -konfiguracja Link to opisu konfiguracji w pdf ~jkurek/US/openvpn.pdf • Należy zrobić dwa przykłady: • Debian server – debian klient • Debian server – windows klient

  11. OpenVPN a)– wynik server

  12. OpenVPN b) wynik klient

More Related