I am trying to exercise a transparent Open VPN connection. I am trying to connect to the server using "KVpnc". I haven't used package management and compiled from the source. The version I am working with is Debian 6 machines;
Network setup
VPN_SRVR(eth0:192.168.0.2) <----> (eth0:192.168.0.1)Linux_IP_FWD_ENABLED(eth1:192.168.1.1) <----> (eth1:192.168.1.2)KVPNC_CLIENT (eth0: 10.1.1.1)
Open VPN 2.1.3 apt-get installed @ server side
Open VPN 2.2.2 make installed @ client side
KVpnc 0.9.5 apt-get installed @ client side
I could able to ping between VPN_SRVR and KVPNC_CLIENT;
Code: Select all
------client.conf---------------------------------------------
# OpenVPN server
remote 192.168.0.2
# Tunnel mode
dev tun
# IP addresses
ifconfig 10.9.0.2 10.9.0.1
# Cipher mode
cipher none
# Authentication mode
auth none
# Log verbosity
verb 3
#Script-security
script-security 3 system
management localhost 7505
-----------------------------------------------------------------
Code: Select all
--------server.conf-----------------------------------------
# Tunnel mode
dev tun
# IP addresses
ifconfig 10.9.0.1 10.9.0.2
# Cipher mode
cipher none
# Authentication mode
auth none
# Log verbosity
verb 3
script-security 3 system
management 0.0.0.0 7505
-------------------------------------------------------------------
Code: Select all
----------KVpnc.log-----------------------------------------
debug: Wallet disabled or not available, reading passwords from config file.
debug: Preserving network environment
debug: openvpn: /usr/sbin/openvpn
debug: Support for TUN/TAP found (compiled into kernel or kernel module already loaded).
debug: No default interface found, using "lo".
debug: No IP for default interface found, using "127.0.0.1".
info: Trying to connect to server "192.168.0.2" with ...
debug: Setting DNS_UPDATE "Yes".
debug: Starting Openvpn management handler...
debug: [openvpn] Sun Apr 22 17:14:11 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
debug: [openvpn] Sun Apr 22 17:14:11 2012 WARNING: External program may not be called unless '--script-security 2' or higher is enabled. Use '--script-security 3 system' for backward compatibility with 2.1_rc8 and earlier. See --help text or man page for detailed info.
debug: [openvpn] Sun Apr 22 17:14:11 2012 WARNING: Failed running command (--up/--down): external program fork failed
debug: [openvpn]
debug: [openvpn] Sun Apr 22 17:14:11 2012 ******* WARNING *******: all encryption and authentication features disabled -- all data will be tunnelled as cleartext
debug: [openvpn]
error: OpenvpnManagementHandler: Connection refused
error: OpenvpnManagementHandler: Got no greeting within 3 seconds from management interface, retrying.
error: OpenvpnManagementHandler: Connection refused
error: OpenvpnManagementHandler: Got no greeting within 3 seconds from management interface, retrying.
error: OpenvpnManagementHandler: Connection refused
error: OpenvpnManagementHandler: Got no greeting within 3 seconds from management interface, retrying.
error: OpenvpnManagementHandler: Connection refused
debug: Disconnect requested
debug: Disconnect requested, status connecting
debug: Killing process while connecting.
success: Successful connect try canceled.
debug: Disconnected.
------------------------------------------------------------
Reg,
Gopi