One does *never* read enough but there is a point where i came to a halt, no matter how much i read or will read. And again, my config is working in another scenario where openvpn server resides on a physical box. This is more a question about the general possibilites, not detailled configuration. Bridging with tap has one big disadvantage, it works only with windows clients and also it forwards a whole bunch of traffic.
So why access server works and standard openvpn not? is it because access server adds additional NAT ?
openvpn version on server is: 2.3.4-5 and on client: 2.4.0
There are no real problems during connecting
client log:
Wed Mar 01 15:30:18 2017 OpenVPN 2.4.0 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Jan 31 2017
Wed Mar 01 15:30:18 2017 Windows version 6.1 (Windows 7) 32bit
Wed Mar 01 15:30:18 2017 library versions: OpenSSL 1.0.2k 26 Jan 2017, LZO 2.09
Wed Mar 01 15:30:21 2017 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Wed Mar 01 15:30:22 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]84.xxx.53.180:1195
Wed Mar 01 15:30:22 2017 UDP link local: (not bound)
Wed Mar 01 15:30:22 2017 UDP link remote: [AF_INET]84.xxx.53.180:1195
Wed Mar 01 15:30:22 2017 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Wed Mar 01 15:30:22 2017 [TS Series NAS] Peer Connection Initiated with [AF_INET]84.xxx.53.180:1195
Wed Mar 01 15:30:23 2017 open_tun
Wed Mar 01 15:30:23 2017 TAP-WIN32 device [LAN-Verbindung 2] opened: \\.\Global\{06DA0C5B-1D21-47D5-8CDA-2C84AD374277}.tap
Wed Mar 01 15:30:23 2017 Set TAP-Windows TUN subnet mode network/local/netmask = 192.168.200.0/192.168.200.2/255.255.255.0 [SUCCEEDED]
Wed Mar 01 15:30:23 2017 Notified TAP-Windows driver to set a DHCP IP/netmask of 192.168.200.2/255.255.255.0 on interface {06DA0C5B-1D21-47D5-8CDA-2C84AD374277} [DHCP-serv: 192.168.200.254, lease-time: 31536000]
Wed Mar 01 15:30:23 2017 Successful ARP Flush on interface [19] {06DA0C5B-1D21-47D5-8CDA-2C84AD374277}
Wed Mar 01 15:30:23 2017 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Wed Mar 01 15:30:28 2017 Initialization Sequence Completed
server log:
Wed Mar 1 15:30:25 2017 80.xxx.154.22:22790 TLS: Initial packet from [AF_INET]80.xxx.154.22:22790, sid=78dae3e6 221ffceb
Wed Mar 1 15:30:25 2017 80.xxx.154.22:22790 PLUGIN_CALL: POST /usr/lib/openvpn/openvpn-plugin-auth-pam.so/PLUGIN_AUTH_USER_PASS_VERIFY status=0
Wed Mar 1 15:30:25 2017 80.xxx.154.22:22790 TLS: Username/Password authentication succeeded for username 'trechber' [CN SET]
Wed Mar 1 15:30:25 2017 80.xxx.154.22:22790 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Wed Mar 1 15:30:25 2017 80.xxx.154.22:22790 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Mar 1 15:30:25 2017 80.xxx.154.22:22790 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Wed Mar 1 15:30:25 2017 80.xxx.154.22:22790 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Mar 1 15:30:25 2017 80.xxx.154.22:22790 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA
Wed Mar 1 15:30:25 2017 80.xxx.154.22:22790 [trechber] Peer Connection Initiated with [AF_INET]80.xxx.154.22:22790
Wed Mar 1 15:30:25 2017 trechber/80.xxx.154.22:22790 MULTI_sva: pool returned IPv4=192.168.200.2, IPv6=(Not enabled)
Wed Mar 1 15:30:25 2017 trechber/80.xxx.154.22:22790 MULTI: Learn: 192.168.200.2 -> trechber/80.xxx.154.22:22790
Wed Mar 1 15:30:25 2017 trechber/80.xxx.154.22:22790 MULTI: primary virtual IP for trechber/80.xxx.154.22:22790: 192.168.200.2
Wed Mar 1 15:30:26 2017 trechber/80.xxx.154.22:22790 PUSH: Received control message: 'PUSH_REQUEST'
Wed Mar 1 15:30:26 2017 trechber/80.xxx.154.22:22790 send_push_reply(): safe_cap=940
Wed Mar 1 15:30:26 2017 trechber/80.xxx.154.22:22790 SENT CONTROL [trechber]: 'PUSH_REPLY,topology subnet,route 192.168.5.0 255.255.255.0,dhcp-option DNS 192.168.5.1,dhcp-option DOMAIN intern.lan,persist-tun,persist-key,route-gateway 192.168.200.1,topology subnet,ping 10,ping-restart 60,ifconfig 192.168.200.2 255.255.255.0' (status=1)