Unable ping server

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
savvaslim
OpenVpn Newbie
Posts: 1
Joined: Fri Oct 16, 2009 2:17 pm

Unable ping server

Post by savvaslim » Fri Oct 16, 2009 2:32 pm

Hi I am a newbie regarding open vpn and been searching lots of forums but now its time to ask for help
I have linksys router with a static ip
Its port forwards calls of this ip to a windows xp where I installed the openvpn server. The ip in the lan is 192.168.1.99
In the same lan I have a linux where an application is running through the lan web.
My aim is to connect to the xp using openvpn and through the browser access the application like i am in the same lan through the browser
http://pcname:port/ the ip of the unix machine is 192.168.1.100
gateway is 192.168.1.1

my client conf is

*****************

client
dev tap
#dev-node MyTAP

proto udp
remote 81.*.*.* <port>
route 192.168.1.0 255.255.255.255 vpn_gateway 3 #This it the IP address scheme and subnet of your normal network your server is on. Your router would usually be 192.168.1.1
route 192.168.1.100 255.255.255.255
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\client1.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\client.key" t
ns-cert-type server
cipher BF-CBC # Blowfish (default) encrytion
comp-lzo
verb 1


****************************
my server conf is

*****************************

local 192.168.1.99
port <port>
proto udp
mssfix 1400
push "dhcp-option DNS 81.*.*.*"
push "dhcp-option DNS 192.168.1.100"
dev tap
#dev-node MyTAP
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\server.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\server.key"
dh "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\dh1024.pem"
server 192.168.3.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.1.0 255.255.255.0"
push "route 192.168.1.100 255.255.255.0"
push "redirect-gateway def1"
keepalive 10 120
cipher BF-CBC # Blowfish (default) encryption
comp-lzo
max-clients 100 # Assign the maximum number of clients here
persist-key
persist-tun
status openvpn-status.log
verb 1 # This sets how detailed the log file will be. 0 causes problems and higher numbers can give you more detail for troubleshooting

*******************************8

I am really sorry to bother you. I manage to connect but I cannot ping neither the server nor anything on the network, can you help me please?

User avatar
ecrist
Forum Team
Posts: 237
Joined: Wed Nov 26, 2008 10:33 pm
Location: Northern Minnesota, USA
Contact:

Re: Unable ping server

Post by ecrist » Mon Oct 19, 2009 3:11 pm

First, I would suggest changing the LAN address subnet. 192.168.1/0.x is too common. You're going to run into conflicts. Do this, then see if you still have problems.
OpenVPN Community Administrator
IRC: #openvpn, #openvpn-devel
Co-Author of Mastering OpenVPN
Author of Troubleshooting OpenVPN

Douglas
Forum Team
Posts: 285
Joined: Wed Aug 27, 2008 2:41 am

Re: Unable ping server

Post by Douglas » Tue Oct 20, 2009 9:20 pm

ecrist wrote:First, I would suggest changing the LAN address subnet. 192.168.1/0.x is too common. You're going to run into conflicts. Do this, then see if you still have problems.
Using something obscure, i.e. 10.23.15.0/24.

Post Reply