[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Communication Problem


  • Subject: [Openvpn-users] Communication Problem
  • From: "Jake Solid" <richardsolid@xxxxxxxxx>
  • Date: Mon, 23 Jul 2007 10:23:06 -0400

I'm in the process of evaluating OpenVPN and I have encounter an obstacle. The client computer (10.0.0.113) is able to to connect to the server and initilizes the connection without any problems. The computer 10.0.0.113 can get replies from 10.0.0.115 and also from 192.168.0.5 but is not but 10.0.0.113 is not able to get reply from other computers at network 192.168.0.0.

Do  I need to enable a route or something in the openvpn config file in order to have 10.0.0.113 completely communicate with the network at 192.168.0.0 ??


This is my current specs:


CentOS 4.4
openvpn-2.0.9-1.el4.rf
tun-1.1-8

My ifconfig output:

eth0      Link encap:Ethernet  HWaddr 00:0B:DB:0C:B9:13
          inet addr:10.0.0.115  Bcast: 10.0.0.255  Mask:255.255.255.0
    
eth1      Link encap:Ethernet  HWaddr 00:80:AD:79:A6:E6
          inet addr:192.168.0.5  Bcast: 192.168.0.255  Mask:255.255.255.0  

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
    
tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:172.16.0.1  P-t-P:172.16.0.2  Mask: 255.255.255.255
  

This is my OPenVPN server config:

;dev tap0
dev tun

;dev-node MyTap

ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/server.crt
key /etc/openvpn/keys/server.key  # This file should be kept secret

dh /etc/openvpn/keys/dh1024.pem

server 172.16.0.0 255.255.255.0

ifconfig-pool-persist ipp.txt

;server-bridge 192.168.8.4 255.255.255.0 192.168.8.128 192.168.8.254

;push "route 192.168.10.0 255.255.255.0"
;push "route 192.168.20.0 255.255.255.0"

;client-config-dir ccd
;route 192.168.40.128 255.255.255.248

;client-config-dir ccd
;route 10.9.0.0 255.255.255.252

;learn-address ./script

;push "redirect-gateway"

;push "dhcp-option DNS 10.8.0.1"
;push "dhcp-option WINS 10.8.0.1"


;push "route 192.168.0.0  255.255.255.0"

client-to-client

;duplicate-cn

keepalive 10 120

;tls-auth ta.key 0 # This file is secret

;cipher BF-CBC        # Blowfish (default)
cipher AES-128-CBC   # AES
;cipher DES-EDE3-CBC  # Triple-DES

comp-lzo

max-clients 10

user nobody
group nobody

persist-key
persist-tun

status openvpn-status.log

;log         openvpn.log
;log-append  openvpn.log

verb 3

;mute 20


My openvpn client configuration:

client

;dev tap
dev tun

;dev-node MyTap

;proto tcp
proto udp

remote 10.0.0.115 1194
;remote my-server-2 1194

;remote-random

resolv-retry infinite

nobind

;user nobody
;group nobody

persist-key
persist-tun

;http-proxy-retry # retry on connection failures
;http-proxy [proxy server] [proxy port #]

;mute-replay-warnings

ca ca.crt
cert rcrane.crt
key rcrane.key

;ns-cert-type server

;tls-auth ta.key 1

;cipher x

comp-lzo

verb 3

;mute 20