- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
11-09-2022 10:36 PM - edited 11-09-2022 10:37 PM
Tested traffic within a same VPC it's working fine, use ENI of paloalto's LAN interface as a target
But I have no idea, when we have 2 VPC (VPC-A and VPC-B) and we installed paloalto on VPC-A
How to direct traffic from VPC-B to paloalto and then access to the internet via paloalto?
11-14-2022 09:03 AM - edited 11-14-2022 09:04 AM
Hi @nattapong_thi,
Greetings from Palo Alto Networks!
I saw your post and have a few recommendations for you. You may want to look at it initially, does this help?
You could use a Transit Gateway for inter-VPC communication, and then a NAT Gateway in VPC-A for outbound connections to the Internet. Create the below routes for Outbound:
To access the internet, You will need IGW and NAT GW also part of VPC B. Please confirm how the 2 VPCs are connected. are they connected with TGW?
Regards,
Prerna Ahire
Product Specialist
Palo Alto Networks
https://live.paloaltonetworks.com/t5/configuration-discussions/ct-p/Configuration-Discussions
*Don’t forget to accept the solution provided!*
11-17-2022 02:48 AM - edited 11-17-2022 02:59 AM
After I used transit gateway, it's seemed client inside VPC-B still unable to access the internet (but can communicate with ec2 inside VPC-A)
VPC-B ec2 --> Transit GW --> Paloalto's LAN eni --> NAT GW --> IGW
After I test using network reachability, It's look like traffic could not hit IGW
Route table rtb does not have an applicable route to igw
Internet gateway igw cannot accept traffic with spoofed addresses from the VPC.
11-18-2022 08:47 AM
Hi @nattapong_thi,
can you check the transit gw route tables to see if traffic from VPC-B is able to reach the security vpc (where the firewall is deployed)? The routes to VPC-A and to the security VPC should be different.
Regards,
Prerna Ahire
Product Specialist
Palo Alto Networks
https://live.paloaltonetworks.com/t5/configuration-discussions/ct-p/Configuration-Discussions
11-21-2022 04:14 PM
Hello @nattapong_thi,
Greeting!
Please let us know whether you are still facing the problem.
Regards,
Prerna Ahire
Product Specialist
Palo Alto Networks
https://live.paloaltonetworks.com/t5/configuration-discussions/ct-p/Configuration-Discussions
11-28-2022 11:48 PM
Please help to guide me
Forward all traffic from TGW to FW in VPC-A
How to configure this task, from transit gateway routing, it does not have an option to forward to Firewall ENI
11-29-2022 12:21 AM
Hi @nattapong_thi
You can configure a route table which will be used by the TGW subnet(A TGW ENI is attached to this subnet) in VPC-A.
Then in that route table, create a route to forward all traffic to the Firewall ENI.
11-29-2022 01:41 AM - edited 11-29-2022 02:53 AM
After configuring a route on subnet of transit gateway, traffic can reach the firewall, log generated with source NAT ip
but it's still unable to connect internet (ping 8.8.8.8)
*** If I change 0.0.0.0 on transit gateway routing table from firewall's eni to NAT gateway directly, it's working properly
02-10-2023 12:14 PM - edited 02-10-2023 12:16 PM
Do you have appliance mode enabled on the attachment thats connected to the firewalls VPC?
Also based on your previous reply, you would need to do a NAT destined to internet addresses so the replies passes trough the palo alto, either a NAT or you could create a route(Private addresses or VPC B) from the NAT gateway to reply back to the palo alto.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!