11.Nas_1




linux 에서 외부 IP 주소를 숨기는 방법 vpnbook debian 데비안 u5 적용잘되다 무엇을 수정되었는지 않된다....실패

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    나의 외부 IP 주소를 숨기는 방법 vpnbook


    https://www.vpnbook.com/freevpn

    3232235521_1569124324.8089.png

    https://www.vpnbook.com/free-openvpn-account/VPNBook.com-OpenVPN-US1.zip

    wget https://www.vpnbook.com/free-openvpn-account/VPNBook.com-OpenVPN-US1.zip

    unzip VPNBook.com-OpenVPN-US1.zip

    파일을 이동복사 그리고 압축 해제하여 
    openvpn을 설치 합니다
    apt-get install openvpn

    3232235521_1569124627.3397.png

    • 모든 번들에는 UDP53, UDP 25000, TCP 80, TCP 443 프로파일이 포함됩니다.
    • 사용자 이름 : vpnbook
    • 암호: password.php?t=0.29651100%201569122941

    3232235521_1569125921.4772.png


    VPNBOOK – OpenVPN – VPN 로그인을 자동화하는 방법 – 사용자 및 비밀번호

    https://uwnthesis.wordpress.com/2012/11/27/vpnbook-openvpn-how-to-insert-the-password-automatically/


    파일을 하나 만들닙니다

    nano vpnbookpassword.txt

    3232235521_1569136335.669.png

    vpnbook

    64s3hch


    저장합니다
    그리고 

    auth-user-pass vpnbookpassword.txt

    를 제일 마지막에 추가ㅣ합니다'

     nano vpnbook-us1-tcp80.ovpn

    3232235521_1569137439.7589.png

    실행은

    openvpn vpnbook-us1-tcp80.ovpn

    외부 ip 확인하기

    https://zetawiki.com/wiki/리눅스_공인_IP_확인

    apt-get install curl

    curl bot.whatismyipaddress.com curl http://ipecho.net/plain curl icanhazip.com curl ipv4.icanhazip.com curl ipv4.ipogre.com
    curl bot.whatismyipaddress.com

    curl http://ipecho.net/plain

    curl icanhazip.com

    curl ipv4.icanhazip.com

    curl ipv4.ipogre.com

    ============
    잘되다 무엇을 수정되었는지 않된다....실패
    3232235521_1569144456.2477.png

    ◎ ■ ▶ ☞ ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다. https://11q.kr ♠

    Using username "root".
    root@192.168.0.7's password:
    Linux AOL-Debian 3.18.24_hi3798cv2x #8 SMP Thu May 16 10:24:34 KST 2019 armv7l
                         _           _     _
         /\             | |         (_)   | |
        /  \   _ __   __| |_ __ ___  _  __| |
       / /\ \ | '_ \ / _` | '__/ _ \| |/ _` |
      / ____ \| | | | (_| | | | (_) | | (_| |
     /_____ \_|_| |_|\__,_|_| _\___/|_|\__,_|
      / __ \                 | |    (_)
     | |  | __   _____ _ __  | |     _ _ __  _   ___  __
     | |  | \ \ / / _ | '__| | |    | | '_ \| | | \ \/ /
     | |__| |\ V |  __| |    | |____| | | | | |_| |>  <
      \____/  \_/ \___|_|    |______|_|_| |_|\__,_/_/\_\
    ====================================================
    Welcome to AOL Debian GNU/Linux 9 stretch (eddylab)
    ====================================================
    DATE    : Sun Sep 22 12:59:45 KST 2019
    UPTIME  : up 7 minutes
    VERSION : 20190728
    <CPU INFO>
    CLOCK   : 1500MHz               GOV     : interactive
    TEMP    : 45 degree             USE     : 5.7%
    <MEMORY INFO>
    MEM     : 1151MB / 1893MB       SWAP    : 6MB / 799MB
    <NETWORK>
    192.168.0.7 192.168.0.109
    root@AOL-Debian:~# cd /home
    root@AOL-Debian:/home# ls
    hts  klive  klive_setting  showdown  SJVA  xmltv3.xml  xmltv4.xml
    root@AOL-Debian:/home# wget https://www.vpnbook.com/free-openvpn-account/VPNBook.com-OpenVPN-US1.zip
    --2019-09-22 13:00:18--  https://www.vpnbook.com/free-openvpn-account/VPNBook.com-OpenVPN-US1.zip
    Resolving www.vpnbook.com (www.vpnbook.com)... 46.28.53.124
    Connecting to www.vpnbook.com (www.vpnbook.com)|46.28.53.124|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 9219 (9.0K) [application/zip]
    Saving to: ‘VPNBook.com-OpenVPN-US1.zip’
    VPNBook.com-OpenVPN 100%[===================>]   9.00K  --.-KB/s    in 0s
    2019-09-22 13:00:20 (40.9 MB/s) - ‘VPNBook.com-OpenVPN-US1.zip’ saved [9219/9219]
    root@AOL-Debian:/home# unzip VPNBook.com-OpenVPN-US1.zip
    Archive:  VPNBook.com-OpenVPN-US1.zip
      inflating: vpnbook-us1-tcp80.ovpn
      inflating: vpnbook-us1-tcp443.ovpn
      inflating: vpnbook-us1-udp53.ovpn
      inflating: vpnbook-us1-udp25000.ovpn

    root@AOL-Debian:/home# openvpn
    -bash: openvpn: command not found
    root@AOL-Debian:/home# apt-get install openvpn
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      dtv-scan-tables dvb-apps makedev
    Use 'apt autoremove' to remove them.
    The following additional packages will be installed:
      easy-rsa libccid libpcsclite1 libpkcs11-helper1 libusb-1.0-0 opensc
      opensc-pkcs11 pcscd
    Suggested packages:
      pcmciautils resolvconf
    The following NEW packages will be installed:
      easy-rsa libccid libpcsclite1 libpkcs11-helper1 libusb-1.0-0 opensc
      opensc-pkcs11 openvpn pcscd
    0 upgraded, 9 newly installed, 0 to remove and 6 not upgraded.
    Need to get 1,950 kB of archives.
    After this operation, 4,344 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://ftp.kr.debian.org/debian stretch/main armhf libpcsclite1 armhf 1.8.20-1 [54.2 kB]
    Get:2 http://ftp.kr.debian.org/debian stretch/main armhf libpkcs11-helper1 armhf 1.21-1 [41.4 kB]
    Get:3 http://ftp.kr.debian.org/debian stretch/main armhf libusb-1.0-0 armhf 2:1.0.21-1 [48.7 kB]
    Get:4 http://ftp.kr.debian.org/debian stretch/main armhf openvpn armhf 2.4.0-6+deb9u3 [462 kB]
    Get:5 http://ftp.kr.debian.org/debian stretch/main armhf libccid armhf 1.4.26-1 [309 kB]
    Get:6 http://ftp.kr.debian.org/debian stretch/main armhf pcscd armhf 1.8.20-1 [90.3 kB]
    Get:7 http://ftp.kr.debian.org/debian stretch/main armhf easy-rsa all 2.2.2-2 [17.2 kB]
    Get:8 http://ftp.kr.debian.org/debian stretch/main armhf opensc-pkcs11 armhf 0.16.0-3+deb9u1 [692 kB]
    Get:9 http://ftp.kr.debian.org/debian stretch/main armhf opensc armhf 0.16.0-3+deb9u1 [235 kB]
    Fetched 1,950 kB in 1s (1,805 kB/s)
    Preconfiguring packages ...
    Selecting previously unselected package libpcsclite1:armhf.
    (Reading database ... 51353 files and directories currently installed.)
    Preparing to unpack .../0-libpcsclite1_1.8.20-1_armhf.deb ...
    Unpacking libpcsclite1:armhf (1.8.20-1) ...
    Selecting previously unselected package libpkcs11-helper1:armhf.
    Preparing to unpack .../1-libpkcs11-helper1_1.21-1_armhf.deb ...
    Unpacking libpkcs11-helper1:armhf (1.21-1) ...
    Selecting previously unselected package libusb-1.0-0:armhf.
    Preparing to unpack .../2-libusb-1.0-0_2%3a1.0.21-1_armhf.deb ...
    Unpacking libusb-1.0-0:armhf (2:1.0.21-1) ...
    Selecting previously unselected package openvpn.
    Preparing to unpack .../3-openvpn_2.4.0-6+deb9u3_armhf.deb ...
    Unpacking openvpn (2.4.0-6+deb9u3) ...
    Selecting previously unselected package libccid.
    Preparing to unpack .../4-libccid_1.4.26-1_armhf.deb ...
    Unpacking libccid (1.4.26-1) ...
    Selecting previously unselected package pcscd.
    Preparing to unpack .../5-pcscd_1.8.20-1_armhf.deb ...
    Unpacking pcscd (1.8.20-1) ...
    Selecting previously unselected package easy-rsa.
    Preparing to unpack .../6-easy-rsa_2.2.2-2_all.deb ...
    Unpacking easy-rsa (2.2.2-2) ...
    Selecting previously unselected package opensc-pkcs11:armhf.
    Preparing to unpack .../7-opensc-pkcs11_0.16.0-3+deb9u1_armhf.deb ...
    Unpacking opensc-pkcs11:armhf (0.16.0-3+deb9u1) ...
    Selecting previously unselected package opensc.
    Preparing to unpack .../8-opensc_0.16.0-3+deb9u1_armhf.deb ...
    Unpacking opensc (0.16.0-3+deb9u1) ...
    Setting up libpcsclite1:armhf (1.8.20-1) ...
    Setting up libpkcs11-helper1:armhf (1.21-1) ...
    Setting up opensc-pkcs11:armhf (0.16.0-3+deb9u1) ...
    Setting up libusb-1.0-0:armhf (2:1.0.21-1) ...
    Setting up openvpn (2.4.0-6+deb9u3) ...
    invoke-rc.d: could not determine current runlevel
    [ ok ] Restarting virtual private network daemon.:.
    Created symlink from /etc/systemd/system/multi-user.target.wants/openvpn.service to /lib/systemd/system/openvpn.service.
    Processing triggers for libc-bin (2.24-11+deb9u4) ...
    Setting up easy-rsa (2.2.2-2) ...
    Processing triggers for man-db (2.7.6.1-2) ...
    Setting up libccid (1.4.26-1) ...
    Setting up opensc (0.16.0-3+deb9u1) ...
    Setting up pcscd (1.8.20-1) ...
    Created symlink from /etc/systemd/system/sockets.target.wants/pcscd.socket to /lib/systemd/system/pcscd.socket.
    invoke-rc.d: could not determine current runlevel
    Processing triggers for systemd (215-17+deb8u6) ...
    root@AOL-Debian:/home# openvpn
    OpenVPN 2.4.0 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 14 2018
    General Options:
    --config file   : Read configuration options from file.
    --help          : Show options.
    --version       : Show copyright and version information.
    Tunnel Options:
    --local host    : Local host name or ip address. Implies --bind.
    --remote host [port] : Remote host name or ip address.
    --remote-random : If multiple --remote options specified, choose one randomly.
    --remote-random-hostname : Add a random string to remote DNS name.
    --mode m        : Major mode, m = 'p2p' (default, point-to-point) or 'server'.
    --proto p       : Use protocol p for communicating with peer.
                      p = udp (default), tcp-server, or tcp-client
    --proto-force p : only consider protocol p in list of connection profiles.
                      p = udp6, tcp6-server, or tcp6-client (ipv6)
    --connect-retry n [m] : For client, number of seconds to wait between
                      connection retries (default=5). On repeated retries
                      the wait time is exponentially increased to a maximum of m
                      (default=300).
    --connect-retry-max n : Maximum connection attempt retries, default infinite.
    --http-proxy s p [up] [auth] : Connect to remote host
                      through an HTTP proxy at address s and port p.
                      If proxy authentication is required,
                      up is a file containing username/password on 2 lines, or
                      'stdin' to prompt from console.  Add auth='ntlm' if
                      the proxy requires NTLM authentication.
    --http-proxy s p 'auto[-nct]' : Like the above directive, but automatically
                      determine auth method and query for username/password
                      if needed.  auto-nct disables weak proxy auth methods.
    --http-proxy-option type [parm] : Set extended HTTP proxy options.
                                      Repeat to set multiple options.
                      VERSION version (default=1.0)
                      AGENT user-agent
    --socks-proxy s [p] [up] : Connect to remote host through a Socks5 proxy at
                      address s and port p (default port = 1080).
                      If proxy authentication is required,
                      up is a file containing username/password on 2 lines, or
                      'stdin' to prompt for console.
    --socks-proxy-retry : Retry indefinitely on Socks proxy errors.
    --resolv-retry n: If hostname resolve fails for --remote, retry
                      resolve for n seconds before failing (disabled by default).
                      Set n="infinite" to retry indefinitely.
    --float         : Allow remote to change its IP address/port, such as through
                      DHCP (this is the default if --remote is not used).
    --ipchange cmd  : Run command cmd on remote ip address initial
                      setting or change -- execute as: cmd ip-address port#
    --port port     : TCP/UDP port # for both local and remote.
    --lport port    : TCP/UDP port # for local (default=1194). Implies --bind.
    --rport port    : TCP/UDP port # for remote (default=1194).
    --bind          : Bind to local address and port. (This is the default unless
                      --proto tcp-client or --http-proxy or --socks-proxy is used).
    --nobind        : Do not bind to local address and port.
    --dev tunX|tapX : tun/tap device (X can be omitted for dynamic device.
    --dev-type dt   : Which device type are we using? (dt = tun or tap) Use
                      this option only if the tun/tap device used with --dev
                      does not begin with "tun" or "tap".
    --dev-node node : Explicitly set the device node rather than using
                      /dev/net/tun, /dev/tun, /dev/tap, etc.
    --lladdr hw     : Set the link layer address of the tap device.
    --topology t    : Set --dev tun topology: 'net30', 'p2p', or 'subnet'.
    --iproute cmd   : Use this command instead of default /sbin/ip.
    --ifconfig l rn : TUN: configure device to use IP address l as a local
                      endpoint and rn as a remote endpoint.  l & rn should be
                      swapped on the other peer.  l & rn must be private
                      addresses outside of the subnets used by either peer.
                      TAP: configure device to use IP address l as a local
                      endpoint and rn as a subnet mask.
    --ifconfig-ipv6 l r : configure device to use IPv6 address l as local
                          endpoint (as a /64) and r as remote endpoint
    --ifconfig-noexec : Don't actually execute ifconfig/netsh command, instead
                        pass --ifconfig parms by environment to scripts.
    --ifconfig-nowarn : Don't warn if the --ifconfig option on this side of the
                        connection doesn't match the remote side.
    --route network [netmask] [gateway] [metric] :
                      Add route to routing table after connection
                      is established.  Multiple routes can be specified.
                      netmask default: 255.255.255.255
                      gateway default: taken from --route-gateway or --ifconfig
                      Specify default by leaving blank or setting to "default".
    --route-ipv6 network/bits [gateway] [metric] :
                      Add IPv6 route to routing table after connection
                      is established.  Multiple routes can be specified.
                      gateway default: taken from 'remote' in --ifconfig-ipv6
    --route-gateway gw|'dhcp' : Specify a default gateway for use with --route.
    --route-metric m : Specify a default metric for use with --route.
    --route-delay n [w] : Delay n seconds after connection initiation before
                      adding routes (may be 0).  If not specified, routes will
                      be added immediately after tun/tap open.  On Windows, wait
                      up to w seconds for TUN/TAP adapter to come up.
    --route-up cmd  : Run command cmd after routes are added.
    --route-pre-down cmd : Run command cmd before routes are removed.
    --route-noexec  : Don't add routes automatically.  Instead pass routes to
                      --route-up script using environmental variables.
    --route-nopull  : When used with --client or --pull, accept options pushed
                      by server EXCEPT for routes and dhcp options.
    --allow-pull-fqdn : Allow client to pull DNS names from server for
                        --ifconfig, --route, and --route-gateway.
    --redirect-gateway [flags]: Automatically execute routing
                      commands to redirect all outgoing IP traffic through the
                      VPN.  Add 'local' flag if both OpenVPN servers are directly
                      connected via a common subnet, such as with WiFi.
                      Add 'def1' flag to set default route using using 0.0.0.0/1
                      and 128.0.0.0/1 rather than 0.0.0.0/0.  Add 'bypass-dhcp'
                      flag to add a direct route to DHCP server, bypassing tunnel.
                      Add 'bypass-dns' flag to similarly bypass tunnel for DNS.
    --redirect-private [flags]: Like --redirect-gateway, but omit actually changing
                      the default gateway.  Useful when pushing private subnets.
    --client-nat snat|dnat network netmask alias : on client add 1-to-1 NAT rule.
    --push-peer-info : (client only) push client info to server.
    --setenv name value : Set a custom environmental variable to pass to script.
    --setenv FORWARD_COMPATIBLE 1 : Relax config file syntax checking to allow
                      directives for future OpenVPN versions to be ignored.
    --ignore-unkown-option opt1 opt2 ...: Relax config file syntax. Allow
                      these options to be ignored when unknown
    --script-security level: Where level can be:
                      0 -- strictly no calling of external programs
                      1 -- (default) only call built-ins such as ifconfig
                      2 -- allow calling of built-ins and scripts
                      3 -- allow password to be passed to scripts via env
    --shaper n      : Restrict output to peer to n bytes per second.
    --keepalive n m : Helper option for setting timeouts in server mode.  Send
                      ping once every n seconds, restart if ping not received
                      for m seconds.
    --inactive n [bytes] : Exit after n seconds of activity on tun/tap device
                      produces a combined in/out byte count < bytes.
    --ping-exit n   : Exit if n seconds pass without reception of remote ping.
    --ping-restart n: Restart if n seconds pass without reception of remote ping.
    --ping-timer-rem: Run the --ping-exit/--ping-restart timer only if we have a
                      remote address.
    --ping n        : Ping remote once every n seconds over TCP/UDP port.
    --multihome     : Configure a multi-homed UDP server.
    --fast-io       : (experimental) Optimize TUN/TAP/UDP writes.
    --remap-usr1 s  : On SIGUSR1 signals, remap signal (s='SIGHUP' or 'SIGTERM').
    --persist-tun   : Keep tun/tap device open across SIGUSR1 or --ping-restart.
    --persist-remote-ip : Keep remote IP address across SIGUSR1 or --ping-restart.
    --persist-local-ip  : Keep local IP address across SIGUSR1 or --ping-restart.
    --persist-key   : Don't re-read key files across SIGUSR1 or --ping-restart.
    --passtos       : TOS passthrough (applies to IPv4 only).
    --tun-mtu n     : Take the tun/tap device MTU to be n and derive the
                      TCP/UDP MTU from it (default=1500).
    --tun-mtu-extra n : Assume that tun/tap device might return as many
                      as n bytes more than the tun-mtu size on read
                      (default TUN=0 TAP=32).
    --link-mtu n    : Take the TCP/UDP device MTU to be n and derive the tun MTU
                      from it.
    --mtu-disc type : Should we do Path MTU discovery on TCP/UDP channel?
                      'no'    -- Never send DF (Don't Fragment) frames
                      'maybe' -- Use per-route hints
                      'yes'   -- Always DF (Don't Fragment)
    --mtu-test      : Empirically measure and report MTU.
    --fragment max  : Enable internal datagram fragmentation so that no UDP
                      datagrams are sent which are larger than max bytes.
                      Adds 4 bytes of overhead per datagram.
    --mssfix [n]    : Set upper bound on TCP MSS, default = tun-mtu size
                      or --fragment max value, whichever is lower.
    --sndbuf size   : Set the TCP/UDP send buffer size.
    --rcvbuf size   : Set the TCP/UDP receive buffer size.
    --mark value    : Mark encrypted packets being sent with value. The mark value
                      can be matched in policy routing and packetfilter rules.
    --txqueuelen n  : Set the tun/tap TX queue length to n (Linux only).
    --memstats file : Write live usage stats to memory mapped binary file.
    --mlock         : Disable Paging -- ensures key material and tunnel
                      data will never be written to disk.
    --up cmd        : Run command cmd after successful tun device open.
                      Execute as: cmd tun/tap-dev tun-mtu link-mtu \
                                  ifconfig-local-ip ifconfig-remote-ip
                      (pre --user or --group UID/GID change)
    --up-delay      : Delay tun/tap open and possible --up script execution
                      until after TCP/UDP connection establishment with peer.
    --down cmd      : Run command cmd after tun device close.
                      (post --user/--group UID/GID change and/or --chroot)
                      (command parameters are same as --up option)
    --down-pre      : Run --down command before TUN/TAP close.
    --up-restart    : Run up/down commands for all restarts including those
                      caused by --ping-restart or SIGUSR1
    --user user     : Set UID to user after initialization.
    --group group   : Set GID to group after initialization.
    --chroot dir    : Chroot to this directory after initialization.
    --cd dir        : Change to this directory before initialization.
    --daemon [name] : Become a daemon after initialization.
                      The optional 'name' parameter will be passed
                      as the program name to the system logger.
    --syslog [name] : Output to syslog, but do not become a daemon.
                      See --daemon above for a description of the 'name' parm.
    --inetd [name] ['wait'|'nowait'] : Run as an inetd or xinetd server.
                      See --daemon above for a description of the 'name' parm.
    --log file      : Output log to file which is created/truncated on open.
    --log-append file : Append log to file, or create file if nonexistent.
    --suppress-timestamps : Don't log timestamps to stdout/stderr.
    --machine-readable-output : Always log timestamp, message flags to stdout/stderr.
    --writepid file : Write main process ID to file.
    --nice n        : Change process priority (>0 = lower, <0 = higher).
    --echo [parms ...] : Echo parameters to log output.
    --verb n        : Set output verbosity to n (default=1):
                      (Level 3 is recommended if you want a good summary
                      of what's happening without being swamped by output).
                    : 0 -- no output except fatal errors
                    : 1 -- startup info + connection initiated messages +
                           non-fatal encryption & net errors
                    : 2,3 -- show TLS negotiations & route info
                    : 4 -- show parameters
                    : 5 -- show 'RrWw' chars on console for each packet sent
                           and received from TCP/UDP (caps) or tun/tap (lc)
                    : 6 to 11 -- debug messages of increasing verbosity
    --mute n        : Log at most n consecutive messages in the same category.
    --status file n : Write operational status to file every n seconds.
    --status-version [n] : Choose the status file format version number.
                      Currently, n can be 1, 2, or 3 (default=1).
    --disable-occ   : Disable options consistency check between peers.
    --gremlin mask  : Special stress testing mode (for debugging only).
    --compress alg  : Use compression algorithm alg
    --comp-lzo      : Use LZO compression -- may add up to 1 byte per
                      packet for uncompressible data.
    --comp-noadapt  : Don't use adaptive compression when --comp-lzo
                      is specified.
    --management ip port [pass] : Enable a TCP server on ip:port to handle
                      management functions.  pass is a password file
                      or 'stdin' to prompt from console.
                      To listen on a unix domain socket, specific the pathname
                      in place of ip and use 'unix' as the port number.
    --management-client : Management interface will connect as a TCP client to
                          ip/port rather than listen as a TCP server.
    --management-query-passwords : Query management channel for private key
                      and auth-user-pass passwords.
    --management-query-proxy : Query management channel for proxy information.
    --management-query-remote : Query management channel for --remote directive.
    --management-hold : Start OpenVPN in a hibernating state, until a client
                        of the management interface explicitly starts it.
    --management-signal : Issue SIGUSR1 when management disconnect event occurs.
    --management-forget-disconnect : Forget passwords when management disconnect
                                     event occurs.
    --management-up-down : Report tunnel up/down events to management interface.
    --management-log-cache n : Cache n lines of log file history for usage
                      by the management channel.
    --management-client-user u  : When management interface is a unix socket, only
                                  allow connections from user u.
    --management-client-group g : When management interface is a unix socket, only
                                  allow connections from group g.
    --management-client-auth : gives management interface client the responsibility
                               to authenticate clients after their client certificate
                                  has been verified.
    --management-client-pf : management interface clients must specify a packet
                             filter file for each connecting client.
    --plugin m [str]: Load plug-in module m passing str as an argument
                      to its initialization function.
    Multi-Client Server options (when --mode server is used):
    --server network netmask : Helper option to easily configure server mode.
    --server-ipv6 network/bits : Configure IPv6 server mode.
    --server-bridge [IP netmask pool-start-IP pool-end-IP] : Helper option to
                        easily configure ethernet bridging server mode.
    --push "option" : Push a config file option back to the peer for remote
                      execution.  Peer must specify --pull in its config file.
    --push-reset    : Don't inherit global push list for specific
                      client instance.
    --ifconfig-pool start-IP end-IP [netmask] : Set aside a pool of subnets
                      to be dynamically allocated to connecting clients.
    --ifconfig-pool-linear : Use individual addresses rather than /30 subnets
                      in tun mode.  Not compatible with Windows clients.
    --ifconfig-pool-persist file [seconds] : Persist/unpersist ifconfig-pool
                      data to file, at seconds intervals (default=600).
                      If seconds=0, file will be treated as read-only.
    --ifconfig-ipv6-pool base-IP/bits : set aside an IPv6 network block
                      to be dynamically allocated to connecting clients.
    --ifconfig-push local remote-netmask : Push an ifconfig option to remote,
                      overrides --ifconfig-pool dynamic allocation.
                      Only valid in a client-specific config file.
    --ifconfig-ipv6-push local/bits remote : Push an ifconfig-ipv6 option to
                      remote, overrides --ifconfig-ipv6-pool allocation.
                      Only valid in a client-specific config file.
    --iroute network [netmask] : Route subnet to client.
    --iroute-ipv6 network/bits : Route IPv6 subnet to client.
                      Sets up internal routes only.
                      Only valid in a client-specific config file.
    --disable       : Client is disabled.
                      Only valid in a client-specific config file.
    --client-cert-not-required : Don't require client certificate, client
                      will authenticate using username/password.
    --verify-client-cert [none|optional|require] : perform no, optional or
                      mandatory client certificate verification.
                      Default is to require the client to supply a certificate.
    --username-as-common-name  : For auth-user-pass authentication, use
                      the authenticated username as the common name,
                      rather than the common name from the client cert.
    --auth-user-pass-verify cmd method: Query client for username/password and
                      run command cmd to verify.  If method='via-env', pass
                      user/pass via environment, if method='via-file', pass
                      user/pass via temporary file.
    --auth-gen-token  [lifetime] Generate a random authentication token which is pushed
                      to each client, replacing the password.  Usefull when
                      OTP based two-factor auth mechanisms are in use and
                      --reneg-* options are enabled. Optionally a lifetime in seconds
                      for generated tokens can be set.
    --opt-verify    : Clients that connect with options that are incompatible
                      with those of the server will be disconnected.
    --auth-user-pass-optional : Allow connections by clients that don't
                      specify a username/password.
    --no-name-remapping : Allow Common Name and X509 Subject to include
                          any printable character.
    --client-to-client : Internally route client-to-client traffic.
    --duplicate-cn  : Allow multiple clients with the same common name to
                      concurrently connect.
    --client-connect cmd : Run command cmd on client connection.
    --client-disconnect cmd : Run command cmd on client disconnection.
    --client-config-dir dir : Directory for custom client config files.
    --ccd-exclusive : Refuse connection unless custom client config is found.
    --tmp-dir dir   : Temporary directory, used for --client-connect return file and plugin communication.
    --hash-size r v : Set the size of the real address hash table to r and the
                      virtual address table to v.
    --bcast-buffers n : Allocate n broadcast buffers.
    --tcp-queue-limit n : Maximum number of queued TCP output packets.
    --tcp-nodelay   : Macro that sets TCP_NODELAY socket flag on the server
                      as well as pushes it to connecting clients.
    --learn-address cmd : Run command cmd to validate client virtual addresses.
    --connect-freq n s : Allow a maximum of n new connections per s seconds.
    --max-clients n : Allow a maximum of n simultaneously connected clients.
    --max-routes-per-client n : Allow a maximum of n internal routes per client.
    --stale-routes-check n [t] : Remove routes with a last activity timestamp
                                 older than n seconds. Run this check every t
                                 seconds (defaults to n).
    --explicit-exit-notify [n] : In UDP server mode send [RESTART] command on exit/restart to connected
                                 clients. n = 1 - reconnect to same server,
                                 2 - advance to next server, default=1.
    --port-share host port [dir] : When run in TCP mode, proxy incoming HTTPS
                      sessions to a web server at host:port.  dir specifies an
                      optional directory to write origin IP:port data.
    Client options (when connecting to a multi-client server):
    --client         : Helper option to easily configure client mode.
    --auth-user-pass [up] : Authenticate with server using username/password.
                      up is a file containing the username on the first line,
                      and a password on the second. If either the password or both
                      the username and the password are omitted OpenVPN will prompt
                      for them from console.
    --pull           : Accept certain config file options from the peer as if they
                      were part of the local config file.  Must be specified
                      when connecting to a '--mode server' remote host.
    --pull-filter accept|ignore|reject t : Filter each option received from the
                      server if it starts with the text t. The action flag accept,
                      ignore or reject causes the option to be allowed, removed or
                      rejected with error. May be specified multiple times, and
                      each filter is applied in the order of appearance.
    --auth-retry t  : How to handle auth failures.  Set t to
                      none (default), interact, or nointeract.
    --static-challenge t e : Enable static challenge/response protocol using
                      challenge text t, with e indicating echo flag (0|1)
    --connect-timeout n : when polling possible remote servers to connect to
                      in a round-robin fashion, spend no more than n seconds
                      waiting for a response before trying the next server.
    --allow-recursive-routing : When this option is set, OpenVPN will not drop
                      incoming tun packets with same destination as host.
    --explicit-exit-notify [n] : On exit/restart, send exit signal to
                      server/remote. n = # of retries, default=1.
    Data Channel Encryption Options (must be compatible between peers):
    (These options are meaningful for both Static Key & TLS-mode)
    --secret f [d]  : Enable Static Key encryption mode (non-TLS).
                      Use shared secret file f, generate with --genkey.
                      The optional d parameter controls key directionality.
                      If d is specified, use separate keys for each
                      direction, set d=0 on one side of the connection,
                      and d=1 on the other side.
    --auth alg      : Authenticate packets with HMAC using message
                      digest algorithm alg (default=SHA1).
                      (usually adds 16 or 20 bytes per packet)
                      Set alg=none to disable authentication.
    --cipher alg    : Encrypt packets with cipher algorithm alg
                      (default=BF-CBC).
                      Set alg=none to disable encryption.
    --ncp-ciphers list : List of ciphers that are allowed to be negotiated.
    --ncp-disable   : Disable cipher negotiation.
    --prng alg [nsl] : For PRNG, use digest algorithm alg, and
                       nonce_secret_len=nsl.  Set alg=none to disable PRNG.
    --keysize n     : Size of cipher key in bits (optional).
                      If unspecified, defaults to cipher-specific default.
    --engine [name] : Enable OpenSSL hardware crypto engine functionality.
    --no-replay     : Disable replay protection.
    --mute-replay-warnings : Silence the output of replay warnings to log file.
    --replay-window n [t]  : Use a replay protection sliding window of size n
                             and a time window of t seconds.
                             Default n=64 t=15
    --no-iv         : Disable cipher IV -- only allowed with CBC mode ciphers.
    --replay-persist file : Persist replay-protection state across sessions
                      using file.
    --test-crypto   : Run a self-test of crypto features enabled.
                      For debugging only.
    TLS Key Negotiation Options:
    (These options are meaningful only for TLS-mode)
    --tls-server    : Enable TLS and assume server role during TLS handshake.
    --tls-client    : Enable TLS and assume client role during TLS handshake.
    --key-method m  : Data channel key exchange method.  m should be a method
                      number, such as 1 (default), 2, etc.
    --ca file       : Certificate authority file in .pem format containing
                      root certificate.
    --capath dir    : A directory of trusted certificates (CAs and CRLs).
    --dh file       : File containing Diffie Hellman parameters
                      in .pem format (for --tls-server only).
                      Use "openssl dhparam -out dh1024.pem 1024" to generate.
    --cert file     : Local certificate in .pem format -- must be signed
                      by a Certificate Authority in --ca file.
    --extra-certs file : one or more PEM certs that complete the cert chain.
    --key file      : Local private key in .pem format.
    --tls-version-min <version> ['or-highest'] : sets the minimum TLS version we
        will accept from the peer.  If version is unrecognized and 'or-highest'
        is specified, require max TLS version supported by SSL implementation.
    --tls-version-max <version> : sets the maximum TLS version we will use.
    --pkcs12 file   : PKCS#12 file containing local private key, local certificate
                      and optionally the root CA certificate.
    --x509-username-field : Field in x509 certificate containing the username.
                            Default is CN in the Subject field.
    --verify-hash   : Specify SHA1 fingerprint for level-1 cert.
    --tls-cipher l  : A list l of allowable TLS ciphers separated by : (optional).
                    : Use --show-tls to see a list of supported TLS ciphers.
    --tls-timeout n : Packet retransmit timeout on TLS control channel
                      if no ACK from remote within n seconds (default=2).
    --reneg-bytes n : Renegotiate data chan. key after n bytes sent and recvd.
    --reneg-pkts n  : Renegotiate data chan. key after n packets sent and recvd.
    --reneg-sec n   : Renegotiate data chan. key after n seconds (default=3600).
    --hand-window n : Data channel key exchange must finalize within n seconds
                      of handshake initiation by any peer (default=60).
    --tran-window n : Transition window -- old key can live this many seconds
                      after new key renegotiation begins (default=3600).
    --single-session: Allow only one session (reset state on restart).
    --tls-exit      : Exit on TLS negotiation failure.
    --tls-auth f [d]: Add an additional layer of authentication on top of the TLS
                      control channel to protect against attacks on the TLS stack
                      and DoS attacks.
                      f (required) is a shared-secret key file.
                      The optional d parameter controls key directionality,
                      see --secret option for more info.
    --tls-crypt key : Add an additional layer of authenticated encryption on top
                      of the TLS control channel to hide the TLS certificate,
                      provide basic post-quantum security and protect against
                      attacks on the TLS stack and DoS attacks.
                      key (required) provides the pre-shared key file.
                      see --secret option for more info.
    --askpass [file]: Get PEM password from controlling tty before we daemonize.
    --auth-nocache  : Don't cache --askpass or --auth-user-pass passwords.
    --crl-verify crl ['dir']: Check peer certificate against a CRL.
    --tls-verify cmd: Run command cmd to verify the X509 name of a
                      pending TLS connection that has otherwise passed all other
                      tests of certification.  cmd should return 0 to allow
                      TLS handshake to proceed, or 1 to fail.  (cmd is
                      executed as 'cmd certificate_depth subject')
    --tls-export-cert [directory] : Get peer cert in PEM format and store it
                      in an openvpn temporary file in [directory]. Peer cert is
                      stored before tls-verify script execution and deleted after.
    --verify-x509-name name: Accept connections only from a host with X509 subject
                      DN name. The remote host must also pass all other tests
                      of verification.
    --ns-cert-type t: Require that peer certificate was signed with an explicit
                      nsCertType designation t = 'client' | 'server'.
    --x509-track x  : Save peer X509 attribute x in environment for use by
                      plugins and management interface.
    --keying-material-exporter label len : Save Exported Keying Material (RFC5705)
                      of len bytes (min. 16 bytes) using label in environment for use by plugins.
    --remote-cert-ku v ... : Require that the peer certificate was signed with
                      explicit key usage, you can specify more than one value.
                      value should be given in hex format.
    --remote-cert-eku oid : Require that the peer certificate was signed with
                      explicit extended key usage. Extended key usage can be encoded
                      as an object identifier or OpenSSL string representation.
    --remote-cert-tls t: Require that peer certificate was signed with explicit
                      key usage and extended key usage based on RFC3280 TLS rules.
                      t = 'client' | 'server'.
    PKCS#11 Options:
    --pkcs11-providers provider ... : PKCS#11 provider to load.
    --pkcs11-protected-authentication [0|1] ... : Use PKCS#11 protected authentication
                                  path. Set for each provider.
    --pkcs11-private-mode hex ...   : PKCS#11 private key mode mask.
                                  0       : Try  to determind automatically (default).
                                  1       : Use Sign.
                                  2       : Use SignRecover.
                                  4       : Use Decrypt.
                                  8       : Use Unwrap.
    --pkcs11-cert-private [0|1] ... : Set if login should be performed before
                                      certificate can be accessed. Set for each provider.
    --pkcs11-pin-cache seconds      : Number of seconds to cache PIN. The default is -1
                                      cache until token is removed.
    --pkcs11-id-management          : Acquire identity from management interface.
    --pkcs11-i
    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    profile_image

    shimss@11q.kr님의 댓글

    shimss@11q.kr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일
    profile_image

    shimss@11q.kr님의 댓글

    shimss@11q.kr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일

    OpenVPN 설치하기 및 활용하기
    https://dbottpvr.tistory.com/100
    우분투에서 OpenVPN을 설정하는 방법
    https://www.vpnbook.com/howto/setup-openvpn-on-ubuntu

    profile_image

    kyle1004님의 댓글

    no_profile kyle1004 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 아이피 (211.♡.174.140) 작성일

    좋은정보 감사드려요~






    Total 1,749 / 61 Page
    [ 공유기를 AP/스위치(허브)로 변경하는 방법<< 무선 공유기2을 추가 연결 wifi 확장 설치 작업 설정 … ]

    공유기를 AP/스위치(허브)로 변경하는 방법공유기 2대를 연결하기 위해서는 각각의 공유기가 다른 내부IP를 사용해야하며,이를 위해 스위치(허브)…

    [ iframe 금지된 사이트 iframe 으로 불러오기 ]

    iframe 금지된 사이트 iframe 으로 불러오기https://11q.kr/g5s/bbs/page.php?hid=intro에 적용 했습니다.…

    [ RSS 정보를 iframe 만들어 게시판 불러오기( board.php 를 rss.php 변경) ] 댓글 1

    최신버전을 확인하고자 다운로드 사이트 RSS 정보를 iframe 만들어 소스에 삽입하고자 합니다Free Online RSS to HTML Con…

    [ skt pooq 에서 wavve 전환 신규 이용권 출시 및 기존 이용권 판매 종료 안내(출시 및 판매 종료일… ] 댓글 4

    푹공지사항뒤로 가기나가기20190918Standard FHD 전체 디바이스 2회선 증가 10,900원 가입 변경 했습니다그리고wavve [4.0…

    [ Notepad++ 팁) /노트패드 에디터 줄단위 편집 > 빈줄제거 하기 ]

    Notepad++ 팁) /노트패드 에디터 줄단위 편집 > 빈줄제거 하기편집>Notepad++ 팁) /노트패드 에디터 줄단위 편집 &g…

    [ POWERBUTTON_6.2-0002.SPK ]

    POWERBUTTON_6.2-0002.SPKhttps://www39.zippyshare.com/v/R3ftOA3X/file.html파일을 요청했…

    [ 무료 인트라넷 속도 테스트 및 벤치 마크 LAN 네트워크 성능 도구 ]

    ◎8 무료 인트라넷 속도 테스트 및 벤치 마크 LAN 네트워크 성능 도구업데이트 날짜 :2019 년 8 월 1 일/홈»프리웨어 및 소프트웨어 리…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-05-10 08:25:11

    오늘의 홈 현황


    • 현재 접속자♨ 162 명
    • 오늘 가입자※ 0 명
    • 어제 가입자※ 6 명
    • 주간 가입자※ 14 명
    • 오늘 방문자 1,004 명
    • 어제 방문자 1,918 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,314,486 명
    • 전체 게시물※ 8,561 개
    • 전체 댓글수※ 24,586 개
    • 전체 회원수 10,959 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑