[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Testing p2p VPN (IPSec)

Posted on 2011-03-02
3
Medium Priority
?
609 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 2000 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

A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

Question has a verified solution.

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

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
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…
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…
Suggested Courses
Course of the Month18 days, 9 hours left to enroll

825 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