From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabian Braennstroem Newsgroups: gmane.emacs.help Subject: Re: tramp with socksify Date: Wed, 22 Aug 2007 22:33:05 +0000 Organization: FernUni Hagen Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1187818874 31280 80.91.229.12 (22 Aug 2007 21:41:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2007 21:41:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 22 23:41:11 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1INxwp-0001Lo-O0 for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Aug 2007 23:41:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INxwp-0006Ua-2Z for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Aug 2007 17:41:07 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsserver.news.garr.it!kanaga.switch.ch!switch.ch!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-koe1.dfn.de!tamarack.fernuni-hagen.de!news.fernuni-hagen.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 76 Original-NNTP-Posting-Host: pd9e4b348.dip0.t-ipconnect.de Original-X-Trace: tamarack.fernuni-hagen.de 1187814145 21406 217.228.179.72 (22 Aug 2007 20:22:25 GMT) Original-X-Complaints-To: newsadmin@fernuni-hagen.de Original-NNTP-Posting-Date: Wed, 22 Aug 2007 20:22:25 +0000 (UTC) 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 Original-Xref: shelby.stanford.edu gnu.emacs.help:151192 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46766 Archived-At: Hi Michael, Michael Albinus schrieb am 08/03/2007 01:30 PM: > Fabian Braennstroem 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