[ds6] Using NC6 as a circuit level proxy between IPv6 and IPv4

Chris Leishman chris at leishman.org
Fri May 9 17:31:13 CEST 2003


On Friday, May 9, 2003, at 04:21 PM, Eric Vyncke wrote:

> I was trying to run NC6 to act as a layer 4 proxy between IPv6 
> browsers and an IPv4 web server.
>
> nc6 -v -v --listen --port=8080 --address=3ffe:8100:105:1::11 
> alpha.hec.be 80
>
> Which sounds reasonable to me but I must admit that it is a long time 
> since I've not played with netcat...
>
> But, it does not work:
>
> nc6: listening on 3ffe:8100:105:1::11 8080 ...
> nc6: refused connect to 3ffe:8100:105:1::11 8080 from cisco.hec.be 
> (3ffe:8100:105:1::1) 22594 [22594]
>
> Any idea ? Or is my usage of NC6 out of the purpose of NC6 ?
>
> Thanks in advance for any piece of information

Hi,

Netcat (and nc6 at the moment) only supports listening for connections 
XOR establishing outgoing connections.  You can't package them together.

Fortunately this is pretty easy to work around by getting nc6 to create 
another copy of itself via the --exec function:

nc6 -v -v --listen --port=8080 --address=local_addr --exec 'nc6 target 
80'

Hope that helps.

Regards,
Chris



More information about the ds6 mailing list