So we have configured and enabled the TCPIP licenses and got everything up and running. https://astr0baby.wordpress.com/2017/03/30/installing-openvms-v8-4-2-on-alphavm-pt-1/
Now lets get the TCPIP configured on OpenVMS.
Configuration is menu driven and fairly simple. It is initiated by the following command
First we need to configure the network device (in our case interface WE1) Here is an example of my config that I use
Before we do the configuration, make sure you add the desired DNS hostname into the hosts database (do not edit the SYS$COMMON:[SYSEXE]TCPIP$HOST.DAT directly, use the CONFIG.COM command to do so like this
$TCPIP tcpip> SET HOST googledns /address=184.108.40.206
Once you have the DNS resolver in the Hosts database you can use the @TCPIP$CONFIG.COM ; here is my config
We need to use a good terminal emulator to edit files on OpenVMS so I have used Putty in this example
Make sure to set the following command to auto-configure the terminal
SET TERMINAL /INQUIRE
To allow TCP/IP Services software to start automatically when the system starts up, and to stop automatically when the system shuts down, edit the SYS$COMMON:[SYSMGR]SYSTARTUP_VMS.COM file to remove the exclamation point (!) from the beginning of the following line:
$!$ @SYS$STARTUP:TCPIP$STARTUP.COM ---So it looks like this--- $ @SYS$STARTUP:TCPIP$STARTUP.COM
Save text by CTRL+Z (:exit)
Discard changes by CTR+Y (:exit)
Next – OpenVMS metasploit tests .. this might take some time :) but well worth a try.