Solved

Testing p2p VPN (IPSec)

Posted on 2011-03-02
3
595 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
I've written this article to illustrate how we can implement a Dynamic Multipoint VPN (DMVPN) with both hub and spokes having a dynamically assigned non-broadcast multiple-access (NBMA) network IP (public IP). Here is the basic setup of DMVPN Pha…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

911 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

24 Experts available now in Live!

Get 1:1 Help Now