PDA

View Full Version : OpenVPN Problems


bher20
15th February 2008, 17:16
I am not able to access the internet thru the connection or ping/connect to anyother computers on my network except for the server and I am using only one nic on the server. I am new to setting this up and dont know what I need to add to the configuration file here are my two files

Sever:
port 1194
proto tcp
dev tun
ca keys/ca.crt
cert keys/server.crt
key keys/server.key
dh keys/dh1024.pem
server 192.168.2.0 255.255.255.0
client-config-dir ccd

push "dhcp-option DNS 192.168.2.1"
push "dhcp-option DNS 192.168.1.1"

ifconfig-pool-persist ipp.txt
push "redirect-gateway"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status server-tcp.log
verb 3


and here is my client:

client
dev tun
proto tcp


remote 24.*.*.* 1194

resolv-retry infinite
nobind
persist-key
persist-tun


ca Home/ca.crt
cert Home/client1.crt
key Home/client1.key

ns-cert-type server

push "dhcp-option DNS 192.168.2.1"
push "dhcp-option DNS 192.168.1.1"

comp-lzo

verb 3


Any help would be great, Thanks.

falko
16th February 2008, 17:52
Any errors in your logs?

bher20
16th February 2008, 17:59
No there isnt