Setup: Server Windows 2003 Client CentOS 6.4
What I'm trying to accomplish is to share the networked Printers on the Windows 2003 side with the clients side but can not get either to communicate to begin with let alone share printers.
The Windows 2003 is on a network with 192.168.1.X and the Linux side network is 192.168.1.X also.
When connected with the openVPN on port 1194, they are using 10.8.0.X. They do not seem to see each other.
Both sides have the port open for both TCP/UDP.
I have set up the server with the following:
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 6
The client:
client
dev tun
proto udp
remote 24.227.88.3 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert gltclient.crt
key gltclient.key
ns-cert-type server
comp-lzo
verb 6
Log file from client:
Sep 18 15:22:55 CentOS6-64Base openvpn[52854]: Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sep 18 15:22:55 CentOS6-64Base openvpn[52854]: Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sep 18 15:22:55 CentOS6-64Base openvpn[52854]: Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sep 18 15:22:55 CentOS6-64Base openvpn[52854]: Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sep 18 15:22:55 CentOS6-64Base openvpn[52854]: UDPv4 WRITE [22] to [AF_INET]XXX.XXX.XXX.XXX:1194: P_ACK_V1 kid=0 [ 43 ]
Sep 18 15:22:55 CentOS6-64Base openvpn[52854]: Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Sep 18 15:22:55 CentOS6-64Base openvpn[52854]: [gltssi] Peer Connection Initiated with [AF_INET]XXX.XXX.XXX.XXX:1194
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: SENT CONTROL [gltssi]: 'PUSH_REQUEST' (status=1)
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: UDPv4 WRITE [104] to [AF_INET]XXX.XXX.XXX.XXX:1194: P_CONTROL_V1 kid=0 [ ] pid=30 DATA len=90
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: UDPv4 READ [22] from [AF_INET]XXX.XXX.XXX.XXX:1194: P_ACK_V1 kid=0 [ 30 ]
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: UDPv4 READ [114] from [AF_INET]XXX.XXX.XXX.XXX:1194: P_CONTROL_V1 kid=0 [ ] pid=44 DATA len=100
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: UDPv4 WRITE [22] to [AF_INET]XXX.XXX.XXX.XXX:1194: P_ACK_V1 kid=0 [ 44 ]
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: UDPv4 READ [84] from [AF_INET]XXX.XXX.XXX.XXX:1194: P_CONTROL_V1 kid=0 [ ] pid=45 DATA len=70
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: PUSH: Received control message: 'PUSH_REPLY,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: OPTIONS IMPORT: timers and/or timeouts modified
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: OPTIONS IMPORT: --ifconfig/up options modified
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: OPTIONS IMPORT: route options modified
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=eth0 HWADDR=00:15:5d:a7:0b:0c
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: TUN/TAP device tun0 opened
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: TUN/TAP TX queue length set to 100
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: /sbin/ip link set dev tun0 up mtu 1500
Sep 18 15:22:58 CentOS6-64Base kernel: tun0: Disabled Privacy Extensions
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: /sbin/ip addr add dev tun0 local 10.8.0.6 peer 10.8.0.5
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: /sbin/ip route add 10.8.0.1/32 via 10.8.0.5
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: Initialization Sequence Completed
Sep 18 15:22:58 CentOS6-64Base openvpn[52854]: UDPv4 WRITE [22] to [AF_INET]XXX.XXX.XXX.XXX:1194: P_ACK_V1 kid=0 [ 45 ]
Sep 18 15:22:59 CentOS6-64Base ntpd[1549]: Listening on interface #17 tun0, 10.8.0.6#123 Enabled
Sep 18 15:23:00 CentOS6-64Base openvpn[52854]: event_wait : Interrupted system call (code=4)
Sep 18 15:23:00 CentOS6-64Base openvpn[52854]: OpenVPN STATISTICS
Sep 18 15:23:00 CentOS6-64Base openvpn[52854]: Updated,Wed Sep 18 15:23:00 2013
Sep 18 15:23:00 CentOS6-64Base openvpn[52854]: TUN/TAP read bytes,0
Sep 18 15:23:00 CentOS6-64Base openvpn[52854]: TUN/TAP write bytes,0
Sep 18 15:23:00 CentOS6-64Base openvpn[52854]: TCP/UDP read bytes,5567
Sep 18 15:23:00 CentOS6-64Base openvpn[52854]: TCP/UDP write bytes,4260
Sep 18 15:23:00 CentOS6-64Base openvpn[52854]: Auth read bytes,0
Sep 18 15:23:00 CentOS6-64Base openvpn[52854]: pre-compress bytes,0
Sep 18 15:23:00 CentOS6-64Base openvpn[52854]: post-compress bytes,0
Sep 18 15:23:00 CentOS6-64Base openvpn[52854]: pre-decompress bytes,0
Sep 18 15:23:00 CentOS6-64Base openvpn[52854]: post-decompress bytes,0
Sep 18 15:23:00 CentOS6-64Base openvpn[52854]: END
Now, both 'see' each other as the server has an IP of 10.8.0.1, while the client receives an IP of 10.8.0.6.
Yet, when I look at the ipp.txt on the server, it has the client as 10.8.0.4.
The two can not ping each other at all. But if I monitor, when client ping the server, the server is 'seeing' the ping request just not responding to it.
Any ideas or assistance would be greatly appreciated.