導航:首頁 > 使用方法 > operavpn使用方法

operavpn使用方法

發布時間:2023-01-20 17:37:51

A. 電腦如何連接VPN

VPN虛擬專網的接入方式通常是DDN,也可以是光纖、衛星、微波等方式,有城域網的地方可用IP直接接入。

先確認你辦公室4台電腦是否都有網線連接,若有,打開網上鄰居→查看網路連接→創建一個新的連接→連接到我的工作場所網路→虛擬專用網路連接→公司名字隨便輸入→不撥初始連接→輸入IP地址→完成。然後你在具體設置下IP地址等等。

1、首先,打開VM虛擬,在頂部點擊虛擬機的選項卡,再在往下彈出的菜單中點擊安裝vmware tools。


B. OpenVPN的使用

 1.  修改 C:\ProgramFiles\OpenVPN\easy-rsa\vars.bat.sample

set KEY_COUNTRY=CN                    #(國家)

set KEY_PROVINCE=JS                    #(省份)

set KEY_CITY=SuZhou                        #(城市) 

set KEY_ORG=OpenVPN               #(組織)

set [email protected]    #(郵件地址) 

2.  DOS 下配置CA等信息

Microsoft Windows XP [版本 5.1.2600]

(C) 版權所有 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator> cd "C:\Program Files\OpenVPN\easy-rsa"

C:\Program Files\OpenVPN\easy-rsa> init-config

C:\Program Files\OpenVPN\easy-rsa>  vars.bat.sample vars.bat

已復制         1 個文件。

C:\Program Files\OpenVPN\easy-rsa> vars

C:\Program Files\OpenVPN\easy-rsa> clean-all

已復制         1 個文件。

已復制         1 個文件。

C:\Program Files\OpenVPN\easy-rsa> build-ca

Loading 'screen' into random state - done

Generating a 1024 bit RSA private key

................++++++

....++++++

writing new private key to 'keys\ca.key'

-----

You are about to be asked to enter information that will be incorporated

into your certificate request.

What you are about to enter is what is called a Distinguished Name or a DN.

There are quite a few fields but you can leave some blank

For some fields there will be a default value,

If you enter '.', the field will be left blank.

-----

Country Name (2 letter code) [CN]:

State or Province Name (full name) [JS]:

Locality Name (eg, city) [SuZhou]:

Organization Name (eg, company) [OpenVPN]:

Organizational Unit Name (eg, section) [changeme]:

Common Name (eg, your name or your server's hostname) [changeme]: OpenVPN-CA

Name [changeme]:

Email Address [[email protected]]:

C:\Program Files\OpenVPN\easy-rsa> build-dh

Loading 'screen' into random state - done

Generating DH parameters, 1024 bit long safe prime, generator 2

This is going to take a long time

................................................................................

.............................................+................+.................

........+.......................+...............................................

........................................................+.......................

.........+....+.................................................................

.........................................................................+......

...................................+.....+....................................+.

.....................................................................+..........

........................................................+.......................

...+.............++*++*++*

C:\Program Files\OpenVPN\easy-rsa> build-key-server server

Loading 'screen' into random state - done

Generating a 1024 bit RSA private key

.++++++

....++++++

writing new private key to 'keys\server.key'

-----

You are about to be asked to enter information that will be incorporated

into your certificate request.

What you are about to enter is what is called a Distinguished Name or a DN.

There are quite a few fields but you can leave some blank

For some fields there will be a default value,

If you enter '.', the field will be left blank.

-----

Country Name (2 letter code) [CN]:

State or Province Name (full name) [JS]:

Locality Name (eg, city) [SuZhou]:

Organization Name (eg, company) [OpenVPN]:

Organizational Unit Name (eg, section) [changeme]:

Common Name (eg, your name or your server's hostname) [changeme]: server

Name [changeme]:

Email Address [[email protected]]:

Please enter the following 'extra' attributes

to be sent with your certificate request

A challenge password []:

An optional company name []:

Using configuration from openssl-1.0.0.cnf

Loading 'screen' into random state - done

Check that the request matches the signature

Signature ok

The Subject's Distinguished Name is as follows

countryName           :PRINTABLE:'CN'

stateOrProvinceName   :PRINTABLE:'JS'

localityName          :PRINTABLE:'SuZhou'

organizationName      :PRINTABLE:'OpenVPN'

organizationalUnitName:PRINTABLE:'changeme'

commonName            :PRINTABLE:'server'

name                 :PRINTABLE:'changeme'

emailAddress          :IA5STRING:'[email protected]'

Certificate is to be certified until Oct 13 07:18:46 2025 GMT (3650 days)

Sign the certificate? [y/n]: y

1 out of 1 certificate requests certified, commit? [y/n] y

Write out database with 1 new entries

Data Base Updated

C:\Program Files\OpenVPN\easy-rsa> build-key client

Loading 'screen' into random state - done

Generating a 1024 bit RSA private key

.....++++++

............................++++++

writing new private key to 'keys\client.key'

-----

You are about to be asked to enter information that will be incorporated

into your certificate request.

What you are about to enter is what is called a Distinguished Name or a DN.

There are quite a few fields but you can leave some blank

For some fields there will be a default value,

If you enter '.', the field will be left blank.

-----

Country Name (2 letter code) [CN]:

State or Province Name (full name) [JS]:

Locality Name (eg, city) [SuZhou]:

Organization Name (eg, company) [OpenVPN]:

Organizational Unit Name (eg, section) [changeme]:

Common Name (eg, your name or your server's hostname) [changeme]: client

Name [changeme]:

Email Address [[email protected]]:

Please enter the following 'extra' attributes

to be sent with your certificate request

A challenge password []:

An optional company name []:

Using configuration from openssl-1.0.0.cnf

Loading 'screen' into random state - done

Check that the request matches the signature

Signature ok

The Subject's Distinguished Name is as follows

countryName           :PRINTABLE:'CN'

stateOrProvinceName   :PRINTABLE:'JS'

localityName          :PRINTABLE:'SuZhou'

organizationName      :PRINTABLE:'OpenVPN'

organizationalUnitName:PRINTABLE:'changeme'

commonName            :PRINTABLE:'client'

name                 :PRINTABLE:'changeme'

emailAddress          :IA5STRING:'[email protected]'

Certificate is to be certified until Oct 13 07:20:05 2025 GMT (3650 days)

Sign the certificate? [y/n]: y

1 out of 1 certificate requests certified, commit? [y/n] y

Write out database with 1 new entries

Data Base Updated

C:\Program Files\OpenVPN\easy-rsa>

3. 拷貝文件

將 ca.crt、dh1024.pem、server.crt、server.key 復制到伺服器 C:\Program

Files\OpenVPN\config 目錄下

將 ca.crt、client.crt、client.key 復制到客戶端 C:\Program Files\OpenVPN\config 目錄下

4. C:\ProgramFiles\OpenVPN\config 目錄下創建 client.ovpn、server.ovpn

server.ovpn

local 192.168.1.101

port 1194

proto tcp

;proto udp

dev tap

;dev tun

;dev-node MyTap

ca ca.crt

cert server.crt

key server.key 

dh dh1024.pem

server 172.16.1.0 255.255.255.0

ifconfig-pool-persist ipp.txt

;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100

;server-bridge

push "route 0.0.0.0 0.0.0.0"

push "redirect-gateway def1 bypass-dhcp"

;push "route 192.168.20.0 255.255.255.0"

client-config-dir ccd

;route 192.168.40.128 255.255.255.248

;client-config-dir ccd

;route 10.9.0.0 255.255.255.252

;learn-address ./script

;push "redirect-gateway def1 bypass-dhcp"

push "dhcp-option DNS 223.5.5.5"

push "dhcp-option DNS 223.6.6.6"

client-to-client

plicate-cn

keepalive 10 120

;tls-auth ta.key 0

;cipher BF-CBC       

;cipher AES-128-CBC   

;cipher DES-EDE3-CBC 

comp-lzo

max-clients 100

;user nobody

;group nobody

persist-key

persist-tun

status openvpn-status.log

;log         openvpn.log

;log-append  openvpn.log

verb 3

mute 20

client.open

client

dev tap

proto tcp

remote 192.168.1.101 1194

resolv-retry infinite

nobind

persist-key

persist-tun

mute-replay-warnings

ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"

cert "C:\\Program Files\\OpenVPN\\config\\client.crt"

key "C:\\Program Files\\OpenVPN\\config\\client.key"

comp-lzo

verb 3

mute 20

C. 如何打開電腦opera瀏覽器自帶的VPN

這種情況的話,是需要輸入電腦網址的,把模式更改成電腦版本就可以了

D. 電腦怎麼連接VPN

電腦連接VPN步驟:
1、電腦桌面滑鼠右鍵,在彈出的設置頁面中,找到VPN連接,並點擊高級設置;
2、在編輯VPN連接的設置頁面,選擇VPN類型為點對點隧道協議(PPTP),在用戶名和密碼中分別填寫PPTP的帳號和密碼,點擊保存。
3、返回到VPN連接的設置頁面,參數確認無誤後點擊返回上一頁;
4、點擊連接;
5、連接成功,頁面狀態會顯示已連接。

E. 藍色燈籠的vpn怎麼用

藍色燈籠的VPN使用教程攻略 :

一、PPTP連接方式教程:

1、 在手機界面找到設置-打開系統:

F. 電腦vpn怎麼連接

1、首先在工具欄找到「寬頻連接」右鍵點擊「寬頻連接」,選擇「打開網路和共享中心」,進入「網路和共享中心」之後,點擊「設置新的連接或網路」,
2、點擊「連接到新的工作區」,點擊「下一步」,
3、選擇「使用我的internet連接(VPN)I」,
4、輸入購買vpn的網站所給你提供的「internet地址」,點擊「下一步」,
5、在下一步中,輸入網站給你提供的用戶名和密碼,點擊「下一步」,然後等待連接,
6、設置成功後,發現寬頻連接那裡多了一個vpn連接,點擊「連接」,
7、輸入用戶名和密碼後,點擊連接。

閱讀全文

與operavpn使用方法相關的資料

熱點內容
室外管道連接的方法 瀏覽:470
西紅柿盆栽種植方法 瀏覽:794
綠植牆怎麼製作方法 瀏覽:178
如何培養孩子認識字的方法 瀏覽:351
小天鵝冰箱門拆卸安裝方法 瀏覽:495
在教學方法的運用過程中 瀏覽:917
鬆手剎的正確方法 瀏覽:774
芋頭怎麼煎好吃又簡單的方法 瀏覽:362
計算用電器電功率的簡便方法 瀏覽:657
幼兒舞蹈教學方法示範 瀏覽:452
用菜籽油炸薯片要用簡便的方法 瀏覽:527
提魚方法視頻教程 瀏覽:850
記憶拼貼的訓練方法 瀏覽:62
防凍害的最佳方法 瀏覽:597
練肩頸的最好方法視頻 瀏覽:846
聚會用香水的正確方法 瀏覽:527
最簡單的房子封頂方法 瀏覽:441
咳嗽灸溫控貼使用方法 瀏覽:899
男士如何美白臉部最快方法 瀏覽:718
學生提分方法怎麼寫 瀏覽:306