Solved

Testing p2p VPN (IPSec)

Posted on 2011-03-02
3
600 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
ID: 35015997
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
ID: 35016141
yes... this is the tool

Thank you WMP
0
 

Author Closing Comment

by:Seni
ID: 35016147
Exactly what i was looking for.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VMware Tools Install On Linux Problem 3 84
centos commands 6 68
CentOS 7 Linux for HP DL380 G4 32Bits 7 47
PHP error function not working on AWS 10 72
Some of you may have heard that SonicWALL has finally released an app for iOS devices giving us long awaited connectivity for our iPhone's, iPod's, and iPad's. This guide is just a quick rundown on how to get up and running quickly using the app. …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

828 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