unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: tramp with socksify
@ 2007-08-22 22:33 Fabian Braennstroem
  2007-08-23  6:57 ` Michael Albinus
       [not found] ` <mailman.5172.1187852253.32220.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 11+ messages in thread
From: Fabian Braennstroem @ 2007-08-22 22:33 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* tramp with socksify
@ 2007-08-02  6:05 Fabian Braennstroem
  2007-08-02  5:31 ` Michael Albinus
       [not found] ` <mailman.4224.1186032713.32220.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 11+ messages in thread
From: Fabian Braennstroem @ 2007-08-02  6:05 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I wonder how I can use tramp together with socksify and telnet;
i.e. right I connect with:
/usr/bin/socksify telnet -l username ip-number port

Does anyone know, if and how I can use tramp to open my remote files?
Would be nice!

Regards!
Fabian

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-08-24 21:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-22 22:33 tramp with socksify Fabian Braennstroem
2007-08-23  6:57 ` Michael Albinus
     [not found] ` <mailman.5172.1187852253.32220.help-gnu-emacs@gnu.org>
2007-08-23 21:47   ` Fabian Braennstroem
2007-08-24  4:13     ` Michael Albinus
     [not found]     ` <mailman.5236.1187928802.32220.help-gnu-emacs@gnu.org>
2007-08-24 21:31       ` Fabian Braennstroem
  -- strict thread matches above, loose matches on Subject: below --
2007-08-02  6:05 Fabian Braennstroem
2007-08-02  5:31 ` Michael Albinus
     [not found] ` <mailman.4224.1186032713.32220.help-gnu-emacs@gnu.org>
2007-08-02 22:22   ` Fabian Braennstroem
2007-08-02 22:22     ` Michael Albinus
     [not found]     ` <mailman.4278.1186093331.32220.help-gnu-emacs@gnu.org>
2007-08-03 12:41       ` Fabian Braennstroem
2007-08-03 13:30         ` Michael Albinus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).