Hi Thomas,
Thank you for your help.
here is the config file in one computerclient = yes[ncat]accept = 12035connect = ***.***.***.***:1230and on this computer, I run the command: cat test.file | netcat ***.***.***.***: 12035. to connect the remote server with IP( ***.***.***.***) on port 12035. I figure on stunnel will accept the port 12035 and connect to the remote server on port 1230 or I thought.
and no another remote server, I run the command netcat -l -p 1230 which means listen to the port 1230.
after I run the test, it seems on remote server didn't receive anything on the port 1230.the log file of stunnel dooesn't have any record of this communication. the last line of the log file is still "configuration successfully"
and the version of stunnel I use is 4.42
any suggests that may be wrong?
Dewen Kong
On Fri, Mar 16, 2012 at 10:14 PM, Thomas Eifert <kxkvi@wi.rr.com> wrote:
Dewen;
I think I misread your post. Please forgive me, as I'm unfamiliar with the Netcat application.
If you could provide some additional detail, that might be helpful.
Regards;
Thomas
On 3/16/2012 9:38 PM, Thomas Eifert wrote:Dewen;
I don't know anything about Netcat, so I'm taking a stab in the dark here, but it looks as if
you're pointing Netcat at port 1230, while your config file indicates that Stunnel would be
listening on port 12035. Try redirecting Netcat to the listening port.
If you need to post again, please indicate the version of Stunnel you are using, and what
platform your are running it on.
Regards;
Thomas
On 3/16/2012 5:35 PM, Dewen Kong wrote:Hi all,I am a new guy to stunnel.here is the issue I meet, i install my stunnel in the lab. and trying to run the test with netcat.Here is the config file i test:client side:......output = stunnel.logclient = yes[ncat]accept = 12035connect = ***.***.***.***:1230then I run "stunnel test.conf "and the the log file shows configuration successfullythen I run the command "cat test.file | netcat ***.***.***.*** 12035 on the client sideand run netcat -l -p 1230 > outputnothing happens.And I check the log file. there is no record about the netcat. I don't know what happened.
--
Dewen Kong
_______________________________________________ stunnel-users mailing list stunnel-users@stunnel.org http://stunnel.mirt.net/mailman/listinfo/stunnel-users
-- Attention: This message and all attachments are private and may contain information that is confidential and privileged. If you received this message in error, please notify the sender by reply email and delete the message immediately.
_______________________________________________ stunnel-users mailing list stunnel-users@stunnel.org http://stunnel.mirt.net/mailman/listinfo/stunnel-users
-- Attention: This message and all attachments are private and may contain information that is confidential and privileged. If you received this message in error, please notify the sender by reply email and delete the message immediately.
_______________________________________________
stunnel-users mailing list
stunnel-users@stunnel.org
http://stunnel.mirt.net/mailman/listinfo/stunnel-users
--
Dewen Kong
-- Attention: This message and all attachments are private and may contain information that is confidential and privileged. If you received this message in error, please notify the sender by reply email and delete the message immediately.