help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp with socksify


From: Fabian Braennstroem
Subject: Re: tramp with socksify
Date: Wed, 22 Aug 2007 22:33:05 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.0

Hi Michael,

Michael Albinus schrieb am 08/03/2007 01:30 PM:
> Fabian Braennstroem <f.braennstroem@gmx.de> writes:
>
>> Hi Michael,
>
> Hi Fabian,
>
>>> Assume you will connect to test.socksify.com via telnet.
Your socksv5
>>> server is bypass.socksify.com:1080 (in fact I don't know
neither the
>>> host name nor the port number of their socksv5 server,
it is just a
>>> guess).
>>>
>>> You need to declare the socksv5 server as proxy:
>>>
>>> (add-to-list 'tramp-default-proxies-alist
>>>              (list "test.socksify.com" nil
"/socks:bypass.socksify.com#1080:"))
>>>
>>> Then you can connect to test.socksify.com simply via
"telnet:test.socksify.com".
>
> Should be "/telnet:test.socksify.com:", of course.
>
>> Maybe I forgot to say, that I use:
>>
>> socksify telnet -l USERNAME IPaddress portnumber
>>
>> to connect to the other machine on the terminal. I would
assume that
>> the IPaddress is the socksv server...
>
> Nope. That is the target you want to reach with your
telnet command,
> as far as I understand socksify. So you would open
> "/telnet:USERNAME@IPaddress#portnumber" in your case.
>
> The configuration of `tramp-default-proxies-alist' is
equivalent to
> what you need to configure in socks.conf for socksify.


I checked the socks.conf of my office machine, I have
something like:

route {
        from: 0.0.0.0/0   to: 10.239.253.0/24 via: IPsocks
port = 180
        protocol: tcp
        proxyprotocol: socks_v4 socks_v5
        method: none

So I would do

        (add-to-list 'tramp-default-proxies-alist
             '(list "MyMachineName" nil "/socks:IPsocks#1080:"))

but, first I do not know, if the syntax is correct and
second my Emacs version 22.1 gives me:

        Symbol's value as variable is void: tramp-default-proxies-alist

I assume that I am still doing something (a lot) wrong!?

>> I am not able to check right now, because I just started
my holidays
>> for the next two weeks ... than I will check out more.

> Have a nice time!
Thanks, I had a nice time :-)

Fabian


reply via email to

[Prev in Thread] Current Thread [Next in Thread]