Hello
I installed OpenVPN for a customer and I have au problem :
The server (a real server, not virtualized), Mandriva 2009.0, is configured as this :
proto tcp (I have no choice at the moment)
port 1194
dev tun
server 10.8.0.0 255.255.255.0
push "route 192.0.100.0 255.255.255.0"
My network is 192.168.0.0/24, the network of my customer is 192.0.100.0/24 and openvpn one is 10.8.0.0/24
My customer's router has ip 192.0.100.51
No problems with clients connexion, they obtain their ip address 10.8.0.0/24 and connect to vpn.
The problem : when openvpn is started, intranet server ('ip 192.0.100.254) is not accessible anymore.
- Clients connected on the vpn can't ping neither 10.8.0.1, nor 192.0.100.254, nor 192.0.100.51, nor stations on local network
- Stations on local network can ping other stations, the router, but not the server
- The server can ping nothing
All the time the same response from ping : timeout
If I stop openvpn all become ok again. And when I configure openvpn with
push "route ip.bidon 255.255.255.0"
it works as well, the server is accessible.
I also tried to configure openvpn with
server 192.0.100.0 255.255.255.0
server not accessible again...
In fact, as soon as there has 192.0.100.0 somewhere it no longer works
It seems to be a routing problem, but where ?
Thanks by admance for your help
PS : it's perhaps not important, but it worked at first. Problems started when I configured Samba as wins server and I added push "dhcp-option WINS 192.0.100.254" in openvpn config file. I put everything back but the problem is still there.
PS 2 : there's no firewall nowhere
PS 3 : I hope my english is not too horrible;) Let me know if so...
server.conf:
port 1194
proto tcp
dev tun
ca ca.crt
cert server_name.crt
key server_name.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.0.100.0 255.255.255.0"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
client.conf:
client
dev tun
proto tcp
remote 87.240.85.82 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client_name.crt
key client_name.key
ns-cert-type server
comp-lzo
verb 3