Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Clients are sucessfully connected to OpenVPN server and they are able to access lan share drives, but they are not access internet

Below is my OpenVPN server conf file

mode server
local 10.2.2.121
port 1194
;proto tcp
proto udp
dev tap
;dev tun
;dev-node MyTap
ca ca.crt
cert server.crt
key server.key  # This file should be kept secret
dh dh1024.pem
;server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
server-bridge 10.2.2.11 255.255.0.0 10.2.2.8 10.2.2.100
;server-bridge
;push "route 10.2.2.11 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 def1 bypass-dhcp"
;push "dhcp-option DNS 4.2.2.2"
;push "dhcp-option DNS 208.67.220.220"
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 nogroup
persist-key
persist-tun
status openvpn-status.log
;log         openvpn.log
;log-append  openvpn.log
verb 3
;mute 20
share|improve this question
    
Can you please check whether your clients are able to resolve the site addresses and also try to simply ping some outside IP and see if ping is working. –  GeekRide Dec 22 '12 at 9:09
    
Please show the routing tables of a client. –  BatchyX Dec 22 '12 at 10:03
    
Destination Gateway Genmask Flags Metric Ref Use Iface 202.88.237.155 10.2.2.13 255.255.255.255 UGH 0 0 0 eth0 10.2.2.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 10.2.0.0 0.0.0.0 255.255.0.0 U 0 0 0 tap0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0 0.0.0.0 10.2.2.11 0.0.0.0 UG 0 0 0 tap0 –  user145133 Dec 24 '12 at 5:52
    
Here 10.2.2.13 is my Laptop default gateway and 10.2.2.11 is VPN server default gateway –  user145133 Dec 24 '12 at 5:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.