剛剛在我的電腦上裝了openvpn server端
現在想在別的電腦裝她的openvpn client端
但是看不太懂
就是要設定她的client.ovpn :
1.
# The hostname/IP and port of the server.
# You can have multiple remote entries
# to load balance between the servers.
remote my-server-1 1194
;remote my-server-2 1194
這一段的設定是說如果我的openvpn server的名稱是sutzu 然後port我設為21的話
是否改成remote sutzu 21
還是改我這台電腦的實際ip ?(實際要連的ip假設203.164.2.2)
然後改成remote 203.164.2.2 21 ?
還是有另外的設法?
2.
# If you are connecting through an
# HTTP proxy to reach the actual OpenVPN
# server, put the proxy server/IP and
# port number here. See the man page
# if your proxy server requires
# authentication.
;http-proxy-retry # retry on connection failures
;http-proxy [proxy server] [proxy port #]
假設我們公司要經過proxy出去 而我們公司的proxy名稱假設是msproxy
port是8080
這段我要怎麼設定?
3.
# 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 ca.crt
cert client.crt
key client.key
================
我這邊製造了三個檔案:
但是我看檔名分別是john.crt
john.csr 跟john.key
上面那段要怎麼改才對?
看起來檔名不太對
大概就是以上的問題
不知道還有什麼需要注意的?
內文搜尋

X