Page 1 of 1

Openvpn problem with Wifi and routing

Posted: Fri Sep 16, 2011 1:16 pm
by cameleon
Hello I explain my problem with vpn:

1. I configured OpenVPN on windows. Everything working, on server green light on client computers green light.
But when I want to connect from home computer, through Wi-Fi it's not working. And even with client computer through Wi-Fi it is not working..
Certificates are created correctly.
I have a microtic router connected to server. I forwarded trafic on microtic. But I don't understand witch addresses I need to change in VPN config files. routes push routes or something else.?

My knowledge about routing are not very good. Can someone help to solve this problem ?



Client file:

client
dev tun
tls-client
proto tcp
remote xx.xx.xx.xx.xx
port 1194
resolv-retry infinite
user nobody
group nogroup
nobind
persist-key
persist-tun
ca keys/ca.crt
cert keys/client1.crt
key keys/client1.key
comp-lzo
verb 5
status openvpn-status.log


Server file:
local 192.168.0.2
port 1194
proto tcp
dev tun
tls-server
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
persist-key
persist-tun
status openvpn-status.log

dh keys/dh2048.pem
ca keys/ca.crt
cert keys/server.crt
key keys/server.key

keepalive 10 120
comp-lzo
verb 5