Skip to content

Instantly share code, notes, and snippets.

@vvasuki
Last active October 29, 2019 06:40
Show Gist options
  • Save vvasuki/1b5f9b619d604b542d8f52ef827009cc to your computer and use it in GitHub Desktop.
Save vvasuki/1b5f9b619d604b542d8f52ef827009cc to your computer and use it in GitHub Desktop.
open vpn output
$ sudo openvpn client.conf
Tue Oct 29 12:09:17 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
Tue Oct 29 12:09:17 2019 library versions: OpenSSL 1.1.1d 10 Sep 2019, LZO 2.10
Tue Oct 29 12:09:17 2019 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Tue Oct 29 12:09:17 2019 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Oct 29 12:09:17 2019 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Oct 29 12:09:17 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]158.144.176.200:443
Tue Oct 29 12:09:17 2019 Socket Buffers: R=[87380->87380] S=[16384->16384]
Tue Oct 29 12:09:17 2019 Attempting to establish TCP connection with [AF_INET]158.144.176.200:443 [nonblock]
Tue Oct 29 12:09:18 2019 TCP connection established with [AF_INET]158.144.176.200:443
Tue Oct 29 12:09:18 2019 TCP_CLIENT link local: (not bound)
Tue Oct 29 12:09:18 2019 TCP_CLIENT link remote: [AF_INET]158.144.176.200:443
Tue Oct 29 12:09:18 2019 TLS: Initial packet from [AF_INET]158.144.176.200:443, sid=04aa6f41 bf4ab6db
Tue Oct 29 12:09:18 2019 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Tue Oct 29 12:09:18 2019 VERIFY OK: depth=1, CN=NCBSVPN
Tue Oct 29 12:09:18 2019 VERIFY OK: depth=0, CN=VPNSERVER1
Tue Oct 29 12:09:18 2019 Control Channel: TLSv1.2, cipher TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Tue Oct 29 12:09:18 2019 [VPNSERVER1] Peer Connection Initiated with [AF_INET]158.144.176.200:443
Tue Oct 29 12:09:19 2019 SENT CONTROL [VPNSERVER1]: 'PUSH_REQUEST' (status=1)
Tue Oct 29 12:09:19 2019 PUSH: Received control message: 'PUSH_REPLY,route 192.168.0.0 255.255.248.0,route 172.16.0.0 255.255.0.0,route 10.50.0.0 255.255.0.0,redirect-gateway,dhcp-option DNS 172.16.223.222,dhcp-option DOMAIN ncbs.res.in,route 10.10.2.1,topology net30,ping 10,ping-restart 120,ifconfig 10.10.2.10 10.10.2.9,peer-id 0,cipher AES-256-GCM'
Tue Oct 29 12:09:19 2019 OPTIONS IMPORT: timers and/or timeouts modified
Tue Oct 29 12:09:19 2019 OPTIONS IMPORT: --ifconfig/up options modified
Tue Oct 29 12:09:19 2019 OPTIONS IMPORT: route options modified
Tue Oct 29 12:09:19 2019 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Tue Oct 29 12:09:19 2019 OPTIONS IMPORT: peer-id set
Tue Oct 29 12:09:19 2019 OPTIONS IMPORT: adjusting link_mtu to 1627
Tue Oct 29 12:09:19 2019 OPTIONS IMPORT: data channel crypto options modified
Tue Oct 29 12:09:19 2019 Data Channel: using negotiated cipher 'AES-256-GCM'
Tue Oct 29 12:09:19 2019 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Tue Oct 29 12:09:19 2019 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Tue Oct 29 12:09:19 2019 ROUTE_GATEWAY 192.168.0.1/255.255.255.0 IFACE=enp35s0 HWADDR=b0:6e:bf:d3:2f:92
Tue Oct 29 12:09:19 2019 TUN/TAP device tun0 opened
Tue Oct 29 12:09:19 2019 TUN/TAP TX queue length set to 100
Tue Oct 29 12:09:19 2019 /usr/bin/ip link set dev tun0 up mtu 1500
Tue Oct 29 12:09:19 2019 /usr/bin/ip addr add dev tun0 local 10.10.2.10 peer 10.10.2.9
Tue Oct 29 12:09:19 2019 /usr/bin/ip route add 158.144.176.200/32 via 192.168.0.1
Tue Oct 29 12:09:19 2019 /usr/bin/ip route del 0.0.0.0/0
Tue Oct 29 12:09:19 2019 /usr/bin/ip route add 0.0.0.0/0 via 10.10.2.9
Tue Oct 29 12:09:19 2019 /usr/bin/ip route add 192.168.0.0/21 via 10.10.2.9
Tue Oct 29 12:09:19 2019 /usr/bin/ip route add 172.16.0.0/16 via 10.10.2.9
Tue Oct 29 12:09:19 2019 /usr/bin/ip route add 10.50.0.0/16 via 10.10.2.9
Tue Oct 29 12:09:19 2019 /usr/bin/ip route add 10.10.2.1/32 via 10.10.2.9
Tue Oct 29 12:09:19 2019 Initialization Sequence Completed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment