iptables -t nat -I PREROUTING -p tcp -d 64.124.80.10 --dport 80 -j REDIRECT --to-ports 4081 iptables -t nat -I PREROUTING -p tcp -d 64.124.73.105 --dport 80 -j REDIRECT --to-ports 4081does it. For other routers, you'll need to do something else. It may not be possible with the consumer-grade appliances. Another possiblity would be to have the DNS server used by the Replay lie to it, giving your PC's IP address when queried for
rns.replaytv.net
; in this case, the proxy would need to run on port 80.
logs
directory; this can be disabled by setting $logs=0;
early in the script.
shellcmds
file in the current directory, its contents are returned in response to the request for shell commands, in place of the actual response (which is usually empty). This is an easy way to execute shell commands (other ways, or possible ways: PanelScriptExec?, PTVIO, modifying StartupScript?).
Some interesting commands to experiment with are
Attachment: | Action: | Size: | Date: | Who: | Comment: |
---|---|---|---|---|---|
proxy.pl | action | 3651 | 09 Mar 2002 - 16:09 | ToddLarason | proxy.pl |
replaytv_proxy.pl | action | 3880 | 08 Aug 2004 - 02:09 | ToddLarason | updated for new hostname |
Topic RnsProxy . { Edit | Attach | Ref-By | Printable | Diffs | r1.1 | More } |
Revision r1.1 - 11 Mar 2002 - 09:31 GMT - ToddLarason Parents: WebHome > RnsProtocol |
Copyright © 2001 by the contributing authors.
All material on this collaboration tool is the property of the contributing authors. Ideas, requests, problems regarding TWiki? Send feedback. |