Connecting Metasploitable to Kali Linux
In this blog:
- Pre-text.
- Setting up NAT Network.
- Connected.
- What's next?
Pre-text
Setting up a NAT Network
To terminate this connection, type ➡️ sudo killall openvpn.
![]() |
Killing Openvpn connections. |
Now to connect the metasploitable machine to the kali Linux machine we must create a NAT Network.
We want to make sure that the machine is
not able to communicate with connections outside the host.
Go to file ➡️ tools ➡️ Network Manager
![]() |
Open Network Manager. |
Go to NAT Networks and create a new one. I named mine NatNetwork10.
Change the IP address to 192.168.10.0/24 so DHCP can select IP addresses from this range.
Mine
was NatNetwork10. Do the same with the kali Linux machine too.
Changing adapter to NAT Network on Metasploitable. Changing adapter to NAT Network on Kali Linux.
Connected
Typing ifconfig in Metasploitable gives us the previous ip address of 10.0.2.4.![]() |
Running dhclient. |
Searching metasploitable’s ip address in Kali Linux verifies our
connection status.
![]() |
Connection status success. |
Comments
Post a Comment