دریافت گواهینامه تنها برای دوره های اختصاصی که قیمت آن ها بالای 100 هزار تومان باشد امکان پذیر است
آموزش راه اندازی VPN سرور در میکروتیک قسمت 3 : راه اندازی OVPN
سلام توی این قسمت من میخوام آموزش راه اندازی سرور open vpn رو در میکروتیک به شما آموزش بدم ، این سرور از امنیت بالایی بر خورداه ولی یکم سخت هست راه اندازیش و باعث شده خیلی ها ازش استفاده نکنن ، من تو این آموزش مثل خوردن کیک پنیری این رو به شما یادم میدم ، در مورد سرتیفیکیت هم استاد نصیری در سایت مقاله دارن که میتونید اونرو بخونید ، اینهم کد سمپل فایل کانفیگ برای vpn
# Specify that we are a client and that we # will be pulling certain config file directives # from the server. client # Use the same setting as you are using on # the server. # On some systems, the VPN will not function # unless you partially or fully disable # the firewall for the TUN/TAP interface. #dev tap dev tun # Are we connecting to a TCP or # UDP server? Use the same setting as # on the server. For MikroTik only TCP proto tcp-client # Change 'myremote' to be your remote host, # or comment out to enter a listening # server mode. remote 192.168.10.1 # Reconfigure this line to use a different # port number than the default of 1194. port 1194 # Most clients don't need to bind to # a specific local port number. nobind # Try to preserve some state across restarts. persist-key persist-tun # SSL/TLS client tls-client # Chech server serificate in key-usage remote-cert-tls server # SSL/TLS parms. # See the server config file for more # description. It's best to use # a separate .crt/.key file pair # for each client. A single ca # file can be used for all clients. ca cert_export_CA.crt cert cert_export_CLIENT.crt key cert_export_CLIENT.key # moderate verbosity verb 4 mute 10 # Select a cryptographic cipher. # If the cipher option is used on the server # then you must also specify it here. cipher AES-256-CBC # cipher algorithm auth SHA1 # Username and password file auth-user-pass secret # Nocache for auth auth-nocache # Pushing the redirect-gateway option to clients # will cause all IP network traffic originating # on client machines to pass through the OpenVPN # server. ;redirect-gateway def1
نظر شما
14 نظر
لینک های دانلود