Ubuntu Servers :: OpenVPN Slow When Windows Is Used ?

May 16, 2010

I have many openvpn implementations. Every time I use windows shares over openvpn, the speed is no more than 500KB/s, in LAN environment. When I start a copy it reaches 200-300KB/s, when I start second one it reaches 500KB/s. No more is reached after more copies simultaneously. When I use linux to copy files - the first copy reaches 700KB/s, the second copy reaches 2.5MB/s (then the first grows also to 2.5MB/s), the third copy reaches also 2.5MB/s. All of these are copied simultaneously, otherwise when only one is started it sits on 700KB/s. Moreover when 2 of the 3 simultaneous copy processes end, the one left backs at 700KB/s again.

But this is linux. When I use Windows the transfer speed is no more than 400-500KB/s (LAN environment).
The OpenVPN server is always ubuntu (any version - I've tried 6.06, 8.04, 10.04).

Tried the OpenVPN client in ubuntu (and the windows machine behind the ubuntu), in windows (directly installed the client on windows) and it is all the same - no more than 500KB/s.

I can not use this because it is so slooow. When only one file is copied at a time it reaches only 200KB/s!!! Searched all the google results - no one have an answer, although there are many people with the same problem.

Now, I am sure that the problem is in Windows, because when I use linux as a server and as a client, the client copies fast. But when I use windows as machine behind the client it copies slow. I don't know... something in the tcp/ip settings in windows or something...

View 9 Replies


ADVERTISEMENT

Ubuntu Servers :: Lucid Slow Throughput To Windows Machines

Jun 16, 2010

Having finally got Samba shares and printer shares working on my Lucid Lynx server, I've noticed that the throughput from/to those shares is very slow to what I was used to when I had those shares on a W2K server.Having Googled this problem, I noted that there was a known issue with this in Karmic (believe Brian Wu was looking at it). However, I don't see any results in Google as to this being a problem in Lucid.

I know ipv6 can cause a problem in this regard but having issued the command:
lsmod | grep inet6
I know that ipv6 is indeed disabled on my Lucid server. Any further information on whether the error reported in Karmic still applies in Lucid, and can this be addressed in any way?

View 1 Replies View Related

Fedora Servers :: Print From Windows 7 To CUPS Printer Is Slow?

Mar 18, 2010

I have a FC12 machine installed with CUPS and a CUPS-PDF printer. Printer are shared and works fine with this URL:

[URL]

I have both client machine Windows XP and Windows 7. Both has setup the above printer and print fine without any problem. I can get the PDF file from windows test print. The only problem is I face is wait for around 20 seconds for printer dialog prompt out when I press print button in Windows 7. However, my windows XP never t have this problem. The printer dialog prompt out immediately when I press print button.

View 2 Replies View Related

Ubuntu Servers :: Openvpn Can't Get Permissions To Key

Mar 10, 2010

Trying to set up a VPN on my seedbox. I get an error when I try to start it.

I followed this guide: [URL]

Here is my server.conf:

Code:
#################################################
# Sample OpenVPN 2.0 config file for #
# multi-client server. #
# #

[Code].....

View 7 Replies View Related

Ubuntu Servers :: Setting Up Openvpn 10.4

Jul 21, 2010

I am following this guide on setting up an Openvpn but having a little issue with permission denied.

I am at this step 'Initialize the Public Key Infrastructure (PKI)'

Code:
cd /etc/openvpn/easy-rsa/2.0/
. /etc/openvpn/easy-rsa/2.0/vars
. /etc/openvpn/easy-rsa/2.0/clean-all

[Code]....

View 8 Replies View Related

Ubuntu Servers :: OpenVPN - Trying To Get Br0 Interfaces To Come Up?

Aug 5, 2010

I'm trying to get OpenVPN working but when I try to bring my br0 interface up it gives me an error.The below messages is from when I run

Code:

/etc/init.d/networking restart

Code:

root@server:/etc/openvpn# /etc/init.d/networking restart
* Reconfiguring network interfaces... ssh stop/waiting
ssh start/running, process 28263

[code]...

View 4 Replies View Related

Ubuntu Servers :: OpenVPN: Routing Versus Bridging

Apr 21, 2010

Just curious to see what everyone's opinion on using routing vs. bridging for openVPN. I'm installing openVPN on a linux box that I'm using as a router. What I was wondering was your opinions on which one of these two options to use.

View 2 Replies View Related

Ubuntu Servers :: Openvpn Routing / Cant Ping Vpn Client From LAN

May 2, 2010

I am playing with openvpn, and I got stuck.I am using ubuntu server for openvpn server, which has 2 physical NICs, one is directly on internet and other is LAN, where few pcs are connected on.

View 5 Replies View Related

Ubuntu Servers :: Connected To Openvpn Server But No Access

Jun 2, 2010

i have setup Open VPN on Ubuntu 9.04, generated the key and have it running successfully on the server end. I download the open vpn client for windows, copied over the key ca and cert file and connected to the erver. All went well and the open vpn gui said its connected to the server (green comp icon in taskbar) and it said in a ballon it assigned me an ip of 10.8.0.6 it all looks good... BUT i have no vpn access... The virtual adapted in windows is not able to pull an actual IP/gateway and such...

[Code]...

View 7 Replies View Related

Ubuntu Servers :: OpenVPN Local Devices Not Accessible

Nov 26, 2010

I've setup openVPN using bridging following these guides

[URL]

I'm running Ubuntu Server 10.10 My clients can connect and get their own IP within my ip range (192.168.1.x) They can ping each other and I've tested I can use the connection a lan game and a windows RDP connection. The problem is I cannot access any of the actual local network devices except the vpnServer. Is their something else that needs to be done to allow full network access?

View 5 Replies View Related

Ubuntu Servers :: Portable OpenVPN Without Admin Rights?

Feb 4, 2011

I have OpenVPN setup and running on my home server (Lucid Lynx). I move around alot and use Portable OpenVPN to connect to my home server. The problem is a lot of the computers I use I do not have admin rights to install the necessary routes to connect. So my question is this. Can OpenVPN be configured to use PPTP protocol? Because I have PortableVPN on my U3 flash drive and that VPN client does not need admin rights to run. If OpenVPN cannot do this, and from my understanding of its archetecture it cannot, but I must admit i am no authority on the matter. Can you suggest a workable solution, ie. install and setup this server software and use this portable client software.

View 1 Replies View Related

Ubuntu Servers :: OpenVPN - Script Up/down - Access Server

Feb 24, 2011

I have a few issues after setting up Openvpn. At work i just setup a new Ubuntu Server 10.4. The server itself is working Great. I ended up getting Openvpn installed and working to a point. I have searched online and done as much reading as i could find but i keep running into the problem of not understanding. So here is the problem.

The server is set on a static IP address. At first i tried to have the config file listen on a virtual ip address i setup up in /etc/network/interface but that ended up not working so i set it to its specific ip address. I kept running into the error about script security while trying to start Openvpn. I tried to add into the config file "script-security 2" that way the up.sh and down.sh scripts were allowed to be run. That didn't help and then i kept trying to run Openvpn manually running the command

Quote:

And i kept getting a message

Quote:

So what i did was just comment out the "up" and "down" scripts in the config file. This allowed me to actually get Openvpn started on the server. So once this was done i connected form a client machine and was given an ip address like i should. The only issue is that i was not able to actually comunicate with the server. I have a samba share on there to allow me to copy files back and forth but an not able to actually communicate with the server at all. I should note that this is a web server that i can view from the outside. (actually get to the webpage) but i tried to access the website and share via the Openvpn gateway. I also tried to access the website portion using the hostname with no luck.

By the way, prior to putting the server on its separate network i was able to access the webpage and the samba share using both the ip address and the hostname.

View 1 Replies View Related

Ubuntu Servers :: Minecraft Server - On Debian PPC - How To Use Openvpn

Mar 21, 2011

I recently loaded up my old powermac g3 with debian 6.0 PPC, and it seems to be running quite good. I control it using ssh from my windows 7 box. I installed default-jre, so I could run the minecraft server on there.

I've got two questions: I installed Openvpn, but I'm a bit confused on how to use it.. I want people to be able to connect to my vpn network over the internet, what configuration should I use, and could someone maybe link me a decent step by step tutorial?

secondly, when I tried to launch the server, it tried to generate a new map, but this is taking ages! on my desktop computer, it only took two seconds, but after over half an hour, it only got to 20% of "preparing spawn area" what could be wrong with this? Any reason why the java virtual machine would have performance issues? I have no clue.. I haven't tried copying over my smp map from my windows box yet, and launching that.. but I doubt performance will be any better. (my windows 7 machine is hosting at the moment for about 10 people)

View 1 Replies View Related

Ubuntu Servers :: Setup Bridging While Setting Up OpenVPN

Sep 1, 2011

I'm currently trying to set up OpenVPN on my Ubuntu Server, however I'm having trouble setting up bridging. I am following the tutorial for bridging that is located on the Wiki here: [URL] At the current time my /etc/network/interfaces looks like this (default from Ubuntu install):

[Code]...

View 9 Replies View Related

Ubuntu Servers :: Webserver On OpenVPN Client (visible To Internet)

Apr 19, 2010

I'm trying to run Web server (nginx, does not really matter) "behind" VPN tunnel (i.e., on VPN client - the idea is that Web server is available at VPN endpoint IP on VPN server). Stock Ubuntu 9.10 Server with stock openvpn 2.1. No network changes done, only ufw is enabled and IPv6 is switched off. I need this box to be available at main IP address, no default route for VPN tunnel.

Tunnel itself works nicely, no problems at all. Hand-made static routes work via tunnel just fine. Problem is in-going traffic - I can see that it at least comes via tunnel (via OpenVPN debug), but is blocked (or dropped) by firewall or kernel. As far as I know, specific VPN server does not filter anything and is used for running Web servers on other IPs. I think I might need to set up some sort of IP forwarding for tap0 device to localhost - but don't really know where to start.

Tried disabling firewall, making Web server listen on all IPs (from localhost to VPN tunnel) - no luck. The box is in another country and KVM will be time and money, so I really don't feel like experimenting. openvpn.conf (IPs are obscured, non-relevant options removed, based on recommended config for that server):

Code:

# Setup
dev tap
remote 1.2.3.4
port 5091

[code]....

View 5 Replies View Related

Ubuntu Servers :: OpenVPN Authentication Of Users In Active Directory?

Nov 8, 2010

Since yesterday I'm fighting with OpenVPN on Ubuntu 10.04TLS and I can not cope with the authorization of users from Windows 2008 AD server. It looks like this: Published 93.159.XX.XX IP address the router and all traffic directed to the internal LAN IP 10.0.1.210. Customers who will combine the different platforms are Mac OS, Linux, Windows XP, 7, Vista. The whole domain is for Windows 2008. Uploader authLDAP module, but I still can not connect, that is, not after entering the username and password from the W2K8 domain does not log

View 1 Replies View Related

Ubuntu Servers :: Setup An OpenVPN Server In Bridged Mode?

Jan 17, 2011

I am trying to setup an OpenVPN server in bridged mode (Ubuntu 10.04 Lts). The goal is for the clients to be able to reach all the servers behind Openvpn server's lan. I have followed the official OpenVPN guide for Ubuntu 10.04.

My network setup is:

Private lan: 10.90.90.0-255 255.255.255.0
Gateway: 10.90.90.1
Openvpn server ip: 10.90.90.8
Gateway public ip: 79.xxxxxxxxx

I have forward port 1195 to the Vpn server through my gateway firewall.Besides that no other firewall is running.I can connect and ping the server both from windows and ubuntu clients. The difference is that from windows I can reach the private lan but not from ubuntu clients.

View 2 Replies View Related

Ubuntu Servers :: Setting Up A Bridge For OpenVPN / Tunnel All The Traffic Through The VPS?

Feb 3, 2011

I have an Ubuntu VPS running 10.10 x86_64

This is what is in my /etc/network/interfaces right now.

Code:
auto eth0
iface eth0 inet static
address 67.202.x.x
gateway 67.202.x.1
netmask 255.255.255.0
auto lo
iface lo inet loopback
My server.conf
code....

I can get the VPN server running and everything connects fine from the client. I just don't know how to tunnel all the traffic through the VPS because it involves making the bridge which I'm having trouble with. What exactly am I supposed to put in /etc/network/interfaces?

View 1 Replies View Related

Ubuntu Networking :: Network-manager-openvpn And Static-key OpenVPN Connection In 9.10

Apr 5, 2010

i have some problems with configuring openvpn tunnel connection to my openvpn server. I'm using static-key tcp connection. Network manager always said to me that connection could not be established. Also, when i try to run openvpn from terminal, i got some strange permissions problem:

Code:

openvpn --config config.ovpn
Mon Apr 5 15:48:37 2010 OpenVPN 2.1_rc19 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Oct 13 2009
Mon Apr 5 15:48:37 2010 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon Apr 5 15:48:37 2010 /usr/sbin/openvpn-vulnkey -q moj.key

[code]....

View 1 Replies View Related

Fedora Servers :: Openvpn Service Is Dead

Apr 12, 2010

i just installed Fedora 12, clean without anything change in it. I opened services dialog, and the openvpn service have status:dead, however it shows that it is enabled.when i try to run it as:/sbin/service openvpn start.It write OK. However if check it:/sbin/service openvpn status it write that service not running. What is a point of a problem? I have opened openvpn in FireWall,however without success, may be some additionsl services for openvpn are not running?

View 1 Replies View Related

Fedora Servers :: Openvpn Not Able To Ping My Office Network

Jun 16, 2009

I had configured openvpn in my fedora 7. every thing seems ok. created all server,client certificates. and at client laptop i am using win xp. i installed vpn at client laptop n vpn is connected and client got the ip address of the range which i had defined in server.conf.

Now the problem is this that client vpn is connected and got the ip even than client not able to ping local network of my office.guys ur support n guidance needed.

View 1 Replies View Related

Server :: OpenVPN Client GUI For Windows 7 64Bit?

Feb 9, 2011

I have set up my Openvpn Server in Centos and it is working fine. Windows XP clients are able to connect the OpenVPN Server and access the network. This is a customized OpenVPN Gui Client. Now I need the customized OpenVPN Client for MS Windows 7Bit. I am using openvpn-2.1.4-install OpenVPN Client in MS Windows 7 64Bit. This is a executable and working fine in the said architecture. Now I want to compile this version. I am following the given steps at : [URL].. As per the direction i have copied the source from 2.1.4 and tried to compile, but compiled copy is giving the error " An error occurred Installing the TAP-Win32 Device Driver". I have tried this compilation by making every change and hack but all in vain.

I think that there are some certain steps which are missing and not documented any where. And sure that someone in forum will know the facts.

View 1 Replies View Related

Fedora Servers :: OpenVPN Setup On FC12 - Ethernet Ports?

Apr 12, 2010

I am trying to setup a VPN on my FC 12 box. Looks like getting openvpn to work behind NAT is as easy as just forwarding the ports. Do I need to forward any specific protocols (GRE, etc)? Also, can I do this with one Ethernet port (IE: RJ-45 jack), or do you recommend a second ethernet port? I could add in another PCI ethernet card if it makes it easier. Anyone know if a single ethernet jack will work or do I need two?

View 2 Replies View Related

CentOS 5 Networking :: OpenVPN Multiple Servers With Clients Access

Dec 27, 2010

what is the best way here? I have like 5 servers, and I want my clients to access each of them, so in case 1 server is down, they can access remaining servers. Also, it will work like user1 chooses the server number and is connecting to a central database, then reply is OK, and he can connect to the server number he wished.

View 1 Replies View Related

Fedora :: Openvpn Certificate \ Installed Openvpn And Config It For A Tunnel?

Aug 9, 2010

i have installed openvpn and config it for a tunnel. my server.conf and client,conf is as follow:

server.conf
port 1194
proto udp

[code]...

View 1 Replies View Related

Server :: OpenVPN Range Address / When Change Static IP To Dynamic IP In Config File OpenVPN Didn't Work?

Feb 13, 2010

I want to configure a VPN over the Internet.I installed the 'openvpn' package, generated the key file, transfered it by a secure way to the client, and setted up the configuration file.

So, in that configuration file I input the IP addresses of the tunneled interfaces. Both IPs are static in the tunnel.

Then, I've heard somewhere that I can assign a dynamic configuration IP for the client. I do this registering a range.

Well, when I tried to change static IP to dynamic IP (changing '192.168.0.2' to '192.168.0.0/24') in the configuration file, the OpenVPN didn't work.

Obviously I don't know what I'm doing, and I really, don't believe that simply changing the IP will make it work, but I tried.

I hope I explained my problem as well.

My configuration file:

# OpenVPN Server Configuration File
dev tun 0
ifconfig 192.168.0.1 192.168.0.2
cd /etc/openvpn
secret key_file

In client I execute the 'openvpn' without the '--daemon' parameter.Then I want that my client uses a IP in a range (192.168.0.0/24, for example), instead of a static IP (192.168.0.2).I also thought to use a DHCP server, but I'm not sure that will work.

View 6 Replies View Related

OpenSUSE Network :: Windows Remote Desktop Over OPENVPN?

Feb 27, 2010

I have OpenVPN 2.0.8 installed configured to Ethernet Bridge BR0. All windows outside machines can "see" and mount remote inside firewalled machines (i.e. \machine1 or [URL]). However I can't access to inside windows machines with windows Remote Desktop

View 3 Replies View Related

General :: Windows - How To Plug DNS Leaks When Running OpenVPN

Mar 22, 2011

I've set up OpenVPN on a Linux server. All my Internet traffic goes through the VPN from that server. I'm running Windows 7 at home. I noticed in Wireshark that DNS queries are not going through the encrypted tunnel, but instead directly to my ISP's designated DNS servers.

To overcome this, I tried pushing DNS for OpenVPN from the server to my computer, and also inputting the DNS address in my wireless adapter's configuration options. This appears to have secured the DNS leak, but is it the proper way to go about it? If I didn't push the DNS address from the server to the client and only set the DNS in the client's wireless adapter, then I couldn't visit any website. And if I just pushed the DNS but didn't set it in the adapter, then some DNS requests still leaked to the ISP's DNS servers.

View 1 Replies View Related

General :: Windows - Routing Everything Except A Certain IP Range Through An OpenVPN Tunnel?

Aug 31, 2011

I've been working with my OpenVPN server for a while, and I have a rather interesting problem. I need to redirect all client traffic through the tunnel except for a couple IP's that need to be resolvable locally. The way I'm doing this is pushing these routes from the server:

Server 'PUSH' directives

push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"

I'm seeing that translating into these Windows routes:

Windows routes occurring

Wed Aug 31 15:14:35 2011 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route 10.8.0.1,topology net30,ping 5,ping-restart 30,ifconfig 10.8.0.6 10.8.0.5'
Wed Aug 31 15:14:35 2011 ROUTE default_gateway=192.168.1.254

Wed Aug 31 15:14:40 2011 C:WINDOWSsystem32
oute.exe ADD 199.[*.*.*] MASK 255.255.255.255 192.168.1.254
Wed Aug 31 15:14:40 2011 C:WINDOWSsystem32
oute.exe ADD 0.0.0.0 MASK 128.0.0.0 10.8.0.5
Wed Aug 31 15:14:40 2011 C:WINDOWSsystem32
oute.exe ADD 128.0.0.0 MASK 128.0.0.0 10.8.0.5
Wed Aug 31 15:14:40 2011 C:WINDOWSsystem32
oute.exe ADD 10.8.0.1 MASK 255.255.255.255 10.8.0.5

I've hidden my server's IP beginning with 199 for security purposes.What I've gathered.I'm assuming that 0.0.0.0 is a kind of code for "everything," so I'm not sure how I could get this to work, but the general idea is that I need a specific IP range (172.16.*) to be resolvable on the LOCAL NETWORK (of the client) meaning it does not go through the VPN tunnel and the client can connect to 172.16.* locally.Is this possible? Routes can be executed through the command line, server "push" or client config options. Any way to get this to work while still routing other traffic through would do, really.

Additional Info: I have the server running on Debian 64-bit and the client running on Windows 7 (although Vista needs to work as well).Client/server configs can be provided if needed.

View 2 Replies View Related

Fedora Servers :: OpenVPN - Socket Bind Failed On Local Address

May 4, 2011

I finally got the certs to configure:
openvpn --config server.conf
Tue May 3 17:26:27 2011 OpenVPN 2.1.1 i686-redhat-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Jan 5 2010
Tue May 3 17:26:27 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue May 3 17:26:27 2011 Diffie-Hellman initialized with 1024 bit key
Tue May 3 17:26:27 2011 TLS-Auth MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue May 3 17:26:27 2011 ROUTE default_gateway=192.168.122.1
Tue May 3 17:26:27 2011 TUN/TAP device tun0 opened
Tue May 3 17:26:27 2011 TUN/TAP TX queue length set to 100
Tue May 3 17:26:27 2011 /sbin/ip link set dev tun0 up mtu 1500
Tue May 3 17:26:27 2011 /sbin/ip addr add dev tun0 local 10.8.0.1 peer 10.8.0.2
Tue May 3 17:26:27 2011 /sbin/ip route add 10.8.0.0/24 via 10.8.0.2
Tue May 3 17:26:27 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue May 3 17:26:27 2011 Socket Buffers: R=[114688->131072] S=[114688->131072]
Tue May 3 17:26:27 2011 UDPv4 link local (bound): [undef]:1194
Tue May 3 17:26:27 2011 UDPv4 link remote: [undef]
Tue May 3 17:26:27 2011 MULTI: multi_init called, r=256 v=256
Tue May 3 17:26:27 2011 IFCONFIG POOL: base=10.8.0.4 size=62
Tue May 3 17:26:27 2011 IFCONFIG POOL LIST
Tue May 3 17:26:27 2011 Initialization Sequence Completed

But openvpn still won't start; where to go from here.
Tue May 3 17:54:25 2011 TCP/UDP: Socket bind failed on local address 192.168.122.3:1194: Address already in use
Tue May 3 17:54:25 2011 Exiting

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved