Solved

Testing p2p VPN (IPSec)

Posted on 2011-03-02
3
594 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:Seni
  • 2
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
Comment Utility
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
 

Author Comment

by:Seni
Comment Utility
yes... this is the tool

Thank you WMP
0
 

Author Closing Comment

by:Seni
Comment Utility
Exactly what i was looking for.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now