O'Reilly logo

Kali Linux Cookbook - Second Edition by Bob Perciaccante, Corey P. Schultz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

To tunnel communications through pingtunnel, we will follow this process:

  1. Validate the IP addresses of your Kali VM and your Ubuntu VM. For my purposes, my Kali box in 10.0.2.5 and Ubuntu is 10.0.2.6.
  2. First, we will start in the Ubuntu VM where we are currently logged in and we want to start by elevating ourselves to root by entering the following commands in the console:
sudo su <enter>
  1. We will now install ptunnel on the Ubuntu VM with the following command:
apt install ptunnel <enter>
Ubuntu console
  1. Let's now start the tunnel on the Ubuntu machine:
ptunnel <enter>
  1. Switch to the Kali machine, open a terminal window ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required