It is very extrange,
I atach a Image that explain the network
When I say openvpn private ip address is 192.168.9.0/24 not private address (192.168.X.X)
In the picture, if I run ping command PC1 to PC2
ping 192.168.29.2
The ip address in the log firewall is correct (192.168.29.2)
But if I run ping command PC2 to PC1
ping PC1 192.168.0.189
The ip address in the log firewall is not correct (192.168.9.6, internal openvpn address network)
And if i have a cifs server in NET 192.168.0.0 (for example 192.168.0.5) and I wanna connect 2 pcs in the other LAN (for example 192.168.29.2 and 192.168.29.3) I cannot connect 2 computers at the same time because in the cifs server there are two 192.168.9.6 connections and this is not possible.
Client.conf Openvpn Linux client that works good
#
# SmallNetBuilder OpenVPN Client Configuration
#
# Instructs OpenVPN to run in client mode, requests IP address and
# special instructions (like routes) from the server.
client
# Interface for tunnel
dev tun0
# Remote server to connect to. Can be domain name or IP address.
remote 62.43.202.117 1195
# Certificates and keys required for connection
ca /etc/openvpn/certs/ca.crt
cert /etc/openvpn/certs/vpn-viapublica.crt
key /etc/openvpn/keys/vpn-viapublica.key
# Symmetric cipher - Must be the same as the server's
cipher BF-CBC
# Protocol and Port - Must be the same on both server and client.
proto udp
port 1195
# Log to file instead of syslog
log-append /var/log/openvpn.log
verb 1
# Since the OpenVPN client is acting as a gateway for other machines
# on the client-side network, run as a daemon and downgrade user
# priviledges.
user nobody
group nobody
daemon
# Use a persistent key and tunnel interface.
persist-tun
persist-key
keepalive 20 120
Thank you,