Testing p2p VPN (IPSec)

hi experts,

I'm looking for a web based or console based tool to test a ipsec site tunnel. The end hosts are both Linux servers.

I once used a Linux console based based tool where one hosts listens and the other hosts sends a test file. Unfortunately I have forgotten the command and procedure.

thanks in advance
SeniAsked:
Who is Participating?
 
woolmilkporcConnect With a Mentor Commented:
Hi,

the most versatile tool for such purposes is most probably netcat:
http://manpages.unixforum.co.uk/man-pages/linux/suse-linux-10.1/1/netcat-man-page.html

Just issue on the "listening" side:

nc -l -p nnnnn

with nnnnn being an arbitrary port number,

and on the sending side try someting like

cat /some/file | nc receiving_host nnnnn

with receiving host being the host name of the listening host and nnnnn being the port number of the listening port.

wmp

0
 
SeniAuthor Commented:
yes... this is the tool

Thank you WMP
0
 
SeniAuthor Commented:
Exactly what i was looking for.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.