LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   cannot access windows machine while openvpn server is running (https://www.linuxquestions.org/questions/linux-networking-3/cannot-access-windows-machine-while-openvpn-server-is-running-4175448405/)

psycroptic 02-02-2013 07:52 PM

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


ShadowCat8 02-05-2013 06:35 PM

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.


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