Re: Помогите пробросить соединение netcat-ом.
В Пнд, 07/02/2005 в 16:51 +0200, Victor Karpovich пишет:
> Всем привет!
> Схема проброса:
>
> PC -> Server -> Proxy -> inet
>
ssh Sever -NfL port:proxy:port
?
> Вся проблема заключается в том что Server живёт под solaris-ом
> и его netcat не понимает ключа "-e".
>
> Хочу понять как сделать так чтоб мой Firefox ходил на Proxy через
> проброс на Server-e и вообще можно ли это воплотить.
на perl-е написать?
>
> bash-2.03$ nc -h
> [v1.10]
> connect to somewhere: nc [-options] hostname port[s] [ports] ...
> listen for inbound: nc -l -p port [-options] [hostname] [port]
> options:
> -g gateway source-routing hop point[s], up to 8
> -G num source-routing pointer: 4, 8, 12, ...
> -h this cruft
> -i secs delay interval for lines sent, ports
> scanned
> -l listen mode, for inbound connects
> -n numeric-only IP addresses, no DNS
> -o file hex dump of traffic
> -p port local port number
> -r randomize local and remote ports
> -s addr local source address
> -u UDP mode
> -v verbose [use twice to be more verbose]
> -w secs timeout for connects and final net reads
> -z zero-I/O mode [used for scanning]
> port numbers can be individual or ranges: lo-hi [inclusive]
> bash-2.03$ pkginfo -l SMCnc
> PKGINST: SMCnc
> NAME: nc
> CATEGORY: application
> ARCH: sparc
> VERSION: 110
> BASEDIR: /usr/local
> VENDOR: Hobbit
> PSTAMP: Steve Christensen
> INSTDATE: Feb 04 2005 19:03
> EMAIL: steve@smc.vnet.net
> STATUS: completely installed
> FILES: 33 installed pathnames
> 5 directories
> 12 executables
> 272 blocks used (approx)
> bash-2.03$
>
> --
> This message was scanned for viruses and it's not infected.
> Kyivstar GSM.
>
>
Reply to: