So you've got it working now! Great. Now you can use MSN @ work
I will review the WIKI page sometime today. Can you post a zipped file here (using 'attachment') with a compiled binary and the required libraries/modules. Thanks.
Hi all,
I've compiled the nylon socks server in order to run it on wl500g.
Here is the wiki page : http://wiki.wl500g.info/index.php/PackageNylon
Jean-Fabrice
BTW : as English is not my mother tongue, maybe this wiki page needs gramatical corrections. Sorry.
Last edited by Jean-Fabrice; 27-08-2004 at 11:59.
So you've got it working now! Great. Now you can use MSN @ work
I will review the WIKI page sometime today. Can you post a zipped file here (using 'attachment') with a compiled binary and the required libraries/modules. Thanks.
Why do you link it statically?Originally Posted by Jean-Fabrice
Hummm... because I'm a newbie and when I try to compile it dynamically and run it, it asks for libresolv... so I take the short way... static compilationOriginally Posted by Oleg
any help to compile it dynamically would be appreciate, don't know if i'tsd possible
BTW, here is the daemon
Jean-Fabrice
Remove -lnsl and -lresolv it is not needed with uclibc.Originally Posted by Jean-Fabrice
Fast and dirty patch:
Code:--- configure.orig 2004-08-27 16:20:31.857947520 +0400 +++ configure 2004-08-27 16:20:59.540431233 +0400 @@ -2281,7 +2281,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lnsl $LIBS" +#LIBS="-lnsl $LIBS" cat >conftest.$ac_ext <<_ACEOF #line 2286 "configure" #include "confdefs.h" @@ -2339,7 +2339,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lresolv $LIBS" +#LIBS="-lresolv $LIBS" cat >conftest.$ac_ext <<_ACEOF #line 2344 "configure" #include "confdefs.h"
Works ! Thanx Oleg
No way other than dirty patch against configure to tweak it at ./configure time ?
jean-Fabrice
The simplest way is just adding libnsl.so.0 & libresolv.so.0 to /extra/lib/ and recompiling firmware.
ok. I'va updated the Wiki page.
Jean-fabrice
Hi Jean-fabrice,
I don't have the platform to compile the code and I'm using the standard firmware 1.8.2.0. So, as suggested by Styno, could you provide a compiled version of nylon with libraries so I could run it from USB storage?
whao
Statically linked version can be found here: http://wl500g.info/showpost.php?p=4572&postcount=4Originally Posted by whao
Thank you for pointing out. How about adding it to the Download section in the WIKI page?
BTW, I've got it running but nylon show the following error message on the system log the first time I connecting to the socks5 port:
Code:Dec 1 17:08:39 nylon[213]: Listening on my.router:1080 Dec 1 17:09:03 nylon[215]: bind(): Cannot assign requested address Dec 1 17:09:03 nylon[215]: Negotiation failed
Well, its a WIKI system, you can do it yourselfOriginally Posted by whao
Hi, I'm trying to set up nylon to run on my asus (fw 1.9.2.7-3b) which is located behind a ADSL modem from my ISP.
So downloaded and unpacked the tar on my USB stick. I made a nylon.conf file:
On my WinXP client I run FreeCap to forward HTTP to my router port 1080.Code:#Settings [General] # number of simultaneous connections allowed No-Simultaneous-Conn=1 # log connections and other information to syslog? 1: on, 0: off Log=1 # be verbose on the console? 1: on, 0: off Verbose=1 # store pid file PIDfile=/tmp/harddisk/nylon/nylon.pid # server settings [Server] # interface to listen to connections Binding-Interface=br0 # interface to bind outgoing connections to Connecting-Interface=eth1 # listening port to bind to Port=1080 # allowed is processed first, then deny # allowable connect ips/ranges Allow-IP=192.168.100.0/24 # denied connect ips/ranges #Deny-IP=0.0.0.0/0 -------- And run with: ./nylon -c /usr/local/etc/nylon.conf -f -v
The client is on the LAN and the idea is (for testing) to forward from LAN (br0) to WAN (eth1). When I got this up and running I will setup a ssh tunnel.
This results:
I then added 10.0.0.0/24 to the allow list and got:Code:nylon: Client 10.0.0.2 rejected nylon: (192.168.100.225:3688 <=> my.router:socks) Terminated connection
So what is happening here? Is there something wrong in my config? Or is it my ADSL modem thats messing it all up? Do I have to open up something in iptables?Code:nylon: Listening on my.router:socks nylon: connect(): Invalid argument nylon: Negotiation failed nylon: (192.168.100.225:3778 <=> my.router:socks) Terminated connection
Any help would be appreciated!
Sjur
Maybe this is not the right place but...
In fact, to connect from work, I need to go through a first proxy (and firewall that only lets port 80 available).
I would like to know if it is possible to configure MSN or something like that to go through 2 proxies (the first at my work and the other one on the Wl500g@home) !
Thanks for your advices !
Jean-François
I think you should read this thread again. The threadstarter used the Nylon socks server for just that!