I'm currently trying to capture all traffic from a Windows server to a Security Onion server running OpenVPN in bridging mode. The Server works perfectly, as it is functioning with Linux clients as well as answering DHCP requests. The Windows client has a bridged interface as well as a primary interface. I've set all the applications to run as an administrator as well as disabled firewall monitoring on the TAP interface (I also opened ports, 443, 53, ICMP, 1194). When I start the OpenVPN GUI and start the connection, it says it's successful, but I don't see any UDP 1194 traffic destined to the OpenVPN server. All OpenVPN traffic I see is from my primary interface. See below for my log outputs
Tue Aug 22 20:18:52 2017 OpenVPN 2.3.16 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on May 19 2017
Tue Aug 22 20:18:52 2017 Windows version 6.2 (Windows 8 or greater) 64bit
Tue Aug 22 20:18:52 2017 library versions: OpenSSL 1.0.2k 26 Jan 2017, LZO 2.10
Tue Aug 22 20:18:52 2017 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Tue Aug 22 20:18:52 2017 Need hold release from management interface, waiting...
Tue Aug 22 20:18:52 2017 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Tue Aug 22 20:18:52 2017 MANAGEMENT: CMD 'state on'
Tue Aug 22 20:18:52 2017 MANAGEMENT: CMD 'log all on'
Tue Aug 22 20:18:52 2017 MANAGEMENT: CMD 'hold off'
Tue Aug 22 20:18:52 2017 MANAGEMENT: CMD 'hold release'
Tue Aug 22 20:18:53 2017 Socket Buffers: R=[65536->65536] S=[65536->65536]
Tue Aug 22 20:18:53 2017 UDPv4 link local: [undef]
Tue Aug 22 20:18:53 2017 UDPv4 link remote: [AF_INET]10.1XX.2X.122:1194
Tue Aug 22 20:18:53 2017 MANAGEMENT: >STATE:1503433133,WAIT,,,
Tue Aug 22 20:18:53 2017 MANAGEMENT: >STATE:1503433133,AUTH,,,
Tue Aug 22 20:18:53 2017 TLS: Initial packet from [AF_INET]10.1XX.2X.122:1194, sid=0d2fae31 f2e8728e
Tue Aug 22 20:18:53 2017 VERIFY OK: depth=1, C=US, ST=FL, L=City, O=Somewhere, OU=organized, CN=Security Onion, name=Security Onion, emailAddress=
help@somewhere.com
Tue Aug 22 20:18:53 2017 Validating certificate key usage
Tue Aug 22 20:18:53 2017 ++ Certificate has key usage 00a0, expects 00a0
Tue Aug 22 20:18:53 2017 VERIFY KU OK
Tue Aug 22 20:18:53 2017 Validating certificate extended key usage
Tue Aug 22 20:18:53 2017 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Tue Aug 22 20:18:53 2017 VERIFY EKU OK
Tue Aug 22 20:18:53 2017 VERIFY OK: depth=0, C=US, ST=FL, L=City, O=Somewhere, OU=organized, CN=securityonion, name=securityonion, emailAddress=
help@somewhere.com
Tue Aug 22 20:18:53 2017 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Aug 22 20:18:53 2017 WARNING: INSECURE cipher with block size less than 128 bit (64 bit). This allows attacks like SWEET32. Mitigate by using a --cipher with a larger block size (e.g. AES-256-CBC).
Tue Aug 22 20:18:53 2017 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Aug 22 20:18:53 2017 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Aug 22 20:18:53 2017 WARNING: INSECURE cipher with block size less than 128 bit (64 bit). This allows attacks like SWEET32. Mitigate by using a --cipher with a larger block size (e.g. AES-256-CBC).
Tue Aug 22 20:18:53 2017 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Aug 22 20:18:53 2017 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Tue Aug 22 20:18:53 2017 [securityonion] Peer Connection Initiated with [AF_INET]10.1XX.2X.122:1194
Tue Aug 22 20:18:54 2017 MANAGEMENT: >STATE:1503433134,GET_CONFIG,,,
Tue Aug 22 20:18:55 2017 SENT CONTROL [securityonion]: 'PUSH_REQUEST' (status=1)
Tue Aug 22 20:18:55 2017 PUSH: Received control message: 'PUSH_REPLY,route-gateway 10.8.0.1,ping 10,ping-restart 120,ifconfig 10.8.0.10 255.255.255.0'
Tue Aug 22 20:18:55 2017 OPTIONS IMPORT: timers and/or timeouts modified
Tue Aug 22 20:18:55 2017 OPTIONS IMPORT: --ifconfig/up options modified
Tue Aug 22 20:18:55 2017 OPTIONS IMPORT: route-related options modified
Tue Aug 22 20:18:55 2017 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Aug 22 20:18:55 2017 MANAGEMENT: >STATE:1503433135,ASSIGN_IP,,10.8.0.10,
Tue Aug 22 20:18:55 2017 open_tun, tt->ipv6=0
Tue Aug 22 20:18:55 2017 TAP-WIN32 device [TAP-Win32] opened: \\.\Global\{F7D3D415-73E2-4A48-A73B-866A91C1268C}.tap
Tue Aug 22 20:18:55 2017 TAP-Windows Driver Version 9.21
Tue Aug 22 20:18:55 2017 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.10/255.255.255.0 on interface {F7D3D415-73E2-4A48-A73B-866A91C1268C} [DHCP-serv: 10.8.0.0, lease-time: 31536000]
Tue Aug 22 20:18:55 2017 NOTE: FlushIpNetTable failed on interface [16] {F7D3D415-73E2-4A48-A73B-866A91C1268C} (status=1168) : Element not found.
Tue Aug 22 20:19:05 2017 TEST ROUTES: 0/0 succeeded len=0 ret=1 a=0 u/d=up
Tue Aug 22 20:19:05 2017 Initialization Sequence Completed
Tue Aug 22 20:19:05 2017 MANAGEMENT: >STATE:1503433145,CONNECTED,SUCCESS,10.8.0.10,10.1XX.2X.122
Below is some WireShark capture during the handshake process. Please note that I use OpenVPN as the VPN client into my VPC's as well.
Outside of this handshake info, there is also a lot of UDP traffic (P_DATA_V1) that's going back and forth during the handshake and after.
425 4.144641 10.1XX.2X.211 10.1XX.2X.122 TLSv1 301 Client Hello
503 4.199104 10.1XX.2X.122 10.1XX.2X.211 TLSv1 146 Server Hello, Certificate, Server Key Exchange, Certificate Request, Server Hello Done
515 4.228941 10.1XX.2X.211 10.1XX.2X.122 TLSv1 1230 Ignored Unknown Record
516 4.228993 10.1XX.2X.211 10.1XX.2X.122 TLSv1 941 Ignored Unknown Record
520 4.236115 10.1XX.2X.122 10.1XX.2X.211 TLSv1 127 Change Cipher Spec, Encrypted Handshake Message
521 4.236283 10.1XX.2X.211 10.1XX.2X.122 TLSv1 446 Application Data, Application Data
I'm not sure where the issue lies as I can't quite see what's going on, but any help would be great