unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Fabian Braennstroem <f.braennstroem@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: Re: tramp with socksify
Date: Wed, 22 Aug 2007 22:33:05 +0000	[thread overview]
Message-ID: <fai5u1$ksu$1@tamarack.fernuni-hagen.de> (raw)

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	other threads:[~2007-08-22 22:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-22 22:33 Fabian Braennstroem [this message]
2007-08-23  6:57 ` tramp with socksify 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fai5u1$ksu$1@tamarack.fernuni-hagen.de' \
    --to=f.braennstroem@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).