Windows client and Tomcat?

This forum is for admins who are looking to build or expand their OpenVPN setup.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
User avatar
bjorntj
OpenVpn Newbie
Posts: 14
Joined: Fri Jan 21, 2011 2:01 pm

Windows client and Tomcat?

Post by bjorntj » Fri Jan 21, 2011 11:47 pm

I have a strange problem.. I have set up an OpenVPN server at work, running Linux.. When using a Linux client to connect to the server, everything work as expected... But when using a Windows client (tried from both Windows XP and Windows 7), we have a problem accessing some Tomcat servers running in our work LAN. When trying to access the webapp, the browser displays the html header title but then just keeps trying to download the rest without succeeding. Accessing standard html webpages, like Apache, is no problem. I also tried using mod_proxy through the Apache server but that didn't help either...

I really can't understand what's the difference accessing our internal LAN using the Windows client compared to the Linux client (we are also using the same client.conf file)... Does anyone have any suggestions?

Is this a known problem or do you perhaps need more information?


Regards,

BTJ
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Windows client and Tomcat?

Post by maikcat » Mon Jan 24, 2011 8:14 am

hi there,

can you please post more info on your setup..

client - server confs, os versions....

cheers,

michael
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

User avatar
bjorntj
OpenVpn Newbie
Posts: 14
Joined: Fri Jan 21, 2011 2:01 pm

Re: Windows client and Tomcat?

Post by bjorntj » Mon Jan 24, 2011 8:29 am

Yes, I can... :)

Here is the server config..:

Code: Select all

port 1194
proto udp
dev tun
ca keys/ca.crt
cert keys/server.crt
key keys/server.key
dh keys/dh1024.pem
server 10.66.77.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 10.4.34.0 255.255.255.0"
push "route 10.4.125.0 255.255.255.0"
push "route 10.4.16.0 255.255.255.0"
push "route 10.4.129.0 255.255.255.0"
push "route 10.4.18.0 255.255.255.0"
push "route 172.29.34.0 255.255.255.0"
push "route 172.29.6.0 255.255.255.0"
push "route 172.29.27.0 255.255.255.0"
push "route 172.29.28.0 255.255.255.0"
push "route 172.29.17.0 255.255.255.0"
push "route 172.18.3.0 255.255.255.0"
push "route 10.4.40.0 255.255.255.0"
push "route 10.3.112.0 255.255.255.0"
push "route 10.4.75.0 255.255.255.0"
push "route 10.4.92.0 255.255.255.0"
push "route 172.29.41.0 255.255.255.0"
push "route 192.168.25.0 255.255.255.0"
client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
The client config looks like this..:

Code: Select all

client
dev tun
proto udp
remote xxx.xxx.xxx.xxx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client-pah.crt
key client-pah.key
ns-cert-type server
comp-lzo
verb 3

The OpenVPN server runs on CentOS 5.5 and running OpenVPN 2.1.4..
The client is OpenVPN 2.1.4 and I have tried running it on Windows XP and Windows 7, with the same result..


BTJ
Last edited by bjorntj on Mon Jan 24, 2011 8:49 pm, edited 2 times in total.
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Windows client and Tomcat?

Post by maikcat » Mon Jan 24, 2011 8:50 am

i know is sounds silly...

can you setup your server on another os? (ubuntu,windows..)

michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

User avatar
bjorntj
OpenVpn Newbie
Posts: 14
Joined: Fri Jan 21, 2011 2:01 pm

Re: Windows client and Tomcat?

Post by bjorntj » Mon Jan 24, 2011 8:53 am

Well, I can... But do you say that running OpenVPN on CentOS does not work?

BTJ
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Windows client and Tomcat?

Post by maikcat » Mon Jan 24, 2011 9:00 am

i didnt say that..

but once i had a very strange problem ,installing centos 5.4 on a hp blade system,
clients connected ok ,copy file from vpn server itself worked perfect,but when i opened
rdp to windows server it was veeeery slow...
changed to ubuntu and...worked perfectly..same config.. :)

maybe was nic driver issue...

cheers,
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

User avatar
bjorntj
OpenVpn Newbie
Posts: 14
Joined: Fri Jan 21, 2011 2:01 pm

Re: Windows client and Tomcat?

Post by bjorntj » Mon Jan 24, 2011 9:31 am

Oki... Installing Ubuntu as we speak.... :)
Btw, the "server" we are using is a guest under VMware ESXi, does that has any implications?


BTJ
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Windows client and Tomcat?

Post by maikcat » Mon Jan 24, 2011 9:51 am

i dont use esxi so i cant express an opinion about it..
mostly i use kvm both on ubuntu & centos (x64) without problems..

but i have no expirience on type 1 hypervisors (as esx or xen)

cheers,

michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

User avatar
bjorntj
OpenVpn Newbie
Posts: 14
Joined: Fri Jan 21, 2011 2:01 pm

Re: Windows client and Tomcat?

Post by bjorntj » Mon Jan 24, 2011 8:40 pm

Oki, just tried the Ubuntu install but got the same result....

But thx for the suggestion... :)

Anymore suggestions from anyone?



BTJ
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Windows client and Tomcat?

Post by maikcat » Tue Jan 25, 2011 7:25 am

if you use verb 5 ,you anything strange in the openvpn server logs?
inside tomcat logs anything unusual..?

ps: surely its not a browser problem on windows pcs?

cheers,

michael
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

User avatar
bjorntj
OpenVpn Newbie
Posts: 14
Joined: Fri Jan 21, 2011 2:01 pm

Re: Windows client and Tomcat?

Post by bjorntj » Tue Jan 25, 2011 7:29 am

Nope, tried that... Nothing special in the logs, not for OpenVPN or Tomcat..

And I have tried bot IE and Firefox under Windows, with the same result...


BTJ
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Windows client and Tomcat?

Post by maikcat » Tue Jan 25, 2011 7:44 am

so..if you connect those win pcs directly on your lan,tomcat works fine?

and if you try through openvpn tomcat fails?

brrr..... :shock:
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

User avatar
bjorntj
OpenVpn Newbie
Posts: 14
Joined: Fri Jan 21, 2011 2:01 pm

Re: Windows client and Tomcat?

Post by bjorntj » Tue Jan 25, 2011 7:47 am

Yes, that's correct... :?

BTJ
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"

Post Reply