Configuring a Palo Alto Networks firewall for the first time (2023)

I recently added a Palo Alto Networks PA-820 Next Generation Firewall (NGFW) to my lab network. At Packet6, I've been involved with PAN NGFWs for a while, and we arePalo Alto netting resale.

In this post, I will walk through a simple setup for setting up the PA-820 for the first time. The goal is to set up a LAN, WAN (using DHCP), and NAT to access the Internet.

This process would be very similar for other models as well.

Please note that the version running on my firewall is v9.1.4.

Table of contents

  1. Register your firewall
  2. Access the NGFW
  3. Configure device settings
  4. Create a new superuser
  5. Confirm your changes
  6. interface configuration
  7. Configuration of the WAN interface
  8. Configure DHCP
  9. Standarddraht
  10. Commit
  11. Managementprofil
  12. NAT
  13. Security ACLs
  14. final thoughts

Register your firewall

You must create an account on thePalo Alto Networks Customer Support Portal.

Configuring a Palo Alto Networks firewall for the first time (1)

To register your firewall, you need the serial number.

Sign in to the portal.

Click Register device

Configuring a Palo Alto Networks firewall for the first time (2)

Select the radioRegister a device with the serial numberThen click Next

Configuring a Palo Alto Networks firewall for the first time (3)

Under Device Registration, you need to enter all the required information. This includes the serial number of the firewall and the location where that firewall is deployed. This last part is important for RMAs. Then you must accept the eula below.

There is an option to create a day 1 setup, but I'll skip that for now.

Configuring a Palo Alto Networks firewall for the first time (4)

When you're done, your NGFW will be registered.

Configuring a Palo Alto Networks firewall for the first time (5)

Access the NGFW

Connect to the firewall's MGMT interface.

Standard-IP

The MGMT interface is set to 192.168.1.1.


Set your network card to 192.168.1.2 with a mask of 255.255.255.0. It does not receive DHCP leases from the MGMT interface.

Configuring a Palo Alto Networks firewall for the first time (6)

It then opens a web browser at https://192.168.1.1. The NGFW login screen should appear.

Default username and password

The default username is: Administrator

The default password is: Administrator

After logging in, you will be prompted to change the password for the administrator account, which is a superuser. The new password must be 8 characters long and contain uppercase letters, lowercase letters, numbers or special characters.

Configuring a Palo Alto Networks firewall for the first time (7)

After changing your password you may be thrown to the login screen. Sign in again with the new password.

A welcome popup will appear. You can close it and view it again later. You are now in the NGFW and ready to set up the rest!

(Video) How to Set Up a Palo Alto Firewall for the First Time

Configuring a Palo Alto Networks firewall for the first time (8)

Configure device settings

Next we will configure some basic device settings. Nothing crazy

Click on thatDeviceEyelash. Click in the left navigation barAttitude. Then it should be in the middle area in theManagementEyelash. There is aGeneral configurationSection. Click on the gear icon.

Configuring a Palo Alto Networks firewall for the first time (9)

Let's add a hostname and login banner and set the timezone.

Here is the login banner I used.

Packet6 DISCLAIMER This is a private system to be accessed and used for authorized business purposes only. THERE IS NO RIGHT TO PRIVACY FOR ANYONE WHO ACCESSES OR USES THIS SYSTEM. Access to or use of this information system constitutes acceptance of these terms.
Configuring a Palo Alto Networks firewall for the first time (10)

Create a new superuser

It is best to set up a new user account so that you are not using the default administrator account.

Let's create a new one. We can harden the accounts later. This is just the basic creation of an administrator account.

Click in the left navigationadministratorsthen click belowAdd to.

Configuring a Palo Alto Networks firewall for the first time (11)

In the new pop-up window, enter the account name. We won't set the authentication profile yet, so leave it at none. Create a password and select Dynamic as the admin type. Select Superuser from the drop-down menu.

There are two types of administrators:

  • Dynamic
  • role based

The latter would be a safer way to define administrators. The dynamic type uses the built-in roles:

  • overuse
  • superuser (read-only)
  • Virtual Systems Administrator
  • Virtual System Manager (read-only)
  • device administrator
  • Device Manager (read-only)
Configuring a Palo Alto Networks firewall for the first time (12)

Confirm your changes

We are now in a good place to commit our changes to the running configuration.

With Commit we take the candidate configuration and apply it to the running configuration.

IsCommitThe button is at the top right.

Configuring a Palo Alto Networks firewall for the first time (13)

You'll see a confirmation popup where you can preview your changes and add a confirmation comment.

Configuring a Palo Alto Networks firewall for the first time (14)

Before clicking Confirm, clickPreview changesto see what is included in this scope of commitment.

It's a good idea to review the changes applied so as not to cause a problem.

Configuring a Palo Alto Networks firewall for the first time (15)

Click onSummary of Changesto get a different view of the changes. I like this view much better. There are other details such as B. the changed object, the location, and the user account that created the change.

Configuring a Palo Alto Networks firewall for the first time (16)

We can also check changes for errors.

Why don't we add a commit comment for best practices and clickCommit. It takes a moment ☕️

If the result is successful, good work! 👍

interface configuration

Before we can have full network connectivity, we need to configure our interfaces.

Let's create our first network. We need an interface for our WAN and LAN. I will configure the WAN on the Ethernet1/1 interface and the LAN on the Ethernet1/2 interface.

Click on thatRotand click in the left navigation barinterfaces.

Configuring a Palo Alto Networks firewall for the first time (17)

By default, I have both interfaces I want to configure set to an interface type from Virtual Wire (I won't go into interface types in this post). We will change this.

Configuration of the WAN interface

Click onEthernet1/1.

Give the interface aComment.

Click the Interface Type drop-down menu and change it toKapa3.

Configuring a Palo Alto Networks firewall for the first time (18)

Under theAttitudetab, set theVirtual routerAStandard. I'll cover virtual routers in another post.

Configuring a Palo Alto Networks firewall for the first time (19)

Click on thatIPv4Eyelash.

My WAN is DHCP only so I'll change thatTypand the DHCP client.

(Video) Connecting to the Palo Alto web interface for the first time

Then click OK.

Configuring a Palo Alto Networks firewall for the first time (20)

Click onSonsin the left navigation

By default, there are two zones: trusted and untrusted.

Zones are used to group physical and virtual interfaces.

Click onsuspicious.

Change the type toOr 3.

Click onAdd toinclude interfaceEthernet1/1.

Then click OK.

suspicious zone

We put Ethernet1/1 in the untrusted zone because this is where I connect to my ISP. We don't trust the internet hence suspicious area.

back tointerfacesconfiguration section.

click InterfaceEthernet1/2.

Add a comment for the interface.

Set the interface type toKapa3.

Change the virtual router toStandard. (We will reach the safe zone soon).

Configuring a Palo Alto Networks firewall for the first time (21)

Click on thatIPv4Eyelash.

Let's start creating our LAN by configuring the gateway so that the LAN is on the Ethernet1/2 interface.

Leave the type forStatic.

In the IP section, clickAdd to.

You have the option to add the IP for your new network, I write 10.1.1.1/24.

Then click OK.

Configuring a Palo Alto Networks firewall for the first time (22)

Back toSons.

Click on thatTrustZone.

Change the type toKapa3.

Add interfaceEthernet1/2in the Interfaces list, and then click OK.

Configuring a Palo Alto Networks firewall for the first time (23)

Configure DHCP

Our LAN requires a DHCP scope. We're not animals just setting static IP addresses for our LAN, right?

Under theRottab, clickDHCPfrom the left navigation.

insideDHCP-Servertab, clickAdd toand we will create a space for our new network on 10.1.1.0/24. You can change this to any network you choose, as long as the previously created static IP is on the same subnet.

Configuring a Palo Alto Networks firewall for the first time (24)

Select the LAN interfaceEthernet1/2which we set in the Interface drop-down menu.

(Video) How to setup Palo Alto Firewall to access the Internet in 5 minutes

Under theTo rentI like to choose "Ping IP when assigning a new IP" and set a lease timeout.

LowThe IP Group, click Add and create a space like I did.

Configuring a Palo Alto Networks firewall for the first time (25)

Then click theoptionsEyelash.

We have to establish themPuerta,subnet mask, jDNS-Server.

Then click OK.

Configuring a Palo Alto Networks firewall for the first time (26)

Standarddraht

Delete the default vwire as we won't be using it.

Default-wire is used with virtual-wire. Canfiletherein on the Palo Alto Networks website.

Commit

Let's commit our changes from the candidate configuration to the running configuration.

Next we test the LAN interface.

I connect my laptop to Ethernet1/2 and see if I can get a DHCP lease.

Configuring a Palo Alto Networks firewall for the first time (27)

Honey, I'm getting an IP address within the DHCP range we configured. I see that I have an assigned gateway and DNS server. Can I ping the gateway 10.1.1.1?

% ping 10.1.1.1PING 10.1.1.1 (10.1.1.1): 56 bytes of dataRequest timeout for icmp_seq 0Request timeout for icmp_seq 1Request timeout for icmp_seq 2Request timeout for icmp_seq 3^C- -- 10.1.1.1 Ping statistics ---5 packets sent, 0 packets received, 100.0% packet loss

If you want to allow ping replies, we need to configure a management profile for the interface.

I will reconnect to the MGMT interface where HTTPS and SSH are allowed.

Managementprofil

Click on thatRotTab and click on the left navigation barinterface managementlownetwork profiles.
Just for convenience and for training purposes, I will create an interface management profile forallowHTTPS, SSH and Ping and Ethernet1/2.

Click Add.

Configuring a Palo Alto Networks firewall for the first time (28)

Create a name for this interface management profile.

AllowHTTPSjSSHin the Administrative Management Services section.

Allowpipein the Network Services section.

You can be more restrictive by allowing access to these services from specific IP addresses.

click OK.

Configuring a Palo Alto Networks firewall for the first time (29)

Click on thatinterfacessubmenu item.

Click on Ethernet1/2 (or your interface configured for LAN).

Click on thatProgressiveEyelash.

Under theOther informationClick the management profile drop-down menu and select the newly created interface management profile.

click OK.

Configuring a Palo Alto Networks firewall for the first time (30)

You will get a warning. Understand how this interface management profile affects your network.
Proceed by clicking Yes.

Now confirm your changes.

Let's test the LAN by connecting your laptop to Ethernet1/2. Don't forget to re-enable DHCP on your laptop interface and ping the gateway.

% ping 10.1.1.1PING 10.1.1.1 (10.1.1.1): 56 bytes data 64 bytes from 10.1.1.1: icmp_seq=0 ttl=64 time=0.989 ms 64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time = 0.915 ms64 bytes of 10.1.1.1: icmp_seq=2 ttl=64 time=1180 ms^C--- 10.1.1.1 Ping Statistics ---3 Packets Transmitted, 3 Packets Received, 0.0% Round Trip Packet Loss Round min/avg/ max/stddev = 0.915/1.028/1.180/0.112ms

What about HTTPS? In the screenshot below you can see that it works. It even has our login banner. This will really scare off the bad guys 😉 And I can successfully log in with my newly created superuser account.

You can even see the DHCP lease in the system logs.

(Video) EDU-210: The Palo Alto Networks Firewall 10.1 Essentials: Configuration and Management

Configuring a Palo Alto Networks firewall for the first time (31)
Configuring a Palo Alto Networks firewall for the first time (32)

NAT

Connect your WAN connection.

If I update my system logs, we can see that my ISP's modem provided a DHCP lease. It's easy to configure the Palo Alto Networks NGFW WAN interface as a DHCP client.

Configuring a Palo Alto Networks firewall for the first time (33)

Can we ping the internet? NO!

% Ping 1.1.1.1PING 1.1.1.1 (1.1.1.1): 56 bytes of data request timeout for icmp_seq 0 request timeout for icmp_seq 1 request timeout for icmp_seq 2^C--- 1.1.1.1 statistics ping ---4 packets transmitted , 0 packets received, 100.0% packet loss

We need to configure NAT!

Click on thatguidelinestab and thenNATin the left navigation.

ClickAdd toto create a new NAT policy.

Configuring a Palo Alto Networks firewall for the first time (34)

In the New NAT Policy Rule window, create oneName,Description, jTestComment.

Configuring a Palo Alto Networks firewall for the first time (35)

Then clickoriginal packagingEyelash.

For the zone of origin, add theTrustZone. This is where the Ethernet1/2 zone is located.

Lowtarget area, choosesuspiciousfrom the drop down menu. This is the zone configured for our WAN interface Ethernet1/1.

Fortarget interface, you can leave it whatever you like, but I am selecting ethernet1/1 here.

Configuring a Palo Alto Networks firewall for the first time (36)

Click on thattranslated packageEyelash.

Set the type of translation todynamic IP and port.

address typeinterface address.

Interface to our WAN interface.

IP address toonone(because we use DHCP).

click OK.

Apply changes.

Configuring a Palo Alto Networks firewall for the first time (37)

This is what the NAT policy looks like.

Configuring a Palo Alto Networks firewall for the first time (38)

Now test the ping and web browsing.

% ping 1.1.1.1PING 1.1.1.1 (1.1.1.1): 56 bytes of data 64 bytes of 1.1.1.1: icmp_seq=0 ttl=55 time=30.468 ms 64 bytes of 1.1.1.1: icmp_seq=1 ttl=55 time= 28,170 1.1.1.1 ms64 bytes: icmp_seq=2 ttl=55 time=27,824 ms^C--- 1.1.1.1 Ping Statistics ---3 packets transmitted, 3 packets received, 0.0% round trip packet loss round min/average /max/stddev = 27,824/28,821/30,468/1,173ms

The DNS is good too.

% ping google.comPING google.com (142.250.217.142): 56 bytes of data 64 bytes of 142.250.217.142: icmp_seq=0 ttl=114 time=27.169 ms 64 bytes of 142.250.217.142: icmp_seq=1 ttl=1147 bytes .66 of 142,250,217,142: icmp_seq=2 ttl=114 time=28.073 ms

Security ACLs

It's important to note that a default ACL, Rule1, is included. Allows traffic from the trusted zone to the untrusted zone.

You can see the visit count of the traffic.

Configuring a Palo Alto Networks firewall for the first time (39)

You must specify what is allowed through the firewall, and Rule 1 allows any traffic originating from the trusted zone to the Internet (untrusted zone). When rule 1 is disabled, our traffic doesn't reach the internet.

Our NAT policy also has a growing number of calls.

Configuring a Palo Alto Networks firewall for the first time (40)

final thoughts

This is the basic configuration of a Palo Alto Networks firewall, where we'll set up our root account, basic system configuration, interfaces, and NAT.

Our setup works for basic lab and internet use. There are advanced settings to secure this firewall and network which I will cover in the future.

To see more tutorials like this one, sign up for my email list. I will check further settings of my PA-820 laboratory unit.

Related

FAQs

How to configure Palo Alto firewall step by step? ›

Configuring Security Policies
  1. Select Palo Alto Networks > Policies > Security.
  2. Click Add to create a new security policy rule. ...
  3. 3.In the User tab, enable known-user. ...
  4. Configure the other options to meet your security requirements. ...
  5. Click Commit to complete the configuration.

What is first day configuration Palo Alto? ›

The Day 1 Configuration is a deployment agnostic configuration without interfaces, zones, or "allow" security policies. It is dependent on custom configuration or additional skillets/templates to create a fully deployable config.

How to configure Palo Alto PA 220? ›

To do this, go to Device -> Setup -> Management -> click the gear icon on the General Settings section. From there, set your time zone (and I recommend changing your Hostname, as well, to something more personal). Click “Ok” and then “commit” the change. You now have a basic PA-220 set up and running.

What is firewalls write the step to setup a firewall? ›

How to Configure a Firewall in 5 Steps
  1. Step 1: Secure your firewall. ...
  2. Step 2: Architect your firewall zones and IP addresses. ...
  3. Step 3: Configure access control lists. ...
  4. Step 4: Configure your other firewall services and logging. ...
  5. Step 5: Test your firewall configuration.

How to configure Palo Alto Firewall interface? ›

Steps to configure the Public Interface:
  1. Log into Palo Alto Networks Firewall.
  2. Navigate to 'Network > Interfaces'
  3. Click on 'ethernet1/1' (for aggregated ethernet, it will probably be called 'ae1')
  4. Select 'Layer3' from the 'Interface Type' list.
  5. Click 'Advanced'
  6. Check the 'Untagged Subinterface' check-box.
  7. Click 'OK'

What should be the first rule in a firewall? ›

Firewall rules are shown as a list on the Rules page. The rules are applied from top to bottom, and the first rule that matches the traffic overrides all the other rules below. The main principle is to allow only the needed traffic and block the rest.

What are the steps to access the firewall setup? ›

Go to Start and open Control Panel. Select System and Security > Windows Defender Firewall. Choose Turn Windows Firewall on or off. Select Turn on Windows Firewall for domain, private, and public network settings.

What are the 3 pillars of Palo Alto Networks strategy? ›

.
  • Visibility and access control.
  • Data loss protection.
  • Threat prevention.

What is the default IP port for Palo Alto? ›

Serial port has default values of 9600-8-N-1. By default, the firewall has an IP address of 192.168. 1.1 and a username/password of admin/admin.

What should the first configuration command be on any device? ›

The first configuration command on any device should be to give it a unique device name or hostname. By default, all devices are assigned a factory default name. For example, a Cisco IOS switch is “Switch.”

What is the default password for Palo Alto firewall? ›

Password: admin

For security purposes, change it ASAP.

How do I allow Internet access through Palo Alto firewall? ›

Steps to configure the Public Interface:
  1. Log into Palo Alto Networks Firewall.
  2. Navigate to 'Network > Interfaces'
  3. Click on 'ethernet1/1' (for aggregated ethernet, it will probably be called 'ae1')
  4. Select 'Layer3' from the 'Interface Type' list.
  5. Click 'Advanced'
  6. Check the 'Untagged Subinterface' check-box.
  7. Click 'OK'

What are the console settings for Palo Alto? ›

The default console settings for the Palo Alto firewall are 9600 bit rate, 8 serial data bit, no serial parity, serial stop bit 1, and no flow control.

What are the 7 layers of firewall? ›

OSI Model Explained: The OSI 7 Layers
  1. Physical Layer.
  2. Data Link Layer. ...
  3. Network Layer. ...
  4. Transport Layer. ...
  5. Session Layer. ...
  6. Presentation Layer. The presentation layer prepares data for the application layer. ...
  7. Application Layer. The application layer is used by end-user software such as web browsers and email clients. ...

What is important to study before you start to design your firewall? ›

Before choosing a firewall, you should know how many people will be using your firewall, and how large you expect your organization to grow in the near term. This will help you decide on how complex your firewall system needs to be.

How do I assign an IP address to Palo Alto? ›

Login to the device with the default username and password (admin/admin).
...
Default IP is 192.168. 1.1.
  1. Navigate to Device > Setup > Interfaces > Management.
  2. Navigate to Device > Setup > Services, Click edit and add a DNS server.
  3. Click OK and click on the commit button in the upper right to commit the changes.
Sep 25, 2018

What are the three methods of logging into the Palo Alto firewall? ›

The three main log types on the Palo Alto device are:
  • Traffic log, which contains basic connectivity information like IP addresses, ports and applications.
  • Threat log, which contains any information of a threat, like a virus or exploit, detected in a certain session.
  • URL log, which contains URLs accessed in a session.
Sep 25, 2018

How do I access my Palo Alto firewall? ›

Step 3: Open a web browser and navigate to the URL https://192.168.1.1 – Take note that this is an HTTPS site. At this point the Palo Alto Networks Firewall login page appears. Step 4: Enter admin for both name and password fields.
...
  1. MGT Port IP Address: 192.168. 1.1 /24.
  2. Username: admin.
  3. Password: admin.

Videos

1. INE Free Course: Palo Alto Firewall Basics
(INEtraining)
2. Getting Started Unpacking firewall, now what?
(Palo Alto Networks LIVEcommunity)
3. Palo Alto Initial Configuration
(Ed Goad)
4. Initial Configuration - Palo Alto Networks firewalls
(Short Palo Alto Networks Tutorials)
5. How to configure interfaces on Palo Alto firewall?
(SecGuru)
6. Palo Alto Firewalls | Installation and Configuration
(WE-Learns)
Top Articles
Latest Posts
Article information

Author: Terrell Hackett

Last Updated: 02/20/2023

Views: 6230

Rating: 4.1 / 5 (52 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Terrell Hackett

Birthday: 1992-03-17

Address: Suite 453 459 Gibson Squares, East Adriane, AK 71925-5692

Phone: +21811810803470

Job: Chief Representative

Hobby: Board games, Rock climbing, Ghost hunting, Origami, Kabaddi, Mushroom hunting, Gaming

Introduction: My name is Terrell Hackett, I am a gleaming, brainy, courageous, helpful, healthy, cooperative, graceful person who loves writing and wants to share my knowledge and understanding with you.