LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

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

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
Code:
"19:51:24.320235 IP 172.16.16.13 > 172.16.16.6: ICMP echo request, id 1, seq 76, length 40
19:51:29.327349 IP 172.16.16.13 > 172.16.16.6: ICMP echo request, id 1, seq 77, length 40
19:51:34.334794 IP 172.16.16.13 > 172.16.16.6: ICMP echo request, id 1, seq 78, length 40
19:51:39.494304 IP 172.16.16.13 > 172.16.16.6: ICMP echo request, id 1, seq 79, length 40
19:51:44.334135 IP 172.16.16.13 > 172.16.16.6: ICMP echo request, id 1, seq 80, length 40
19:51:49.326959 IP 172.16.16.13 > 172.16.16.6: ICMP echo request, id 1, seq 81, length 40
19:51:54.333553 IP 172.16.16.13 > 172.16.16.6: ICMP echo request, id 1, seq 82, length 40
19:51:59.325308 IP 172.16.16.13 > 172.16.16.6: ICMP echo request, id 1, seq 83, length 40
19:52:04.332796 IP 172.16.16.13 > 172.16.16.6: ICMP echo request, id 1, seq 84, length 40
19:52:09.324915 IP 172.16.16.13 > 172.16.16.6: ICMP echo request, id 1, seq 85, length 40
19:52:14.332070 IP 172.16.16.13 > 172.16.16.6: ICMP echo request, id 1, seq 86, length 40
19:52:19.324460 IP 172.16.16.13 > 172.16.16.6: ICMP echo request, id 1, seq 87, length 40
19:52:24.331326 IP 172.16.16.13 > 172.16.16.6: ICMP echo request, id 1, seq 88, length 40
19:52:29.323145 IP 172.16.16.13 > 172.16.16.6: ICMP echo request, id 1, seq 89, length 40
19:52:34.330864 IP 172.16.16.13 > 172.16.16.6: ICMP echo request, id 1, seq 90, length 40
where 172.16.16.6 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:
Code:
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
server 10.15.20.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
persist-key
persist-tun
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
ShadowCat8
Member
 
Registered: Nov 2004
Location: Arcadia, CA
Distribution: Gentoo, Sabayon, (RedHat4.x-9.x, FedoraCore 1.x-4.x, Debian Potato-Sarge, LFS 6.0, etc.)
Posts: 209

Rep: Reputation: 43
Quick question:

I see that you have the following in the config for openvpn:
Code:
server 10.15.20.0 255.255.255.0
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.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 11:29 AM.

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