Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th June 2009, 11:41
pawan_lal pawan_lal is offline
Junior Member
 
Join Date: Mar 2009
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default not able to ping office lan from vpn

hi every1,
friend i am not able to get success in getting access of lan from outside through vpn. i am telling u about my office network, its a very small network .

office network - 192.168.1.0/24

linux machine on - 192.168.1.107/24
which vpn confi

no firewall in office.

using tcp 1194.


now i had configured vpn on my linux box i.e 192.168.1.107
and at clients side OS is XP n client is easily able to connect to vpn n receive the ip.
but not able to ping office lan.

below is the server.conf and client.conf

Server.conf
########################################
port 1194
proto tcp
dev tun
daemon

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 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.1.0 255.255.255.0"

keepalive 10 120
user nobody
group nogroup
persist-key
persist-tun
status /var/log/openvpn-status.log
log /var/log/openvpn.log
log-append /var/log/openvpn.log

########################################

client.conf

client
dev tun
proto tcp

remote <your WAN IP> 1194

resolv-retry infinite
nobind
persist-key
persist-tun

ca ca.crt
cert client.crt
key client.key

ns-cert-type server

verb 3
########################################

ill be really thankfull for ur support n guidance
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN Server Problem pinguingilo Installation/Configuration 3 15th January 2014 23:00
Multiple Segment Router Setup - Not forwarding Packets jkane1517 Server Operation 4 3rd August 2010 19:48
power failure caused ISPConfig to start up with a weird problem FOBioPatel Installation/Configuration 10 23rd August 2008 01:58
Advice on how to setup Lintrack As A LAN Gateway And An OpenVPN Bridge eddiequek HOWTO-Related Questions 0 12th July 2007 10:38
DNS setup for extension office sudarshan Server Operation 7 10th April 2006 18:12


All times are GMT +2. The time now is 14:36.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.