hello,
sorry, I forgot to post my config:
here they are:
Server.conf
port 1194
proto udp
dev tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
dh /etc/openvpn/dh2048.pem
tls-auth /etc/openvpn/ta.key 0
server 10.11.12.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
push "route xxx.xxx.xxx.xxx 255.255.255.255 net_gateway"
push "route xxx.xxx.xxx.xxx 255.255.255.0 vpn_gateway"
push "route xxx.xxx.xxx.xxx 255.255.255.0 vpn_gateway"
push "route xxx.xxx.xxx.xxx 255.255.255.0 vpn_gateway"
push "route xxx.xxx.xxx.xxx 255.255.255.0 vpn_gateway"
push "route xxx.xxx.xxx.xxx 255.255.255.0 vpn_gateway"
push "route xxx.xxx.xxx.xxx 255.255.255.0 vpn_gateway"
push "route xxx.xxx.xxx.xxx 255.255.255.0 vpn_gateway"
push "route xxx.xxx.xxx.xxx 255.255.255.0 vpn_gateway"
push "route xxx.xxx.xxx.xxx 255.255.255.0 vpn_gateway"
push "route xxx.xxx.xxx.xxx 255.255.255.255 vpn_gateway"
push "route xxx.xxx.xxx.xxx 255.255.255.0 vpn_gateway"
client-to-client
keepalive 10 60
client-config-dir ccd
cipher DES-EDE3-CBC # Triple-DES
comp-lzo
max-clients 10
user nobody
group nogroup
persist-key
persist-tun
log /var/log/openvpn.log
status /var/log/openvpn-status.log
verb 5
mute 20
* these xxx.xxx.xxx.xxx are few single IPs + 3 "C" class networks
clinet.ovpn:
client
remote AAA.AAA.AAA.AAA 1194
remote-cert-tls server
ca /root/vpn/ca.crt
cert /root/vpn/me.crt
key /root/vpn/me.key
cipher DES-EDE3-CBC
comp-lzo yes
dev tun
proto udp
tls-auth /root/vpn/ta.key 1
nobind
auth-nocache
script-security 2
persist-key
persist-tun
user nobody
group nogroup
AAA.AAA.AAA.AAA is a real static IP address of vpn server
ccd client file:
ccd# cat me
ifconfig-push 10.11.12.6 10.11.12.5
this is my default configuration, which VPN works like a charm, now, I have to access through it my IPMI devices which should have private IPs from the same subnet (10.11.12.xxx) or if its possible, they can use another subnet (10.11.20.xxx).
Thank you once again for you kind help.