[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp with socksify
From: |
Michael Albinus |
Subject: |
Re: tramp with socksify |
Date: |
Thu, 23 Aug 2007 08:57:17 +0200 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux) |
Fabian Braennstroem <f.braennstroem@gmx.de> writes:
> Hi Michael,
Hi Fabian,
>>>> 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:"))
>
> 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
Is this a typo?
> 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
First, you must load Tramp in order to declare its variables:
(require 'tramp)
Usually, it is done by the autoloader when you access a remote host,
but you want to customize Tramp before.
Then, you have quoted the list, which is wrong. You must write
(add-to-list 'tramp-default-proxies-alist
(list "MyMachineName" nil "/socks:IPsocks#1080:"))
> Fabian
Best regards, Michael.
- Re: tramp with socksify, Fabian Braennstroem, 2007/08/22
- Re: tramp with socksify,
Michael Albinus <=
- Message not available