Results 1 to 2 of 2

Thread: Linksys WRT54GL Add Proxy Function?

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    Feb 2010
    Posts
    13

    Default Linksys WRT54GL Add Proxy Function?

    Hey!

    Since Linksys WRT54GL Routers are Linux based and SSH / Telnet AND Remote Connection to the device is possible, I asked myself if it wouldn't be possible to add some proxy function to this device, so that it proceeds every request from outside.

    So the main idea is to write a script that proceeds every request, copy it to the router, make it executable and execute it once so that it is present until the router is restarted (or better copy it into the routers autostart?)

    Unfortunately, I have no idea to start, but I would be pleased about every input you have

  2. #2
    Very good friend of the forum Gitsnik's Avatar
    Join Date
    Jan 2010
    Location
    The Crystal Wind
    Posts
    851

    Default

    Rather than reinvent the wheel, make use of the built in SSH functions to tunnel your requests (if you need the redirection)
    Code:
    ssh -NL 4444:192.168.1.23:6666 root@192.168.96.93
    If you need a better look, I've always been a big fan of the "Pro OpenSSH" book over the other documentation.

    If you can't figure out how to script commands through ssh, you are doing something very wrong

    That "code" was tested on a DD-WRT WRT54GL
    Still not underestimating the power...

    There is no such thing as bad information - There is truth in the data, so you sift it all, even the crap stuff.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •