Ubuntu Networking :: Browsing Via SSH Tunnel Very Slow
Jan 31, 2010
Browsing via SSH Tunnel very slow When browsing in firefox at work via proxy through ssh on my 8.04 server the speed is near dial up. I have compression enabled, tried restarting ssh, and rebooting the server but it remains so sluggish. At home the connection is quick but the speed is lost in translation once I ssh in. I also tried adding "UseDNS no" to the ssh config but that did not help with the slow login or any other speed issues.
my computer is very slow to view regular web pages, and generally fails to load them. It seems to be a problem specifically with webpages - I can work over SSH, use email, transfer files over FTP connections, with no noticeable problems, but any regular website (including this one) can take an age to load. This happens regardless of the browser I use (at least, it happens on Firefox, Opera, and Chromium), and regardless of wired or wireless connection (though admittedly I've not tried using a wired connection very much). As far as I can tell, it can also happen on any website. It is specific to linux - my computer is dual-boot ubuntu 10.04/Windows XP, and there is no networking problem when I use Windows.
I'm using wlan and I'm behind a NAT firewall. Downloading with BitTorrent can reach speeds of 1,5MB/s, but browsing is incredibly slow. Chromium/Firefox seems to hang forever on "connecting.." or "waiting for". Sometimes pressing the reload button will speed it up. I have two Ubuntu boxes and they are the same way.
I don't get it, if downloading is so fast, how can browsing be so slow. Yes I have disabled ipv6 in grub and in Firefox, don't know how to do it in Chromium. Have 64-bit Ubuntu. Cnet wlan card using rt61pci module.
I don't know if others are experiencing this but browsing is extremely slow in firefox after "upgrading" to ubuntu 11.04. I have not tried other browsers. Even checking for updates fails several times.
I had to re-boot to windows to post this thread and now it's working fine. It's been 3 days since upgrading and I've observed many times that there's no such problem in windows while I have to wait like 4-5 minutes and refresh many times to open a single page. Some sites like google are quicker though. I use firefox 4.0 both in ubuntu and windows. I didn't have this problem in 10.10 and it took me about 5 hrs. to download 1 GB upgrade packages.
I'm running Mac OS on a home network that includes a Win 7 machine and a Ubuntu box (Ubuntu 11.04 (GNU/Linux 2.6.38-8-generic i686)). Connecting to, and browsing the shared drives I have on the Ubuntu box (which acts as my server) is extremely slow from the Mac, it seems that the icons especially take ages to load. I've found a few suggestions on the net that I've implemented to no avail i.e. socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 Are there any other settings I should play with, or is there an alternative to samba that will work faster on a mixed network and be compatible with everything?
This something I have only experienced since the final install.I'm using a fresh firefox profile with NO extensions currently. The only change I have made is to disable ipv6 to see if it helped with the following problem. Browsing web pages is stupidly slow and much slower than I am used to.Downloading in firefox is normal and running at speeds I would expect.For example, I have downloaded several distro .iso's over the past two days and they have been consistently downloading at 1MB/s +This is only affecting browsing web pages and it's affecting all of them, even the basic google search page takes at least twice as long as normal.
web browsing is going SUPER slow in my samsung N150 netbook with dual boot(win7/ubuntu10.04). Windows counterpart working flawlessly.
Into the details:
The problem is, i go into a website and it seems to renderize by chunks, ie i enter my favorite PC hardware forum and it is like this when loading: Processors...1sec....Vid cards....1sec...Memory...and on and on until the bottom of the page is reached. The normal behavior is: Click...forum loaded ,as on windows.
By default i use my wireless conection, but also tried wired one to no avail. Also tried it from the live cd and i have the same problem. Some sitess like google, gmail and ..... load normally(instantly). I've tried disabling ipv6 as adviced in several parts and had no results. I used the default firefox 3.6.6, firefox 3.6.7 and chrome with the same results.
This is the info for my wireless adapter just in case:
I have looked at other threads on this subject and am still confused. Several weeks ago I had issues with browsing taking forever to resolve a page. When I changed my router to Open DNS settings that seemed to fix the slows and when I replaced the Open DNS IP's with the Google IP's, things were even quicker. Now I am back to the slows but there is no resolution latency it's just a delay when clicking a link, nothing happens and then the page eventually loads but you see the ads write on the page after the text loads. It's just not snappy. My nsswitch.config looks like this:
# /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality.
On my computer, I'm using 11.3, KDE 4.4.4 and Firefox 3.6.8. Firefox is so s...l...o...w..... It's slow loading and it's slow browsing. Konqueror takes 1, maybe 2 seconds to load, and another second to load the home page. Firefox takes a good 30 seconds to load. The only message I get when loading from a terminal is about not using a shared database. I don't hear the disk churning like it would with a fragmented disk.
I can't believe everyone is having this response, the hue and cry would be enormous! Anything to try? Should I try loading another browser? I tried Opera on 11.2 and didn't really like it, had problems with a lot of content. What about Sea Monkey (Gad, I HATE words with monkey in them!) Konqueror won't show a lot of videos and I have problems using the back and forward buttons. I'll wait for fixes but in the meantime.
I'm not sure why, but over the last couple of days when I browse the web with my Centos 5.3 machine running firefox 3.0.5, it takes a very long time to load web pages. Loading the app itself is pretty quick, and I have not issues with system resources (it's an HP Proliant ML115 server, with dual opteron processors & 3Gb RAM). Looking at CPU & disk useage there's nothing out of the ordinary:
I have in my pc (ubuntu 10.10 32 bit) a folder with about 10.000 files. It is a samba shared folder and so far I could browse fast and easily those files in another old ( Pentium4 1,5Ghz) PC with WinXP. I installed ubuntu 10.10 but the browsing now is toooooooo slow , although the old Pc's performance is considerably faster than before (when I had WinXP). Also, although the old PC's speed is satisfatory now, would it become even faster if I installed an older ubuntu distro?
I have a 2.6 P4 with HT and 1GB of PC3200. i'm using an RaLink 2760 based wifi card. i compiled the driver from source, don't think it matters because i get this problem on ethernet as well. video is RV280 (radeon 9200). i have 3D accelleration supposively and get 570fps steady with glxgears. i'm in F11 updated as far as yum will take me.
When browsing websites, usually forums but even things like ....., the computer acts like it's being bogged down by something. i scroll down a page and it takes a few seconds for the screen to catch up. i understand i'm not running the most up to date hardware but i don't think this machine should have any problems with web browsing.
I have a connection an its slow in both ff and chrome...however i can ping sites and get the same response time as my xp machine which runs fast. usually around the 40ms mark with no lost packets.
Also when i do installs eg. of chrome etc, i was getting up to 500kB/s download. I just cant seem to replicate this browsing, its loading up at a dial up pace. The last time I had an issue like this was setting up my mums work laptop on our home network where the work had specific proxy settings, so we turn the off and it works fine.
I do not know how to tinker this
INFO:::: broadcom 4306 chip have tried ndiswrapper and bcmxx fwcutter
I've recently installed openSUSE 11.4 (64 bit) on my system and am experiencing severe performance issues with websites using https (any site using https). Page loads over https take anywhere between 30 seconds to 2 minutes. It's the same issue posted here Secure sites load slow or not at all -- there was no confirmed solution.
- My router/hardware configuration has not changed in a long time and I've run Ubuntu, Arch Linux, and Windows XP on the same machine within the last year and have not had any issues. - I also have a laptop running Arch Linux (kernel 2.6.38) and this problem does not occur using Firefox 4 or Chrome. To add to the madness this problem occurs while running Firefox 4 inside a Windows 7 guest via virtual box, but NOT while running IE 8 inside the same guest. - This issue occurs using Firefox 4, Chromium, Opera, Konqueror, and Arora. - I've disabled ipv6 in Firefox via about:config. - I've disabled ipv6 in yast and have attempted to use both the "ifup" and "networkmanager" options. - I am not using a proxy server. - I've attempted the fix posted in the Ubuntu forums for a similar problem [ubuntu] [SOLVED] Banking Site is very slow.
I'm running Ubuntu 10.10 on my Precario Laptop I'm connected via WiFi to an Edimax BR6424-N and i cannot login to Msn and browsing is extremly slow as soon as i connect to any other network but myin everythings fine, Ive searched the web alot and found that i should down the mtu in linux so i did, from auto to 1350 and still i keep getting disconencted from msn and briwsing is just extremly slow, Im In the same room as the router so distance is not the issue...
I have installed Wubi (Ubuntu 10.10) recently. It takes more time to boot than Windows. But my main concern is that my browsing speed is much slower compared to that on Windows 7. How can this be resolved?
I'm running 11.2 on a Dell Latitude D630. Everything has been great other than issues with Suspend and hibernate not working correctly. However after about a month of use browsing the web has really slowed down bad. It doesn't seem to matter if it's in Firefox or Chrome either. I am using a wireless connection that is getting the signal at 85-95%. Even though I still tried using a direct cat-5 connection to the router and it was still slow as well. I have the fastest broadband connection my cable offers and my windows boxes on the same network are still flying.
I Need to make an SSL tunnel over SSH, I need to create exactly an SSL tunnel,I have a situation like that, I heared it is possible,but don't know how to create an SSL tunnel over SSH i am having putty installed on my pc,So i think i can use putty for this purpose, But i don't know how to do this.
I wanted to create an ssh tunnel but I do not know what commands to run .. my environment is as follows: LAN Internet Office LAN Home PC <-> Linux firewall <-> http server..
According to the above what I figure is that I have an internal web server at my job and I need to create a tunnel to access the web server from my PC in my home. I know I can do a port forwarding with the firewall but I don't want to publish this web server to Internet. My home PC and both servers (firewall and web) are ubuntu. My idea is create a ssh tunnel that forward port 8080 on localhost in my home pc, to the firewall (obviously with public ip), and the the firewall forward to port 80 on office web server at my job. Note that the firewall accepts ssh connections to port 22, same for web server...
so i start it with ssh -f -R 4096:localhost:22 me@server.com and it comes up and someone can log in at the remote end. how do i close the tunnel from the initiating end ? netstat doesnt seem to identify my end of the tunnel , unless im looking for the wrong thing!
�nani@jebe-kevu-ovaj-PC:~$ ssh -ND 999 nani@nani.homelinux.com Privileged ports can only be forwarded by root. nani@jebe-kevu-ovaj-PC:~$ sudo ssh -ND 999 nani@nani.homelinux.com
[code]....
which password is he looking for exacly ? user nani is main user at ubuntu after he asked me for password i typed my nani user password and i got in , after how you can see he ask me for onather password i tried the nani�s password but nothing is heppening ?
when my laptop connects to internet. I have placed the script in /etc/network/if-up.d/.The scripts is being run when it should, but the SSH-tunnel isn't created.I can however run the script manually, as root, and then the tunnel is created.
I have a server running Ubuntu Server 10.04 that is a VirtualBox/Samba/SSH server. I have port forwarding set up for ports 22 and 3389 (SSH and RDP) and I want to access the Samba share without opening any other ports. I can connect to it from my internal network, but I want to be able to access it from school. My best guess would be to tunnel the Samba port through SSH, but I don't know how. I will be connecting to it from Ubuntu 10.10 Desktop.
In the office I use firefox for my work items and chrome for my personal items. I currently use proxy switchy with chrome to browse through an ssh tunnel to my home server. The chrome/switchy part works fine.In order to do this I have to open a command window every morning and execute:ssh -p8181 -D 9999 user@myhomeserver.comThen the command window asks my password and I am up and running. (my ssh server at home is running on port 8181)Is there a way to script this so I don't have to open the command window and enter my password every day (and also to prevent a visible command window from being open and visible)
I set up a routed OpenVPN server. Everything works fine. But I'd like to route the DNS queries thru the tunnel too. So I added:
[Code]....
Can't find server name for address 10.8.0.1: Non-existent domain Even thou I have a DNS server set up correctly (on the same server as the VPN) with recursion. I verified that by sending queries form external source, which worked fine. I suspect that the Bind server doesn't listen to the tun0-interface only eth0, but the Bind manual says it should listen to all interfaces by default. The server log shows:
Code: named[9639]: client 10.8.0.10#3807: RFC 1918 response from Internet for 1.0.8.10.in-addr.arpa
How do I get these DNS queries to resolve thru the tunnel?
I use two Ubuntu machines, one at home and one at work. In order to connect to the machine at work from home I need to connect through a "tunnel server" that controls all the traffic to the machines at work.I am able to connect with ssh to the tunnel server and from the tunnel server ssh my own machine at work. My question is how do I retrieve files form my work machine to the home machine. How do I sync folders between the machines using rsync when the "tunnel server" is in between?
I don't understand the concept of ssh port forwarding and tunneling.I was going to set up a remote desktop (vnc) connection to my grandmother's laptop that we'll give her soon so if something goes wrong i can fix it from here (she lives on the other side of the world). However, i've read using vnc plain over the internet isn't secure, and that i can secure it by running it through an ssh tunnel.That's what i've understood so far. However, from there on i get confused.
I'd have to run both an ssh server AND a vnc server on her laptop? So what i'd have to do is ssh into her computer, and then while logged on on her computer, somehow open a vnc connection back from the remote server to the local computer? Then i'd go back to my local computer and open a port where the vnc connection is waiting? From the concept, it would seem like i should be able to tunnel all the regular network traffic from the local computer to the remote one through ssh?
I am currently running 64-bit Windows 7 from my home laptop and I would like to establish an SSH reverse tunnel to my laptop from my work Ubuntu 64-bit machine. I have been reading many "tutorials" that have led me nowhere and I feel as though I'm chasing my tail now. I have done the following on my Ubuntu machine:
Code: ssh -R 19999:localhost:22 laptop_ip and on my Windows machine, using putty, did the following: Code: Host Name: host_IP
[Code]...
I am able to access my Ubuntu machine when on my work network but there I have been unsuccessful when it comes to trying to remotely access it. I have tried everything that I can think of (though I am a novice). If there is any help/suggestions/ideas that could help, please let me know and don't hesitate to ask for more info!
p.s. I would also like to enable x-forwarding, but for now I would like to have remote access to the Ubuntu machine.
I'm trying to set up a secure web tunnel at home I have an Ubuntu box (desktop), a Mac, and a Windows 7 box. I use all of them for different reasons. I want to be able to route traffic from my browser through my Ubuntu box. I have done this before with proxy servers abroad, but I want to do it using ssh and my box at home so I don't have to pay for a service i.e (Secure Tunnel)etc.
I followed the instructions at http://bit.ly/hAnp6u. However, using my Win7 box, after I set the browser part per the instructions, I get no connection from the browser.