Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-02-2013, 07:52 PM   #1
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 342

Rep: Reputation: Disabled
cannot access windows machine while openvpn server is running

i am trying to setup openvpn as a server on a Windows Vista machine. When I run the openvpn software, either in the GUI or on the command line, everything looks normal, i get no error messages and at the end it says "Initialization sequence completed." However, from that moment, no other machine on the server's LAN can access the server. Doing a packet dump on the server is useless; all it shows when I try to ping the server is
"19:51:24.320235 IP > ICMP echo request, id 1, seq 76, length 40
19:51:29.327349 IP > ICMP echo request, id 1, seq 77, length 40
19:51:34.334794 IP > ICMP echo request, id 1, seq 78, length 40
19:51:39.494304 IP > ICMP echo request, id 1, seq 79, length 40
19:51:44.334135 IP > ICMP echo request, id 1, seq 80, length 40
19:51:49.326959 IP > ICMP echo request, id 1, seq 81, length 40
19:51:54.333553 IP > ICMP echo request, id 1, seq 82, length 40
19:51:59.325308 IP > ICMP echo request, id 1, seq 83, length 40
19:52:04.332796 IP > ICMP echo request, id 1, seq 84, length 40
19:52:09.324915 IP > ICMP echo request, id 1, seq 85, length 40
19:52:14.332070 IP > ICMP echo request, id 1, seq 86, length 40
19:52:19.324460 IP > ICMP echo request, id 1, seq 87, length 40
19:52:24.331326 IP > ICMP echo request, id 1, seq 88, length 40
19:52:29.323145 IP > ICMP echo request, id 1, seq 89, length 40
19:52:34.330864 IP > ICMP echo request, id 1, seq 90, length 40
where is the server and 13 is the machine i am pinging from. Even more straznge, I can ping FROM the server to that address just fine. What the frick?

-The Windows firewall service is stopped and disable.
-Killing the openvpn server restores connectivity to the server immediately
-There is of course nothing in the openvpn log.

Server config:
port 1195
proto udp
dev tun
dev-node OPENVPN
ca "C:\\vpn\\ca.crt"
cert "C:\\vpn\\pLAN9-VPN.crt"
key "C:\\vpn\\pLAN9-VPN.key"
dh "C:\\vpn\\dh1024.pem"
tls-auth "C:\\vpn\\ta.key" 0
ifconfig-pool-persist ipp.txt
keepalive 10 120
status openvpn-status.log
verb 5

Last edited by psycroptic; 02-02-2013 at 07:53 PM.
Old 02-05-2013, 06:35 PM   #2
Registered: Nov 2004
Location: Ontario, CA
Distribution: Gentoo, Arch, (RedHat4.x-9.x, FedoraCore 1.x-4.x, Debian Potato-Sarge, LFS 6.0, etc.)
Posts: 250

Rep: Reputation: 52
Quick question:

I see that you have the following in the config for openvpn:
Seeing that the LAN is keyed to "172.16.x.x" where is the server getting 10.x.x.x from?

HTH. Let us know.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to access a windows machine GUI from a linux machine using ssh obarhleam Linux - Newbie 6 07-11-2012 07:46 AM
How does OpenVPN Linux server issues IP and netmask to OpenVPN clients on Windows XP pssompura Linux - Networking 0 12-24-2009 02:42 AM
[SOLVED] how to share files in linux server & access them from windows xp machine m.anand80 Linux - Newbie 5 08-20-2009 05:12 AM
Can't access samba server from windows machine hellblade Linux - Networking 2 09-07-2004 11:15 AM
Remote GUI access to Fedora Server from Windows machine astitva Linux - Software 1 04-04-2004 02:12 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration