I'm very eager to get my new OpenVPN AS appliance working but have run into trouble at the first hurdle. Am trying to set up the machine using a single NIC and bridging to the LAN as a first step but getting nowhere fast :-/
The architecture is as follows:
Code: Select all
Remote Linux client ----> Firewall forwarding UDP port -------> OpenVPN AS
|
|
---> Windows DHCP server
The output on the client is as follows:
Code: Select all
user@machine:~$ sudo openvpn --config Desktop/client.ovpn
[sudo] password for user:
Tue Feb 22 22:10:50 2011 OpenVPN 2.1.0 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Jul 12 2010
Enter Auth Username:openvpn
Enter Auth Password:
Tue Feb 22 22:10:53 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Feb 22 22:10:53 2011 /usr/bin/openssl-vulnkey -q -b 1024 -m <modulus omitted>
Tue Feb 22 22:10:53 2011 Control Channel Authentication: tls-auth using INLINE static key file
Tue Feb 22 22:10:53 2011 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Feb 22 22:10:53 2011 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Feb 22 22:10:53 2011 LZO compression initialized
Tue Feb 22 22:10:53 2011 Control Channel MTU parms [ L:1574 D:166 EF:66 EB:0 ET:0 EL:0 ]
Tue Feb 22 22:10:53 2011 Data Channel MTU parms [ L:1574 D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ]
Tue Feb 22 22:10:53 2011 Local Options hash (VER=V4): '13a273ba'
Tue Feb 22 22:10:53 2011 Expected Remote Options hash (VER=V4): '360696c5'
Tue Feb 22 22:10:53 2011 Socket Buffers: R=[114688->200000] S=[114688->200000]
Tue Feb 22 22:10:53 2011 UDPv4 link local: [undef]
Tue Feb 22 22:10:53 2011 UDPv4 link remote: [AF_INET]1.1.1.1:1194
Tue Feb 22 22:10:53 2011 TLS: Initial packet from [AF_INET]1.1.1.1:1194, sid=f9c219e0 a9858c8a
Tue Feb 22 22:10:53 2011 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Tue Feb 22 22:10:53 2011 Replay-window backtrack occurred [2]
Tue Feb 22 22:10:59 2011 VERIFY OK: depth=1, /CN=OpenVPN_CA
Tue Feb 22 22:10:59 2011 VERIFY OK: nsCertType=SERVER
Tue Feb 22 22:10:59 2011 VERIFY OK: depth=0, /CN=OpenVPN_Server
Tue Feb 22 22:11:01 2011 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Feb 22 22:11:01 2011 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Feb 22 22:11:01 2011 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Feb 22 22:11:01 2011 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Feb 22 22:11:01 2011 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Tue Feb 22 22:11:01 2011 [OpenVPN_Server] Peer Connection Initiated with [AF_INET]1.1.1.1:1194
Tue Feb 22 22:11:03 2011 SENT CONTROL [OpenVPN_Server]: 'PUSH_REQUEST' (status=1)
Tue Feb 22 22:11:03 2011 PUSH: Received control message: 'PUSH_REPLY,explicit-exit-notify,route-gateway dhcp,route-delay 5 30,dhcp-pre-release,dhcp-renew,dhcp-release,route-metric 101,ping 5,ping-restart 40,redirect-private local,redirect-private bypass-dhcp,comp-lzo no'
Tue Feb 22 22:11:03 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:4: dhcp-pre-release (2.1.0)
Tue Feb 22 22:11:03 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:5: dhcp-renew (2.1.0)
Tue Feb 22 22:11:03 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:6: dhcp-release (2.1.0)
Tue Feb 22 22:11:03 2011 OPTIONS IMPORT: timers and/or timeouts modified
Tue Feb 22 22:11:03 2011 OPTIONS IMPORT: explicit notify parm(s) modified
Tue Feb 22 22:11:03 2011 OPTIONS IMPORT: LZO parms modified
Tue Feb 22 22:11:03 2011 OPTIONS IMPORT: route options modified
Tue Feb 22 22:11:03 2011 OPTIONS IMPORT: route-related options modified
Tue Feb 22 22:11:03 2011 ROUTE default_gateway=192.168.48.1
Tue Feb 22 22:11:03 2011 TUN/TAP device tap0 opened
Tue Feb 22 22:11:03 2011 TUN/TAP TX queue length set to 100
Tue Feb 22 22:11:08 2011 NOTE: unable to redirect default gateway -- VPN gateway parameter (--route-gateway or --ifconfig) is missing
Tue Feb 22 22:11:08 2011 Initialization Sequence Completed
TIA!

George