logo

한국어

OpenVPN ovpn 파일 샘플

관리자 2018.04.23 21:27 조회 수 : 17

다운로드: sample.ovpn
;#####################################################################
;
; ovpn 파일 (OpenVPN Client import용)
; 이 파일은 반드시 UTF-8 포맷으로 저장 되어야 한다.
;
;#####################################################################

;#####################################################################
;
; 기본 설정
;
;#####################################################################
client
dev tun
proto udp
remote 10.10.10.36 1194
resolv-retry infinite
nobind
persist-key
persist-tun
tls-client
remote-cert-tls server
auth-user-pass
comp-lzo
verb 1
reneg-sec 0

;#####################################################################
;
; <ca> ~ </ca> 사이에 OpenVPN 서버의
; /etc/openvpn/keys/ca.crt의 내용을 모두 넣는다.
;
;#####################################################################
<ca>
-----BEGIN CERTIFICATE-----
MIIExzCCA6+gAwIBAgIJANmjKRW38Ee2MA0GCSqGSIb3DQEBCwUAMIGdMQswCQYD
VQQGEwJLUjEOMAwGA1UECBMFU2VvdWwxDjAMBgNVBAcTBVNlb3VsMRMwEQYDVQQK
EwpNeSBDb21wYW55MR0wGwYDVQQLExRNeU9yZ2FuaXphdGlvbmFsVW5pdDEWMBQG
A1UEAxMNTXkgQ29tcGFueSBDQTEQMA4GA1UEKRMHRWFzeVJTQTEQMA4GCSqGSIb3
DQEJARYBeTAeFw0xODA0MjMxMTQ1MTVaFw0yODA0MjAxMTQ1MTVaMIGdMQswCQYD
VQQGEwJLUjEOMAwGA1UECBMFU2VvdWwxDjAMBgNVBAcTBVNlb3VsMRMwEQYDVQQK
EwpNeSBDb21wYW55MR0wGwYDVQQLExRNeU9yZ2FuaXphdGlvbmFsVW5pdDEWMBQG
A1UEAxMNTXkgQ29tcGFueSBDQTEQMA4GA1UEKRMHRWFzeVJTQTEQMA4GCSqGSIb3
DQEJARYBeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALJbRMWJN5wN
tGD5B/f4EsSwBJDf2lZ5P6RGMMhO0No/f2cea3M3uM2lRw3HQXA6jixwrodQgyq9
SwrYZ5SMTyeiyR2qfojplmOsQth+NfJg3IGLIdCHxj2AhjsRufwPiS+Th2SySE9n
Lowzx8/a/h2P3AauN2rv41KvsSM4t/yAn5cfYOo/CGsF69k2A5Mr2JwLx/yQVc48
d0Z4JgD3rNUpfj6mwXtGqWYM0yOfDn24P8rw4kcF2o92zj8yvUKDMtN/freoN2hB
FVZMBLJrF2ABVqc9fkLtihNi7eJ/yfqEYzzGnsTwTsZp7YPqXzoI9k+26FSF3+4f
V6gClQl4bIECAwEAAaOCAQYwggECMB0GA1UdDgQWBBSKk+oeqcijLjxCZ63dKrTW
5G1r7zCB0gYDVR0jBIHKMIHHgBSKk+oeqcijLjxCZ63dKrTW5G1r76GBo6SBoDCB
nTELMAkGA1UEBhMCS1IxDjAMBgNVBAgTBVNlb3VsMQ4wDAYDVQQHEwVTZW91bDET
MBEGA1UEChMKTXkgQ29tcGFueTEdMBsGA1UECxMUTXlPcmdhbml6YXRpb25hbFVu
aXQxFjAUBgNVBAMTDU15IENvbXBhbnkgQ0ExEDAOBgNVBCkTB0Vhc3lSU0ExEDAO
BgkqhkiG9w0BCQEWAXmCCQDZoykVt/BHtjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3
DQEBCwUAA4IBAQABTZkKKIG0CrDy8+BGksBBf3kpq2+5ZNbHkG3JAC1Mi/UDHQ4j
dch6YkTwj064jSdLN1Zy38lPb59EeaItx3PlU8t09ZrJ5PQrRIGx5wsulWFe7Sxk
TUOgQQKv1h3R6Kr3LPVEvdDvX2scwB9Eb4rF4K3tPft58zNFy+QYPvbTEYl6+eeN
Mg7JCt8wy63dDB1lAJoAkLZTODpcQilCM90i/GjKnh2DWoUvWwnAz/yz4GStRhHh
c1W4gv3CXedtAFj4HVP8gSBgH7OK7UyLsM9MIoPqaTuMlw+6qGtleayByuBZ0FZZ
6POI/8Q5Xsc6gGwJ35MiI9Vic/Td064zotvW
-----END CERTIFICATE-----
</ca>

;#####################################################################
;
; <cert> ~ </cert> 사이에 OpenVPN 서버의
; /etc/openvpn/keys/client.crt의 내용을 모두 넣는다.
;
;#####################################################################
<cert>
-----BEGIN CERTIFICATE-----
MIIFKjCCBBKgAwIBAgIBAjANBgkqhkiG9w0BAQsFADCBnTELMAkGA1UEBhMCS1Ix
DjAMBgNVBAgTBVNlb3VsMQ4wDAYDVQQHEwVTZW91bDETMBEGA1UEChMKTXkgQ29t
cGFueTEdMBsGA1UECxMUTXlPcmdhbml6YXRpb25hbFVuaXQxFjAUBgNVBAMTDU15
IENvbXBhbnkgQ0ExEDAOBgNVBCkTB0Vhc3lSU0ExEDAOBgkqhkiG9w0BCQEWAXkw
HhcNMTgwNDIzMTE0NTM5WhcNMjgwNDIwMTE0NTM5WjCBpzELMAkGA1UEBhMCS1Ix
DjAMBgNVBAgTBVNlb3VsMQ4wDAYDVQQHEwVTZW91bDETMBEGA1UEChMKTXkgQ29t
cGFueTEdMBsGA1UECxMUTXlPcmdhbml6YXRpb25hbFVuaXQxDzANBgNVBAMTBmNs
aWVudDEQMA4GA1UEKRMHRWFzeVJTQTEhMB8GCSqGSIb3DQEJARYSbWVAbXlob3N0
Lm15ZG9tYWluMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0JVw66xL
8byy9lLpVaHTDwLxHmvT5HWl97OrTN3QPJ51/prKpNxY6GZYMug7M2cwoHcn5jKa
FwDYa1mgKecVOnND/XptSb996VO+LRBpwEkJ+IZyWjwFpIiXjcEdWGkhInvSRokd
+jiAYvsYqCetlaZQyr/qPWgUBe7cOeFcbc2DTBO40BndUjZGHwBGk2+2Xd7OLUgG
zc6jl/mXkEjnklJogVigOch/GtMxpon4uaMKxySE5Dz7V9o9Dl42nPgRuf3+CCMa
mazuiqnl/uoEJMUjjo82B2J01DqtjAlFT3ot44wJQL1jV76t6LnjgO2/El6RUXcR
K42n+tmDPJNxtQIDAQABo4IBZzCCAWMwCQYDVR0TBAIwADAtBglghkgBhvhCAQ0E
IBYeRWFzeS1SU0EgR2VuZXJhdGVkIENlcnRpZmljYXRlMB0GA1UdDgQWBBTsU7wV
gPBO+89Uqcl9ouOMNLvh+zCB0gYDVR0jBIHKMIHHgBSKk+oeqcijLjxCZ63dKrTW
5G1r76GBo6SBoDCBnTELMAkGA1UEBhMCS1IxDjAMBgNVBAgTBVNlb3VsMQ4wDAYD
VQQHEwVTZW91bDETMBEGA1UEChMKTXkgQ29tcGFueTEdMBsGA1UECxMUTXlPcmdh
bml6YXRpb25hbFVuaXQxFjAUBgNVBAMTDU15IENvbXBhbnkgQ0ExEDAOBgNVBCkT
B0Vhc3lSU0ExEDAOBgkqhkiG9w0BCQEWAXmCCQDZoykVt/BHtjATBgNVHSUEDDAK
BggrBgEFBQcDAjALBgNVHQ8EBAMCB4AwEQYDVR0RBAowCIIGY2xpZW50MA0GCSqG
SIb3DQEBCwUAA4IBAQAySlOuXSlC5o/Sqamyeo+5793l9odw79itFxzNf/Pp/9G1
R6xial1ft8nCHsltga9t8iM5eL+tZOI3l3BvQmyGBFYE74oGgKhd8y8jzqYBjmPN
1W/GZq+3XdQPcEehop5bn17ouxp48Ip9uqdUBs5hSsHhzUJ70eROJjEHlokXTiZq
mF6PFY66eqVE84Guzc1omaxTuqNHdiQrPOhYDw5tZco/YeUmCHU+U1fyavXc9xiC
DUx2JGRtrYDs/9AIFLnQBHG7YMhwdwRT779NiKABlYtsxR8p092bSVFOvMey7UTJ
b19NzrZ494/vx4FtYmwFRm/tQzbF2uqbiOpINMgi
-----END CERTIFICATE-----
</cert>

;#####################################################################
;
; <key> ~ </key> 사이에 OpenVPN 서버의
; /etc/openvpn/keys/client.key의 내용을 모두 넣는다.
;
;#####################################################################
<key>
-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDQlXDrrEvxvLL2
UulVodMPAvEea9PkdaX3s6tM3dA8nnX+msqk3FjoZlgy6DszZzCgdyfmMpoXANhr
WaAp5xU6c0P9em1Jv33pU74tEGnASQn4hnJaPAWkiJeNwR1YaSEie9JGiR36OIBi
+xioJ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