Skip to content

Instantly share code, notes, and snippets.

@zimmertr
Created August 25, 2019 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zimmertr/da4eded4f4dd26a4b404fd772dfa17ee to your computer and use it in GitHub Desktop.
Save zimmertr/da4eded4f4dd26a4b404fd772dfa17ee to your computer and use it in GitHub Desktop.
$> sudo openvpn --config 192.168.10.10.ovpn --auth-user-pass pass.txt
[sudo] password for tj:
Sun Aug 25 11:37:13 2019 WARNING: file 'pass.txt' is group or others accessible
Sun Aug 25 11:37:13 2019 OpenVPN 2.4.7 [git:makepkg/2b8aec62d5db2c17+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 19 2019
Sun Aug 25 11:37:13 2019 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10
Sun Aug 25 11:37:13 2019 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
Sun Aug 25 11:37:13 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Aug 25 11:37:13 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Aug 25 11:37:13 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]192.168.10.10:1194
Sun Aug 25 11:37:13 2019 Socket Buffers: R=[212992->212992] S=[212992->212992]
Sun Aug 25 11:37:13 2019 UDP link local: (not bound)
Sun Aug 25 11:37:13 2019 UDP link remote: [AF_INET]192.168.10.10:1194
Sun Aug 25 11:37:13 2019 TLS: Initial packet from [AF_INET]192.168.10.10:1194, sid=47bb43f9 897ac49a
Sun Aug 25 11:37:13 2019 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sun Aug 25 11:37:13 2019 VERIFY OK: depth=1, CN=OpenVPN CA
Sun Aug 25 11:37:13 2019 VERIFY OK: nsCertType=SERVER
Sun Aug 25 11:37:13 2019 VERIFY OK: depth=0, CN=OpenVPN Server
Sun Aug 25 11:37:13 2019 Control Channel: TLSv1.2, cipher TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Sun Aug 25 11:37:13 2019 [OpenVPN Server] Peer Connection Initiated with [AF_INET]192.168.10.10:1194
Sun Aug 25 11:37:14 2019 SENT CONTROL [OpenVPN Server]: 'PUSH_REQUEST' (status=1)
Sun Aug 25 11:37:19 2019 SENT CONTROL [OpenVPN Server]: 'PUSH_REQUEST' (status=1)
Sun Aug 25 11:37:19 2019 PUSH: Received control message: 'PUSH_REPLY,explicit-exit-notify,topology subnet,route-delay 5 30,dhcp-pre-release,dhcp-renew,dhcp-release,route-metric 101,ping 12,ping-restart 50,compress stub-v2,redirect-gateway def1,redirect-gateway bypass-dhcp,redirect-gateway autolocal,route-gateway 172.27.232.1,dhcp-option DNS 192.168.1.100,dhcp-option DNS 192.168.1.110,dhcp-option DOMAIN sol.milkyway,dhcp-option ADAPTER_DOMAIN_SUFFIX sol.milkyway,register-dns,block-ipv6,ifconfig 172.27.232.7 255.255.254.0,peer-id 0,auth-tokenSESS_ID,cipher AES-256-GCM'
Sun Aug 25 11:37:19 2019 Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:4: dhcp-pre-release (2.4.7)
Sun Aug 25 11:37:19 2019 Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:5: dhcp-renew (2.4.7)
Sun Aug 25 11:37:19 2019 Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:6: dhcp-release (2.4.7)
Sun Aug 25 11:37:19 2019 Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:19: register-dns (2.4.7)
Sun Aug 25 11:37:19 2019 Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:20: block-ipv6 (2.4.7)
Sun Aug 25 11:37:19 2019 OPTIONS IMPORT: timers and/or timeouts modified
Sun Aug 25 11:37:19 2019 OPTIONS IMPORT: explicit notify parm(s) modified
Sun Aug 25 11:37:19 2019 OPTIONS IMPORT: compression parms modified
Sun Aug 25 11:37:19 2019 OPTIONS IMPORT: --ifconfig/up options modified
Sun Aug 25 11:37:19 2019 OPTIONS IMPORT: route options modified
Sun Aug 25 11:37:19 2019 OPTIONS IMPORT: route-related options modified
Sun Aug 25 11:37:19 2019 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Sun Aug 25 11:37:19 2019 OPTIONS IMPORT: peer-id set
Sun Aug 25 11:37:19 2019 OPTIONS IMPORT: adjusting link_mtu to 1625
Sun Aug 25 11:37:19 2019 OPTIONS IMPORT: data channel crypto options modified
Sun Aug 25 11:37:19 2019 Data Channel: using negotiated cipher 'AES-256-GCM'
Sun Aug 25 11:37:19 2019 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Sun Aug 25 11:37:19 2019 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Sun Aug 25 11:37:19 2019 ROUTE_GATEWAY 192.168.20.1/255.255.255.0 IFACE=enp64s0 HWADDR=64:4b:f0:10:43:d4
Sun Aug 25 11:37:19 2019 TUN/TAP device tun0 opened
Sun Aug 25 11:37:19 2019 TUN/TAP TX queue length set to 100
Sun Aug 25 11:37:19 2019 /usr/bin/ip link set dev tun0 up mtu 1500
Sun Aug 25 11:37:19 2019 /usr/bin/ip addr add dev tun0 172.27.232.7/23 broadcast 172.27.233.255
Sun Aug 25 11:37:24 2019 ROUTE remote_host is NOT LOCAL
Sun Aug 25 11:37:24 2019 /usr/bin/ip route add 192.168.10.10/32 via 192.168.20.1
Sun Aug 25 11:37:24 2019 /usr/bin/ip route add 0.0.0.0/1 via 172.27.232.1
Sun Aug 25 11:37:24 2019 /usr/bin/ip route add 128.0.0.0/1 via 172.27.232.1
Sun Aug 25 11:37:24 2019 Initialization Sequence Completed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment