{"id":576,"date":"2019-03-23T13:56:03","date_gmt":"2019-03-23T18:56:03","guid":{"rendered":"http:\/\/zewwy.ca\/?p=576"},"modified":"2019-03-23T13:56:03","modified_gmt":"2019-03-23T18:56:03","slug":"setting-up-a-palo-alto-networks-vm-50","status":"publish","type":"post","link":"https:\/\/zewwy.ca\/index.php\/2019\/03\/23\/setting-up-a-palo-alto-networks-vm-50\/","title":{"rendered":"Setting up a Palo Alto Networks VM 50"},"content":{"rendered":"<h1 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Intro\"><\/span>Intro<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>Heyo! It would seem the awesomeness of spring has sprung on to us, and that delightful sun&#8217;s warm and longer days just feel so awesome in the wake of a cold long winter.<\/p>\n<p>Anyway&#8230;. PAN TIME. so I finally got my auth codes I&#8217;ve been waiting on. To start you need to get a deploy-able image from a Value added reseller (VAR). Since Palo Alto has no public download for their VM series firewalls. Not a huge fan of their tatics on this one, honestly I believe education should be free and easily accessible. SO this is one area where I do tend to have to give PAN a thumbs down. However when it comes to security, and granular control of said security it is really nice.<\/p>\n<h1 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Installing_PAN_VM_50\"><\/span>Installing PAN VM 50<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Deploy_the_OVA\"><\/span>Deploy the OVA<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>For my Lab I&#8217;ll be using ESXi and an OVA deployment file. So on the vSphere Management, File -&gt; Deploy OVF template. (If you are using the web management, <a href=\"https:\/\/docs.vmware.com\/en\/VMware-vSphere\/6.5\/com.vmware.vsphere.vm_admin.doc\/GUID-17BEDA21-43F6-41F4-8FB2-E01D275FE9B4.html\">follow this<\/a>)<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/MggpJbB.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/MggpJbB.png\" alt=\"\" width=\"703\" height=\"313\" \/><\/a><\/p>\n<p>In this case my A drive is a mapped drive of all my applications and images, although I did request a newer image than 7.1 as that is rather old and I was hoping for 8.x for 9 even, but I&#8217;m hoping I can just update the VM software with my auth codes once I get the VM up and running.<\/p>\n<p>Next you&#8217;ll get some details about how the VM will be deployed, simply ensure you have enough resources available to meet the deployment needs.<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/mueipy9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/mueipy9.png\" alt=\"\" width=\"705\" height=\"358\" \/><\/a><\/p>\n<p>Click next to assign and name and location for the VM info and VHDD.<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/pvM9Mnl.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/pvM9Mnl.png\" alt=\"\" width=\"702\" height=\"349\" \/><\/a><\/p>\n<p>I gave it a generic name then the PAN OS number as again, I&#8217;m hoping to upgrade it with my auth codes. After that select the datastore to use, I used the local datastore for this VM, and stuck with thin provisioning after that, click next to begin the deployment. depending on your network connections and datastore selection, this time may vary.<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/t2BJyOd.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/t2BJyOd.png\" alt=\"\" width=\"374\" height=\"186\" \/><\/a><\/p>\n<p>Not sure if the copy of the file to my network share got messed, but every-time I deployed it from the share it failed, so I grabbed my IODD device where I had the initial copy, deployed it from there, and it worked.<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/rB4jnY5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/rB4jnY5.png\" alt=\"\" width=\"370\" height=\"123\" \/><\/a><\/p>\n<p>Yay! Alright time to check its settings.<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/ZJXTQPO.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/ZJXTQPO.png\" alt=\"\" width=\"687\" height=\"350\" \/><\/a><\/p>\n<p>Alright a couple NICs I was expecting more than that&#8230; Anyway normally PAN devices are headless and you can&#8217;t see the boot process unless you connect to a serial port, but VMs have direct console, soo I&#8217;ll set the NICs not to be connected at the moment as I don&#8217;t want them to be in my home NATed network.<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Powering_on_the_VM\"><\/span>Powering on the VM<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>So disconnected the virtual NICs and booted the VM:<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/xenXP8L.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/xenXP8L.png\" alt=\"\" width=\"719\" height=\"248\" \/><\/a><\/p>\n<p><a href=\"https:\/\/i.imgur.com\/wpppMFt.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/wpppMFt.png\" alt=\"\" width=\"725\" height=\"409\" \/><\/a><\/p>\n<p>Then I got a login prompt, rather quickly, but don&#8217;t be fooled, you have to wait&#8230;<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/jP34dd0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/jP34dd0.png\" alt=\"\" width=\"723\" height=\"325\" \/><\/a><\/p>\n<p>After a couple minutes, you&#8217;ll get the real login prompt.<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/tcUn8fH.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/tcUn8fH.png\" alt=\"\" width=\"724\" height=\"381\" \/><\/a><\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Set_Admin_Password\"><\/span>Set Admin Password<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Now that we got the VM up and running we should change the password:<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/WtGGEHx.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/WtGGEHx.png\" alt=\"\" width=\"723\" height=\"500\" \/><\/a><\/p>\n<p>As you can see it&#8217;s not cisco, so short wording doesn&#8217;t work. Also just to show that you don&#8217;t enter a password at the cli, you enter the word password and it will ask you for them without printing them back to the screen (thumbs up).<\/p>\n<p>Don&#8217;t forget to commit. Now we need to figure out how to configure the mgmt IP address&#8230; mhmm<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Set_Management_IP_Address\"><\/span>Set Management IP Address<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>So since I wanted to be able to manage this VM easily in my current home network &#8220;VM Network&#8221; vSwitch on my ESXi host, first I pinged an IP and ensured it was available. Then on the PA VM I ran:<\/p>\n<p>Configure (get into configuration mode)<\/p>\n<p>set deviceconfig system ip-address 192.168.0.55 netmask 255.255.255.0 default-gateway 192.168.0.1<\/p>\n<p>commit<\/p>\n<p>Then I opened the VM settings and enabled the connect:<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/lcGG9Y5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/lcGG9Y5.png\" alt=\"\" width=\"692\" height=\"442\" \/><\/a><\/p>\n<p>Then tested my pings again, and success \ud83d\ude00<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/GP3OLF2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/GP3OLF2.png\" alt=\"\" width=\"510\" height=\"417\" \/><\/a><\/p>\n<p>K, so now that we can ping the management IP let&#8217;s see if we can access the web interface, and if so hopefully that should be all we need to do at the CLI. I love CLI commands and stuff, but for most management I like GUI&#8217;s unless it becomes doing something x number of times, then scripting via the CLI is a necessity.<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Access_the_Web_Interface\"><\/span> Access the Web Interface<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Once you access the VM&#8217;s IP in a local browser you shouldn&#8217;t be surprised to be presented with this:<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/WGyKUh8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/WGyKUh8.png\" alt=\"\" width=\"1256\" height=\"724\" \/><\/a><\/p>\n<p>Usual certificate security and warning of un-trusted due to self signed.. yada yada, advanced, proceed&#8230;.<\/p>\n<p>Mhmmmm I really miss that 7.x Web look, just the right amount of color&#8230;<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/Y9yMfZD.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/Y9yMfZD.png\" alt=\"\" width=\"1248\" height=\"782\" \/><\/a><\/p>\n<p>If my upgrades go successfully I&#8217;ll be able to show you the new login, a tad more bland&#8230;.<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/uC2c51i.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/uC2c51i.png\" alt=\"\" width=\"1262\" height=\"831\" \/><\/a><\/p>\n<p>Awww man, just look at that delightful dashboard, the system info, haha unknown serial in VM mode with no license (yet) \ud83d\ude1b I like how it even shows my two login sessions (CLI and Web).<\/p>\n<p>As well as of course the usual, PAN Tabs (ACC, Monitor, Policies, Objects, Network and Device) mhmmmm so delightful.<\/p>\n<p>Now my main goal of today and this post is simply to get the VM booted up, but also updated. Now I can&#8217;t do that without a license, which I got just a couple days ago. Now sadly I can&#8217;t share these with you, but I can tell you how to accomplish the task.<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Managing_Licenses\"><\/span>Managing Licenses<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Click on the Device Tab -&gt; Licenses<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/ca9VOYk.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/ca9VOYk.png\" alt=\"\" width=\"904\" height=\"882\" \/><\/a><\/p>\n<p>In my case I can&#8217;t remember if I had uploaded it to my usual PA login account online, so for now I will be using #2 Activate via Auth Codes.<\/p>\n<p>First things first though, set the DNS servers.. :S whoops lol<\/p>\n<p>Device -&gt; Setup -&gt; Services -&gt; edit -&gt; Primary and secondary DNS servers<\/p>\n<p>So even after that I kept getting communication <a href=\"https:\/\/knowledgebase.paloaltonetworks.com\/KCSArticleDetail?id=kA10g000000ClkuCAC\">error message, so I googled<\/a>.<\/p>\n<p>After that I figured they are doing their usual ways, and locking this down in some other form that doesn&#8217;t provide any nice error message to try and stop use of these images if they leak, and it&#8217;s extremely frustrating for legit users&#8230; not gonna lie.<\/p>\n<p>So I decided after I got my DNS up n running to apply the Auth code again and this time I got a different error, that my auth codes have to be registered to my support account before i can create and register the VM&#8230; ughhhhhhh<\/p>\n<p>This as you can see is the real annoying side to any DRM. Let me jump through these hoops and come back to this post in a little bit&#8230; :S<\/p>\n<p>Alright, so I logged into the online suport portal, found the section to register my auth codes, did that, then jumped back into the VM web and entered the auth codes again, this time it didn&#8217;t complain, the VM showed it was rebooting while the web interface stayed at the licenses section&#8230; odd haha I was going to take a snippet of that happening but the reboot was rather quick.<\/p>\n<p>Since I knew the VM had rebooted as I saw it via the vSphere console window, I gave it a couple minutes before navigating to the web interface.<\/p>\n<p>Sure enough after logging in again, I know have a serial number defined on my PA VM. \ud83d\ude00 I hope now I can actually check for updates without getting a generic, false error message&#8230;<\/p>\n<p>Yes! So many PAN OS&#8217;s to choose from&#8230;. but sadly no PAN OS 9&#8230; or 8.1.x for that matter&#8230; Well that sucks I was hoping to be able to play around with TLS 1.3&#8230; oh boy&#8230; maybe I have to upgrade first?<\/p>\n<h1 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Upgrading_PAN_OS_on_PA_VM_50\"><\/span>Upgrading PAN OS on PA VM 50<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>Sooo I selected 8.0, downloaded and configured into software manager successfully awesome! Install failed, not enough memory&#8230;. nice.<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/VGl6Id5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/VGl6Id5.png\" alt=\"\" width=\"394\" height=\"347\" \/><\/a><\/p>\n<p>Well considering it&#8217;s a VM which are amazingly salable in this regard I won&#8217;t blame them here, the message is to the point. I&#8217;ll just shutdown the VM and up it&#8217;s memory&#8230;<\/p>\n<p>Device -&gt; Setup -&gt; Operations -&gt; Shutdown Device<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/T3rPVKf.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/T3rPVKf.png\" alt=\"\" width=\"460\" height=\"163\" \/><\/a><\/p>\n<p>Yeap&#8230; System is shutdown. lol<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/erChu6r.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/erChu6r.png\" alt=\"\" width=\"689\" height=\"154\" \/><\/a><\/p>\n<p>Bammmm more memory like that!<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/yw8BmOK.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/yw8BmOK.png\" alt=\"\" width=\"393\" height=\"347\" \/><\/a><\/p>\n<p>You got me again, you can code for the validation, but you can&#8217;t code the process to do that for me eh&#8230;. they could, they just didn&#8217;t want to.. so let me jump through some more hoops&#8230;<\/p>\n<p>Dynamic Updates -&gt; Check Now -&gt; Apps n Threats -&gt; Download (8136-5163 at the time of this writing) -&gt; Install<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/Cw3RJJf.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/Cw3RJJf.png\" alt=\"\" width=\"402\" height=\"350\" \/><\/a><\/p>\n<p>Yay, at least that worked without some issue to overcome. Let&#8217;s try that software upgrade for a third time. Third times the charm right?<\/p>\n<p>SO far so good, device needs a reboot, OK.  \ud83d\ude42<\/p>\n<p>And here it is.. the bland 8.0 login .. \ud83d\ude41<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/hZzKujj.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/hZzKujj.png\" alt=\"\" width=\"1268\" height=\"751\" \/><\/a><\/p>\n<p>Just no color, no life&#8230; just go look and compere the login before and this one, I even liked that they had a soft indent of their logo in the background, made it feel so elegant to this&#8230; so minimalist&#8230;<\/p>\n<p>As for the software, upgrading to 8.0 did make 8.1 available&#8230; but still no 9.0 errr lets upgrade again and see&#8230; ooo yeah&#8230;. there it is&#8230; 9.0!<\/p>\n<p>So I can&#8230; Yeeee, I dunno if I&#8217;ll do it just yet, but good to know I can when I want to.<\/p>\n<h1 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>Overall the deployment and use of the PA VM is very good. I&#8217;m rather excited to get my SSL inspection rules setup for some stuff&#8230; \ud83d\ude00 as well as cover other blog posts covering some more in-depth setups and configurations.<\/p>\n<p>In my next post I&#8217;ll cover actually setting up some zones and network configurations. or I might even just show how to migrate a physical configuration. In this case since I won&#8217;t have a 1 for 1 NIC assignment there would probably be some tweaking required, maybe even before the firewall would accept the config file. but we&#8217;ll cover that when we get there. \ud83d\ude00<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Intro Heyo! It would seem the awesomeness of spring has sprung on to us, and that delightful sun&#8217;s warm and longer days just feel so awesome in the wake of a cold long winter. Anyway&#8230;. PAN TIME. so I finally got my auth codes I&#8217;ve been waiting on. To start you need to get a &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/zewwy.ca\/index.php\/2019\/03\/23\/setting-up-a-palo-alto-networks-vm-50\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Setting up a Palo Alto Networks VM 50&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[4,6,127,8],"tags":[179,177,176,178],"class_list":["post-576","post","type-post","status-publish","format-standard","hentry","category-infosec","category-networking","category-palo-alto-networks","category-server-administration","tag-installation","tag-pan-os","tag-pan-vm-50","tag-upgrade"],"_links":{"self":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/comments?post=576"}],"version-history":[{"count":1,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/576\/revisions"}],"predecessor-version":[{"id":577,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/576\/revisions\/577"}],"wp:attachment":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/media?parent=576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/categories?post=576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/tags?post=576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}