Vitor Ferreira

Vitor Ferreira

  • NA
  • 20
  • 12k

OpenVPN

Nov 7 2013 8:11 PM
good

Someone can help me in creating a VPN using OpenVPN.
Created configuration files and made a copy of the certificates to customers, just that I can not get connectivity between the server and the client. If not using a router works fine, but if you use does not work, already created routes from one router to another but nothing.

Client:

client
nobind
dev tun
redirect-gateway def1

key client100.key
cert client100.crt
ca ca.crt

remote 192.168.229.59 1194 udp

Server:

server 10.8.0.0 255.255.255.0
verb 3
duplicate-cn

key server.key
ca ca.crt
cert server.crt
dh dh1024.pem

keepalive 10 60
persist-key
persist-tun

proto udp
port 1194
dev tun