From: Horacius ReX on
Hi,

at work I can use firefox and connect to the local intranet and do
things. At home I can not do it, because it recognises that my IP does
not belong to work's LAN. But as I need to work from home I usually
do:

1) ssh -X work
2) firefox &

this works but is really slow :(

Is there any other method so I use firefox at home but for each
information request it sends it to "work" and there this information
is in some way processed by firefox "at work" and then the resulting
info is sent to me "at home" so I can work with firefox "at home" as
if I were "at work" ?

Thanks in advance
From: Bill Marcum on
On 2008-06-24, Horacius ReX <horacius.rex(a)gmail.com> wrote:
>
>
> Hi,
>
> at work I can use firefox and connect to the local intranet and do
> things. At home I can not do it, because it recognises that my IP does
> not belong to work's LAN. But as I need to work from home I usually
> do:
>
> 1) ssh -X work
> 2) firefox &
>
> this works but is really slow :(
>
> Is there any other method so I use firefox at home but for each
> information request it sends it to "work" and there this information
> is in some way processed by firefox "at work" and then the resulting
> info is sent to me "at home" so I can work with firefox "at home" as
> if I were "at work" ?
>
> Thanks in advance

Use ssh tunneling so firefox runs on your home machine but the work
server sees requests coming from your work machine. man ssh.
From: LEE Sau Dan on
>>>>> "Bill" == Bill Marcum <marcumbill(a)bellsouth.net> writes:

Bill> On 2008-06-24, Horacius ReX <horacius.rex(a)gmail.com> wrote:
>>
>> at work I can use firefox and connect to the local intranet and
>> do things. At home I can not do it, because it recognises that
>> my IP does not belong to work's LAN. But as I need to work from
>> home I usually do:
>>
>> 1) ssh -X work
>> 2) firefox &

Bill> Use ssh tunneling so firefox runs on your home machine but
Bill> the work server sees requests coming from your work
Bill> machine. man ssh.

Haven't you read his post? He is doing that ALREADY.


>> this works but is really slow :(

I had the same problem (when using Emacs instead of FireFox), but had
it solved using 'dxpc' (http://www.vigor.nu/dxpc/). I installed it
using "aptitude install dxpc". My distro is Debian.

BTW, you should try the "-C" option of ssh first. Try also tuning the
ComopressionLevel option. If these can get the responsiveness that
you desire, then there is no need to bother with dxpc.




--
Lee Sau Dan §õ¦u´° ~{@nJX6X~}

E-mail: danlee(a)informatik.uni-freiburg.de
Home page: http://www.informatik.uni-freiburg.de/~danlee
From: Gary Johnson on
LEE Sau Dan <danlee(a)informatik.uni-freiburg.de> wrote:
>>>>>> "Bill" == Bill Marcum <marcumbill(a)bellsouth.net> writes:
>
> Bill> On 2008-06-24, Horacius ReX <horacius.rex(a)gmail.com> wrote:
> >>
> >> at work I can use firefox and connect to the local intranet and
> >> do things. At home I can not do it, because it recognises that
> >> my IP does not belong to work's LAN. But as I need to work from
> >> home I usually do:
> >>
> >> 1) ssh -X work
> >> 2) firefox &
>
> Bill> Use ssh tunneling so firefox runs on your home machine but
> Bill> the work server sees requests coming from your work
> Bill> machine. man ssh.
>
> Haven't you read his post? He is doing that ALREADY.

No, he's not. He is running Firefox on his work machine and throwing
the display to his home machine. He is tunneling the X11 protocol. He
wants to tunnel HTTP.

I've done that using this recipe. I don't remember where I saw it,
but Googling for "ssh firefox" will probably find it.

1. On the home machine:

ssh -fND 12321 work

where "12321" is a port number chosen arbitrarily.

2. On the home machine, start Firefox.

3. In Firefox,
a) From the menu bar, select
Edit -> Preferences -> Advanced -> Network -> Settings...
b) Select "Manual proxy configuration".
c) Clear the "HTTP Proxy:" line.
d) Set "SOCKS Host:" to "localhost" and the "Port:" to "12321"
or whatever port number was chosen above.
e) Click OK, Close.

Now HTTP requests from Firefox will be tunneled to work.

--
Gary Johnson