1 / 14

Usługi sieciowe Wykład VPN -Debian

Usługi sieciowe Wykład VPN -Debian. Jarosław Kurek WZIM SGGW. VPN PPTP. VPN PPTP. Instalujemy server: apt-get install pptpd. VPN PPTP. Edytujemy /etc/pptpd.conf. VPN PPTP. Restartujemy usługę: # /etc/init.d/pptpd restart

amaris
Download Presentation

Usługi sieciowe Wykład VPN -Debian

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 VPN -Debian Jarosław Kurek WZIM SGGW

  2. VPN PPTP

  3. VPN PPTP Instalujemy server: apt-get install pptpd

  4. VPN PPTP Edytujemy /etc/pptpd.conf

  5. VPN PPTP Restartujemy usługę: # /etc/init.d/pptpd restart Ważne należy otworzyć port TCP 1723 na firewall, aby móc połączyć się z serwerem VPN ze świata /sbin/iptables -A INPUT -i eth0 -p tcp --dport 1723 -j ACCEPT /sbin/iptables -A INPUT -i eth0 -p gre -j ACCEPT

  6. VPN PPTP Dodawanie użytkowników: /etc/ppp/chap-secrets * - dowolny adres IP z puli

  7. VPN PPTP Testowanie połączenia z Windows XP jako klientem

  8. VPN PPTP Testowanie połączenia z Windows XP jako klientem

  9. VPN PPTP Dodawanie użytkowników: /etc/ppp/chap-secrets - Ustawiamy statyczny adres IP

  10. 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]

  11. OpenVPN

  12. 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

  13. OpenVPN a)– wynik server

  14. OpenVPN b) wynik klient

More Related