SlideShare a Scribd company logo
1 of 17
Download to read offline
Connectivity Troubleshooting
June 2016 Hangout
Jim Pingle
Connectivity Troubleshooting
● Project News
● Diagnostic Tests
● Testing Methodology
● Disappearing Packets
● Subnets and Routes
● WAN Configuration
● LAN Configuration
● Firewall Rules
● Outbound NAT
● Firewall Connectivity
● DNS Issues
● Client Configuration
● Other Causes
● Q&A
Project News
● pfSense 2.3.1 update 5 is out (a.k.a. 2.3.1-RELEASE-p5 or 2.3.1_5)
– Maintenance release with security and stability fixes since 2.3.1 update 1
● Updates 2 through 4 were internal only, not released publicly
● XG-2758 case redesigned, can now accept an add-on board
– First offering is a 4x 1GB expansion card
● BSDCan was earlier this month
– netmap-fwd talk by Luiz:
● userland router application over netmap for FreeBSD, easy to use, tightly coupled with the OS and aimed at
10G networks
● Very, very fast
● IPv6 is working now, not in Github yet
● Being developed on our XG-2758 platform
● Link to code, summary and video at:
● https://www.bsdcan.org/2016/schedule/events/699.en.html
● Online training schedule for the rest of the year is up
– Spots are open in all announced times
– September is starting to fill up
– http://netgate.com/training/
Diagnostic Tests
● Before getting into possible causes, know the tools involved
● Ping – Basic connectivity test using ICMP echo requests
– Ping can succeed when TCP fails, however, so it is not a 100% reliable test
– Diagnostics > Ping
– Available on nearly every OS
● Traceroute – Trace a path to a destination
– Diagnostics > Traceroute
– Available on nearly every OS, command varies (traceroute vs tracert)
● Packet Captures – See what is on the wire
– Diagnostics > Packet Capture
– Varies by OS: tcpdump, wireshark, etc
● Netcat – Easy TCP port handshake test
– Diagnostics > Test Port, or from the shell, nc -vz x.x.x.x yyyy
Testing Methodology
● Always test from one end to the other, starting as close to the source of
the traffic as possible, stopping at each interface and hop along the way
● For inbound traffic:
– Remote system → Firewall WAN/VPN → Firewall LAN → Client LAN
● For outbound traffic:
– Client LAN → Firewall LAN → Firewall WAN/VPN → Remote system
● If available, also check/capture at hops between
● Check state table to see if the traffic is passing, firewall logs to see if it's
blocked
● Run a packet capture in each place along the path
– Confirm source and destination MACs match the client and firewall, firewall and
the upstream gateway, and so on, where relevant
Disappearing Packets
● There are a few ways that packets can “disappear” – they appear to enter the
firewall but do not appear in a capture on the expected exit interface
● Exiting an different interface
– Policy routing, static route, etc, sending out another path
● IPsec SPD Matches
– Can interfere with OpenVPN and other traffic
● Missing route (default or link route)
– If the firewall cannot determine where the packet should go, it is dropped and does not
exit
● Captive Portal on LAN blocking requests
● Dropped by pf
– pf state mismatches, other pf issues
– Less common, but some rare cases exist
– Reset states between tests
Subnets and Routes
● IP address and subnet mask together define the subnet which is local to a host
● Subnet mask is defined mathematically, use a calculator to find actual start of subnet
– Quite common for someone to mistakenly think 192.168.1.0/23 includes .1.x and .2.x, it does
not, it includes .0.x and .1.x
● Hosts find each other inside a subnet using ARP
● Hosts will have a link route for the subnet they are in, tying that subnet to a specific
interface
– On pfSense, this means only one interface can be in a specific subnet, otherwise the link route
can point to the wrong interface, and traffic will not flow (e.g. same subnet on WAN and LAN
w/o bridge)
● Destinations outside of directly connected subnets are routed via the host's static
routes or default gateway
– A missing or incorrect default gateway will prevent communication outside the subnet & static
routed networks
– When using static routes, typically both parties would need a static route, especially with site-
to-site
Subnets and Routes (cont'd)
● If a subnet mask is incorrect, several problems can occur:
– Subnet mask too small
● Could have problems reaching the gateway
●
Other hosts in what should be its subnet cannot be reached
● May use the wrong broadcast address
– Subnet mask too large
● Will attempt to ARP for destinations which are not local
● Static routes send specific destinations to an alternate gateway in the
current subnet
– An incorrect route can send traffic down an unexpected path
– Remote destinations not matching static routes are reached via the default
gateway
– Watch out for persistent static routes on clients when changing/renumbering
firewalls
WAN Configuration
● Have the IP address configuration info from the ISP on hand
● Check that the address being used is for the host (customer end) and not the
gateway (ISP end)
– In larger subnets, make sure the ISP is not also using additional addresses for
CARP/VRRP/HSRP
● Check that the subnet mask is correct and that it is neither too big (/1) or too small
(/32)
– A /1 subnet mask on WAN will cause approximately half of the Internet to be unreachable,
which may not be immediately obvious
● Ensure the correct gateway address is used, and that it is online and replies to ping
– If it does not respond to ping, check the ARP table, it may still be online but require an alternate
monitor IP address
● Check Diagnostics > Routes and ensure the default gateway is present and shown
as “default”
– If not, visit System > Routing, edit the gateway, check Default, Save, Apply
LAN Configuration
● Check that the firewall LAN IP address is correct
– It must not be in the same subnet as the WAN or any other directly connected interface
– It must not be the subnet ID nor the broadcast IP address of a subnet (e.g. .0 or .255 in a /
24)
– It must not conflict with anything else currently on the LAN segment (old routers, servers, etc)
● Check that the firewall LAN subnet mask is correct
– And incorrect mask can lead to communication problems with hosts in the LAN or with VPNs
and other remote networks
– A /32 mask would prevent it from communicating with any host in the LAN
● Check that the LAN interface does not have a gateway selected under Interfaces >
LAN
– This would cause the firewall to treat the interface as a WAN-type interface when configuring
automatic outbound NAT and firewall rules
● Check the other LAN interface settings to ensure things like “Block Private
Networks” are not set
Firewall Rules
● Check Status > System Logs, Firewall tab for blocked connections
– If traffic should be allowed, it is either hitting a block rule or failing to match a pass rule
● Look at rule hit counters on the tab where traffic originates
● Check state table contents if the logs are inconclusive
● Check the protocol on firewall rules to ensure the traffic you are trying to pass will
actually pass
– Example: Rule set for TCP only will not pass ping (ICMP) or most DNS (UDP)
● Check that LAN Rules pass to a destination of any and not “WAN net” – “WAN net”
is only the directly connected subnet including the WAN IP address, not “The
Internet”
● Check LAN rule gateways, ensure traffic is not being misdirected
● Check Floating rule tab and interface group rules, which may hold forgotten or
misconfigured rules
● Disable any installed firewall packages such as pfBlocker, at least until the
connectivity issue is resolved
Outbound NAT
● If traffic appears to be passing but cannot reach the Internet...
● Check the state table at Diagnostics > States, see what the WAN-
side state looks like. If the connection only shows the local private
IP address and the remote destination, NAT is not happening
● Firewall > NAT, Outbound tab
● Ensure NAT is set on auto or that there are appropriate rules for a
source of the LAN exiting WAN
● If on auto, make sure that Interfaces > WAN has a gateway
selected and that Interfaces > LAN does not
● Be sure to clear states between tests!
– Diagnostics > States, Reset States tab
Firewall Connectivity
● After checking all of the above, connectivity from the firewall should
be working
● Diagnostics > DNS, try a DNS lookup
– If it fails, check the DNS settings (next slide)
● Diagnostics > Ping, try a few Internet hosts by name and IP address
– Repeat the test using a source interface of the LAN to test NAT
● Diagnostics > Traceroute, try a few Internet hosts
● Diagnostics > Test Port, try to connect out, for example, to TCP/80
on www.google.com
● If anything fails go back and check the settings on WAN again, and
make sure there is no ISP issue
DNS Issues
● While not truly a connectivity issue in most cases, a lack of functioning DNS will
effectively prevent clients from reaching the Internet
● Test DNS from Diagnostics > DNS Lookup
● A few things additional issues can arise with DNS, which can affect client
connectivity:
● Upstream firewall or router might erroneously be blocking large DNS queries
● DNS Resolver
– Forwarding mode enabled
● Check DNS Servers under System > General Setup
● Disable DNSSEC it is not supported by the forwarders
– Forwarding mode disabled
● Ensure the default gateway is working and that the firewall has unfiltered outbound access to TCP/UDP
port 53 to any destination, as unbound must talk to the roots and other authoritative DNS servers
● DNS Forwarder
– Check DNS Servers under System > General Setup
Client Configuration
●
Check the client IP address and mask to ensure they are in the correct subnet
●
Check the client gateway to ensure it is pointed to the firewall IP address, not some other
gateway
– If the client must use another gateway, then it would require some other means of addressing traffic
to/from pfSense – static routes, outbound NAT on LAN of the firewall to mask the source, etc
●
Check the client DNS to ensure it is using valid DNS servers (e.g. firewall IP address)
●
Test if the client can ping…
– Its own IP address
– The LAN IP address of the firewall
● If it fails, check LAN rules, client IP/mask, pfSense LAN IP/mask
– The WAN IP address of the firewall
● If it fails, check the client IP/mask
– The default gateway on WAN
● If it fails, check outbound NAT, client IP/mask
– A host on the Internet by IP address
●
If it fails, check LAN rules, outbound NAT, client IP/mask, firewall WAN IP/mask, firewall gateway
– A host on the Internet by name
● If it fails, check client DNS, firewall DNS, and firewall rules to pass DNS
Other Causes
● Captive Portal would prevent a LAN host from getting out and
would also prevent a remote host (DMZ, WAN, or VPN) from
reaching a host on LAN unless the LAN host is logged in
– Add a bypass by MAC or IP address to allow connections without portal
authentication
● IPsec tunnel, configured and enabled but not connected, will stop
any traffic matching its P2s from flowing
● Misuse of static port on outbound NAT rules can cause what
appear to be intermittent failures. Some clients work, others do not
● A misconfigured or malfunctioning package such as Squid could
appear to make some traffic disappear or fail to function
Conclusion
● Questions?
● Ideas for hangout topics? Post on forum,
comment on the blog posts, Reddit, etc

More Related Content

What's hot

High Availability Part 2 - pfSense Hangout July 2016
High Availability Part 2 - pfSense Hangout July 2016High Availability Part 2 - pfSense Hangout July 2016
High Availability Part 2 - pfSense Hangout July 2016Netgate
 
Multi-WAN on pfSense 2.3 - pfSense Hangout March 2016
Multi-WAN on pfSense 2.3 - pfSense Hangout March 2016Multi-WAN on pfSense 2.3 - pfSense Hangout March 2016
Multi-WAN on pfSense 2.3 - pfSense Hangout March 2016Netgate
 
Dynamic Routing with FRR - pfSense Hangout December 2017
Dynamic Routing with FRR - pfSense Hangout December 2017Dynamic Routing with FRR - pfSense Hangout December 2017
Dynamic Routing with FRR - pfSense Hangout December 2017Netgate
 
IPv6 Basics - pfSense Hangout July 2015
IPv6 Basics - pfSense Hangout July 2015IPv6 Basics - pfSense Hangout July 2015
IPv6 Basics - pfSense Hangout July 2015Netgate
 
Providing Local DNS with pfSense - pfSense Hangout August 2016
Providing Local DNS with pfSense - pfSense Hangout August 2016Providing Local DNS with pfSense - pfSense Hangout August 2016
Providing Local DNS with pfSense - pfSense Hangout August 2016Netgate
 
Advanced Captive Portal - pfSense Hangout June 2017
Advanced Captive Portal - pfSense Hangout June 2017Advanced Captive Portal - pfSense Hangout June 2017
Advanced Captive Portal - pfSense Hangout June 2017Netgate
 
Firewall Best Practices for VoIP on pfSense - pfSense Hangout October 2017
Firewall Best Practices for VoIP on pfSense - pfSense Hangout October 2017Firewall Best Practices for VoIP on pfSense - pfSense Hangout October 2017
Firewall Best Practices for VoIP on pfSense - pfSense Hangout October 2017Netgate
 
Creating a DMZ - pfSense Hangout January 2016
Creating a DMZ - pfSense Hangout January 2016Creating a DMZ - pfSense Hangout January 2016
Creating a DMZ - pfSense Hangout January 2016Netgate
 
Configuring Netgate Appliance Integrated Switches on pfSense 2.4.4 - pfSense ...
Configuring Netgate Appliance Integrated Switches on pfSense 2.4.4 - pfSense ...Configuring Netgate Appliance Integrated Switches on pfSense 2.4.4 - pfSense ...
Configuring Netgate Appliance Integrated Switches on pfSense 2.4.4 - pfSense ...Netgate
 
Remote Access VPNs Part 2 - pfSense Hangout October 2015
Remote Access VPNs Part 2 - pfSense Hangout October 2015Remote Access VPNs Part 2 - pfSense Hangout October 2015
Remote Access VPNs Part 2 - pfSense Hangout October 2015Netgate
 
pfSense 2.3 Preview - pfSense Hangout December 2015
pfSense 2.3 Preview - pfSense Hangout December 2015pfSense 2.3 Preview - pfSense Hangout December 2015
pfSense 2.3 Preview - pfSense Hangout December 2015Netgate
 
Monitoring pfSense 2.4 with SNMP - pfSense Hangout March 2018
Monitoring pfSense 2.4 with SNMP - pfSense Hangout March 2018Monitoring pfSense 2.4 with SNMP - pfSense Hangout March 2018
Monitoring pfSense 2.4 with SNMP - pfSense Hangout March 2018Netgate
 
Remote Access VPNs - pfSense Hangout September 2015
Remote Access VPNs - pfSense Hangout September 2015Remote Access VPNs - pfSense Hangout September 2015
Remote Access VPNs - pfSense Hangout September 2015Netgate
 
OpenVPN as a WAN - pfSense Hangout October 2016
OpenVPN as a WAN - pfSense Hangout October 2016OpenVPN as a WAN - pfSense Hangout October 2016
OpenVPN as a WAN - pfSense Hangout October 2016Netgate
 
Site-to-Site VPNs - pfSense Hangout November 2015
Site-to-Site VPNs - pfSense Hangout November 2015Site-to-Site VPNs - pfSense Hangout November 2015
Site-to-Site VPNs - pfSense Hangout November 2015Netgate
 
Routed IPsec on pfSense 2.4.4 - pfSense Hangout June 2018
Routed IPsec on pfSense 2.4.4 - pfSense Hangout June 2018Routed IPsec on pfSense 2.4.4 - pfSense Hangout June 2018
Routed IPsec on pfSense 2.4.4 - pfSense Hangout June 2018Netgate
 
RADIUS and LDAP - pfSense Hangout August 2015
RADIUS and LDAP - pfSense Hangout August 2015RADIUS and LDAP - pfSense Hangout August 2015
RADIUS and LDAP - pfSense Hangout August 2015Netgate
 
Backup and Restore with pfSense 2.4 - pfSense Hangout August 2017
Backup and Restore with pfSense 2.4 - pfSense Hangout August 2017Backup and Restore with pfSense 2.4 - pfSense Hangout August 2017
Backup and Restore with pfSense 2.4 - pfSense Hangout August 2017Netgate
 
Squid, SquidGuard, and Lightsquid on pfSense 2.3 & 2.4 - pfSense Hangout Janu...
Squid, SquidGuard, and Lightsquid on pfSense 2.3 & 2.4 - pfSense Hangout Janu...Squid, SquidGuard, and Lightsquid on pfSense 2.3 & 2.4 - pfSense Hangout Janu...
Squid, SquidGuard, and Lightsquid on pfSense 2.3 & 2.4 - pfSense Hangout Janu...Netgate
 
Advanced OpenVPN Concepts on pfSense 2.4 & 2.3.3 - pfSense Hangout February 2017
Advanced OpenVPN Concepts on pfSense 2.4 & 2.3.3 - pfSense Hangout February 2017Advanced OpenVPN Concepts on pfSense 2.4 & 2.3.3 - pfSense Hangout February 2017
Advanced OpenVPN Concepts on pfSense 2.4 & 2.3.3 - pfSense Hangout February 2017Netgate
 

What's hot (20)

High Availability Part 2 - pfSense Hangout July 2016
High Availability Part 2 - pfSense Hangout July 2016High Availability Part 2 - pfSense Hangout July 2016
High Availability Part 2 - pfSense Hangout July 2016
 
Multi-WAN on pfSense 2.3 - pfSense Hangout March 2016
Multi-WAN on pfSense 2.3 - pfSense Hangout March 2016Multi-WAN on pfSense 2.3 - pfSense Hangout March 2016
Multi-WAN on pfSense 2.3 - pfSense Hangout March 2016
 
Dynamic Routing with FRR - pfSense Hangout December 2017
Dynamic Routing with FRR - pfSense Hangout December 2017Dynamic Routing with FRR - pfSense Hangout December 2017
Dynamic Routing with FRR - pfSense Hangout December 2017
 
IPv6 Basics - pfSense Hangout July 2015
IPv6 Basics - pfSense Hangout July 2015IPv6 Basics - pfSense Hangout July 2015
IPv6 Basics - pfSense Hangout July 2015
 
Providing Local DNS with pfSense - pfSense Hangout August 2016
Providing Local DNS with pfSense - pfSense Hangout August 2016Providing Local DNS with pfSense - pfSense Hangout August 2016
Providing Local DNS with pfSense - pfSense Hangout August 2016
 
Advanced Captive Portal - pfSense Hangout June 2017
Advanced Captive Portal - pfSense Hangout June 2017Advanced Captive Portal - pfSense Hangout June 2017
Advanced Captive Portal - pfSense Hangout June 2017
 
Firewall Best Practices for VoIP on pfSense - pfSense Hangout October 2017
Firewall Best Practices for VoIP on pfSense - pfSense Hangout October 2017Firewall Best Practices for VoIP on pfSense - pfSense Hangout October 2017
Firewall Best Practices for VoIP on pfSense - pfSense Hangout October 2017
 
Creating a DMZ - pfSense Hangout January 2016
Creating a DMZ - pfSense Hangout January 2016Creating a DMZ - pfSense Hangout January 2016
Creating a DMZ - pfSense Hangout January 2016
 
Configuring Netgate Appliance Integrated Switches on pfSense 2.4.4 - pfSense ...
Configuring Netgate Appliance Integrated Switches on pfSense 2.4.4 - pfSense ...Configuring Netgate Appliance Integrated Switches on pfSense 2.4.4 - pfSense ...
Configuring Netgate Appliance Integrated Switches on pfSense 2.4.4 - pfSense ...
 
Remote Access VPNs Part 2 - pfSense Hangout October 2015
Remote Access VPNs Part 2 - pfSense Hangout October 2015Remote Access VPNs Part 2 - pfSense Hangout October 2015
Remote Access VPNs Part 2 - pfSense Hangout October 2015
 
pfSense 2.3 Preview - pfSense Hangout December 2015
pfSense 2.3 Preview - pfSense Hangout December 2015pfSense 2.3 Preview - pfSense Hangout December 2015
pfSense 2.3 Preview - pfSense Hangout December 2015
 
Monitoring pfSense 2.4 with SNMP - pfSense Hangout March 2018
Monitoring pfSense 2.4 with SNMP - pfSense Hangout March 2018Monitoring pfSense 2.4 with SNMP - pfSense Hangout March 2018
Monitoring pfSense 2.4 with SNMP - pfSense Hangout March 2018
 
Remote Access VPNs - pfSense Hangout September 2015
Remote Access VPNs - pfSense Hangout September 2015Remote Access VPNs - pfSense Hangout September 2015
Remote Access VPNs - pfSense Hangout September 2015
 
OpenVPN as a WAN - pfSense Hangout October 2016
OpenVPN as a WAN - pfSense Hangout October 2016OpenVPN as a WAN - pfSense Hangout October 2016
OpenVPN as a WAN - pfSense Hangout October 2016
 
Site-to-Site VPNs - pfSense Hangout November 2015
Site-to-Site VPNs - pfSense Hangout November 2015Site-to-Site VPNs - pfSense Hangout November 2015
Site-to-Site VPNs - pfSense Hangout November 2015
 
Routed IPsec on pfSense 2.4.4 - pfSense Hangout June 2018
Routed IPsec on pfSense 2.4.4 - pfSense Hangout June 2018Routed IPsec on pfSense 2.4.4 - pfSense Hangout June 2018
Routed IPsec on pfSense 2.4.4 - pfSense Hangout June 2018
 
RADIUS and LDAP - pfSense Hangout August 2015
RADIUS and LDAP - pfSense Hangout August 2015RADIUS and LDAP - pfSense Hangout August 2015
RADIUS and LDAP - pfSense Hangout August 2015
 
Backup and Restore with pfSense 2.4 - pfSense Hangout August 2017
Backup and Restore with pfSense 2.4 - pfSense Hangout August 2017Backup and Restore with pfSense 2.4 - pfSense Hangout August 2017
Backup and Restore with pfSense 2.4 - pfSense Hangout August 2017
 
Squid, SquidGuard, and Lightsquid on pfSense 2.3 & 2.4 - pfSense Hangout Janu...
Squid, SquidGuard, and Lightsquid on pfSense 2.3 & 2.4 - pfSense Hangout Janu...Squid, SquidGuard, and Lightsquid on pfSense 2.3 & 2.4 - pfSense Hangout Janu...
Squid, SquidGuard, and Lightsquid on pfSense 2.3 & 2.4 - pfSense Hangout Janu...
 
Advanced OpenVPN Concepts on pfSense 2.4 & 2.3.3 - pfSense Hangout February 2017
Advanced OpenVPN Concepts on pfSense 2.4 & 2.3.3 - pfSense Hangout February 2017Advanced OpenVPN Concepts on pfSense 2.4 & 2.3.3 - pfSense Hangout February 2017
Advanced OpenVPN Concepts on pfSense 2.4 & 2.3.3 - pfSense Hangout February 2017
 

Similar to Connectivity Troubleshooting - pfSense Hangout June 2016

Advanced OpenVPN Concepts - pfSense Hangout September 2014
Advanced OpenVPN Concepts - pfSense Hangout September 2014Advanced OpenVPN Concepts - pfSense Hangout September 2014
Advanced OpenVPN Concepts - pfSense Hangout September 2014Netgate
 
There and back again
There and back againThere and back again
There and back againJon Spriggs
 
Learning series fundamentals of Networking and Medical Imaging
Learning series fundamentals of Networking and Medical ImagingLearning series fundamentals of Networking and Medical Imaging
Learning series fundamentals of Networking and Medical ImagingRyan Furlough, BSCPE CPAS
 
Aceleracion TCP Mikrotik.pdf
Aceleracion TCP Mikrotik.pdfAceleracion TCP Mikrotik.pdf
Aceleracion TCP Mikrotik.pdfWifiCren
 
Webinar NETGEAR Prosafe Switch, la sicurezza della LAN
Webinar NETGEAR Prosafe Switch, la sicurezza della LANWebinar NETGEAR Prosafe Switch, la sicurezza della LAN
Webinar NETGEAR Prosafe Switch, la sicurezza della LANNetgear Italia
 
Packet Analysis - Course Technology Computing Conference
Packet Analysis - Course Technology Computing ConferencePacket Analysis - Course Technology Computing Conference
Packet Analysis - Course Technology Computing ConferenceCengage Learning
 
connectivity utility
connectivity utilityconnectivity utility
connectivity utilitytumetr1
 
AusNOG 2011 - Residential IPv6 CPE - What Not to Do and Other Observations
AusNOG 2011 - Residential IPv6 CPE - What Not to Do and Other ObservationsAusNOG 2011 - Residential IPv6 CPE - What Not to Do and Other Observations
AusNOG 2011 - Residential IPv6 CPE - What Not to Do and Other ObservationsMark Smith
 
Network State Awareness & Troubleshooting
Network State Awareness & TroubleshootingNetwork State Awareness & Troubleshooting
Network State Awareness & TroubleshootingAPNIC
 
66 pfsense tutorial
66 pfsense tutorial66 pfsense tutorial
66 pfsense tutorialequinonesr
 
Lesson.7: Configuring IP Routing A
Lesson.7: Configuring IP Routing ALesson.7: Configuring IP Routing A
Lesson.7: Configuring IP Routing AMahmmoud Mahdi
 
presentation_5725_1534743837.pdf
presentation_5725_1534743837.pdfpresentation_5725_1534743837.pdf
presentation_5725_1534743837.pdfHaithamAli51
 
Congection control and Internet working
Congection control and Internet workingCongection control and Internet working
Congection control and Internet workingTharuniDiddekunta
 
How to configure a router
How to configure a router How to configure a router
How to configure a router IT Tech
 

Similar to Connectivity Troubleshooting - pfSense Hangout June 2016 (20)

Advanced OpenVPN Concepts - pfSense Hangout September 2014
Advanced OpenVPN Concepts - pfSense Hangout September 2014Advanced OpenVPN Concepts - pfSense Hangout September 2014
Advanced OpenVPN Concepts - pfSense Hangout September 2014
 
There and back again
There and back againThere and back again
There and back again
 
Learning series fundamentals of Networking and Medical Imaging
Learning series fundamentals of Networking and Medical ImagingLearning series fundamentals of Networking and Medical Imaging
Learning series fundamentals of Networking and Medical Imaging
 
Aceleracion TCP Mikrotik.pdf
Aceleracion TCP Mikrotik.pdfAceleracion TCP Mikrotik.pdf
Aceleracion TCP Mikrotik.pdf
 
Webinar NETGEAR Prosafe Switch, la sicurezza della LAN
Webinar NETGEAR Prosafe Switch, la sicurezza della LANWebinar NETGEAR Prosafe Switch, la sicurezza della LAN
Webinar NETGEAR Prosafe Switch, la sicurezza della LAN
 
Packet Analysis - Course Technology Computing Conference
Packet Analysis - Course Technology Computing ConferencePacket Analysis - Course Technology Computing Conference
Packet Analysis - Course Technology Computing Conference
 
connectivity utility
connectivity utilityconnectivity utility
connectivity utility
 
AusNOG 2011 - Residential IPv6 CPE - What Not to Do and Other Observations
AusNOG 2011 - Residential IPv6 CPE - What Not to Do and Other ObservationsAusNOG 2011 - Residential IPv6 CPE - What Not to Do and Other Observations
AusNOG 2011 - Residential IPv6 CPE - What Not to Do and Other Observations
 
SAPRouter
SAPRouterSAPRouter
SAPRouter
 
Java One 2001
Java One 2001Java One 2001
Java One 2001
 
Network State Awareness & Troubleshooting
Network State Awareness & TroubleshootingNetwork State Awareness & Troubleshooting
Network State Awareness & Troubleshooting
 
What's new in Neutron Juno
What's new in Neutron JunoWhat's new in Neutron Juno
What's new in Neutron Juno
 
66 pfsense tutorial
66 pfsense tutorial66 pfsense tutorial
66 pfsense tutorial
 
Lan & vlan
Lan & vlanLan & vlan
Lan & vlan
 
Lesson.7: Configuring IP Routing A
Lesson.7: Configuring IP Routing ALesson.7: Configuring IP Routing A
Lesson.7: Configuring IP Routing A
 
presentation_5725_1534743837.pdf
presentation_5725_1534743837.pdfpresentation_5725_1534743837.pdf
presentation_5725_1534743837.pdf
 
Skydive 31 janv. 2016
Skydive 31 janv. 2016Skydive 31 janv. 2016
Skydive 31 janv. 2016
 
Congection control and Internet working
Congection control and Internet workingCongection control and Internet working
Congection control and Internet working
 
How to configure a router
How to configure a router How to configure a router
How to configure a router
 
AREDN
AREDNAREDN
AREDN
 

More from Netgate

Using Google Cloud Identity Secure LDAP with pfSense - Netgate Hangout Octobe...
Using Google Cloud Identity Secure LDAP with pfSense - Netgate Hangout Octobe...Using Google Cloud Identity Secure LDAP with pfSense - Netgate Hangout Octobe...
Using Google Cloud Identity Secure LDAP with pfSense - Netgate Hangout Octobe...Netgate
 
Local DNS with pfSense 2.4 - pfSense Hangout April 2018
Local DNS with pfSense 2.4 - pfSense Hangout April 2018Local DNS with pfSense 2.4 - pfSense Hangout April 2018
Local DNS with pfSense 2.4 - pfSense Hangout April 2018Netgate
 
RADIUS and LDAP on pfSense 2.4 - pfSense Hangout February 2018
RADIUS and LDAP on pfSense 2.4 - pfSense Hangout February 2018RADIUS and LDAP on pfSense 2.4 - pfSense Hangout February 2018
RADIUS and LDAP on pfSense 2.4 - pfSense Hangout February 2018Netgate
 
User Management and Privileges on pfSense 2.4 - pfSense Hangout January 2018
User Management and Privileges on pfSense 2.4 - pfSense Hangout January 2018User Management and Privileges on pfSense 2.4 - pfSense Hangout January 2018
User Management and Privileges on pfSense 2.4 - pfSense Hangout January 2018Netgate
 
Certificate Management on pfSense 2.4 - pfSense Hangout September 2017
Certificate Management on pfSense 2.4 - pfSense Hangout September 2017Certificate Management on pfSense 2.4 - pfSense Hangout September 2017
Certificate Management on pfSense 2.4 - pfSense Hangout September 2017Netgate
 
Let's Encrypt - pfSense Hangout April 2017
Let's Encrypt - pfSense Hangout April 2017Let's Encrypt - pfSense Hangout April 2017
Let's Encrypt - pfSense Hangout April 2017Netgate
 

More from Netgate (6)

Using Google Cloud Identity Secure LDAP with pfSense - Netgate Hangout Octobe...
Using Google Cloud Identity Secure LDAP with pfSense - Netgate Hangout Octobe...Using Google Cloud Identity Secure LDAP with pfSense - Netgate Hangout Octobe...
Using Google Cloud Identity Secure LDAP with pfSense - Netgate Hangout Octobe...
 
Local DNS with pfSense 2.4 - pfSense Hangout April 2018
Local DNS with pfSense 2.4 - pfSense Hangout April 2018Local DNS with pfSense 2.4 - pfSense Hangout April 2018
Local DNS with pfSense 2.4 - pfSense Hangout April 2018
 
RADIUS and LDAP on pfSense 2.4 - pfSense Hangout February 2018
RADIUS and LDAP on pfSense 2.4 - pfSense Hangout February 2018RADIUS and LDAP on pfSense 2.4 - pfSense Hangout February 2018
RADIUS and LDAP on pfSense 2.4 - pfSense Hangout February 2018
 
User Management and Privileges on pfSense 2.4 - pfSense Hangout January 2018
User Management and Privileges on pfSense 2.4 - pfSense Hangout January 2018User Management and Privileges on pfSense 2.4 - pfSense Hangout January 2018
User Management and Privileges on pfSense 2.4 - pfSense Hangout January 2018
 
Certificate Management on pfSense 2.4 - pfSense Hangout September 2017
Certificate Management on pfSense 2.4 - pfSense Hangout September 2017Certificate Management on pfSense 2.4 - pfSense Hangout September 2017
Certificate Management on pfSense 2.4 - pfSense Hangout September 2017
 
Let's Encrypt - pfSense Hangout April 2017
Let's Encrypt - pfSense Hangout April 2017Let's Encrypt - pfSense Hangout April 2017
Let's Encrypt - pfSense Hangout April 2017
 

Recently uploaded

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 

Recently uploaded (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 

Connectivity Troubleshooting - pfSense Hangout June 2016

  • 2. Connectivity Troubleshooting ● Project News ● Diagnostic Tests ● Testing Methodology ● Disappearing Packets ● Subnets and Routes ● WAN Configuration ● LAN Configuration ● Firewall Rules ● Outbound NAT ● Firewall Connectivity ● DNS Issues ● Client Configuration ● Other Causes ● Q&A
  • 3. Project News ● pfSense 2.3.1 update 5 is out (a.k.a. 2.3.1-RELEASE-p5 or 2.3.1_5) – Maintenance release with security and stability fixes since 2.3.1 update 1 ● Updates 2 through 4 were internal only, not released publicly ● XG-2758 case redesigned, can now accept an add-on board – First offering is a 4x 1GB expansion card ● BSDCan was earlier this month – netmap-fwd talk by Luiz: ● userland router application over netmap for FreeBSD, easy to use, tightly coupled with the OS and aimed at 10G networks ● Very, very fast ● IPv6 is working now, not in Github yet ● Being developed on our XG-2758 platform ● Link to code, summary and video at: ● https://www.bsdcan.org/2016/schedule/events/699.en.html ● Online training schedule for the rest of the year is up – Spots are open in all announced times – September is starting to fill up – http://netgate.com/training/
  • 4. Diagnostic Tests ● Before getting into possible causes, know the tools involved ● Ping – Basic connectivity test using ICMP echo requests – Ping can succeed when TCP fails, however, so it is not a 100% reliable test – Diagnostics > Ping – Available on nearly every OS ● Traceroute – Trace a path to a destination – Diagnostics > Traceroute – Available on nearly every OS, command varies (traceroute vs tracert) ● Packet Captures – See what is on the wire – Diagnostics > Packet Capture – Varies by OS: tcpdump, wireshark, etc ● Netcat – Easy TCP port handshake test – Diagnostics > Test Port, or from the shell, nc -vz x.x.x.x yyyy
  • 5. Testing Methodology ● Always test from one end to the other, starting as close to the source of the traffic as possible, stopping at each interface and hop along the way ● For inbound traffic: – Remote system → Firewall WAN/VPN → Firewall LAN → Client LAN ● For outbound traffic: – Client LAN → Firewall LAN → Firewall WAN/VPN → Remote system ● If available, also check/capture at hops between ● Check state table to see if the traffic is passing, firewall logs to see if it's blocked ● Run a packet capture in each place along the path – Confirm source and destination MACs match the client and firewall, firewall and the upstream gateway, and so on, where relevant
  • 6. Disappearing Packets ● There are a few ways that packets can “disappear” – they appear to enter the firewall but do not appear in a capture on the expected exit interface ● Exiting an different interface – Policy routing, static route, etc, sending out another path ● IPsec SPD Matches – Can interfere with OpenVPN and other traffic ● Missing route (default or link route) – If the firewall cannot determine where the packet should go, it is dropped and does not exit ● Captive Portal on LAN blocking requests ● Dropped by pf – pf state mismatches, other pf issues – Less common, but some rare cases exist – Reset states between tests
  • 7. Subnets and Routes ● IP address and subnet mask together define the subnet which is local to a host ● Subnet mask is defined mathematically, use a calculator to find actual start of subnet – Quite common for someone to mistakenly think 192.168.1.0/23 includes .1.x and .2.x, it does not, it includes .0.x and .1.x ● Hosts find each other inside a subnet using ARP ● Hosts will have a link route for the subnet they are in, tying that subnet to a specific interface – On pfSense, this means only one interface can be in a specific subnet, otherwise the link route can point to the wrong interface, and traffic will not flow (e.g. same subnet on WAN and LAN w/o bridge) ● Destinations outside of directly connected subnets are routed via the host's static routes or default gateway – A missing or incorrect default gateway will prevent communication outside the subnet & static routed networks – When using static routes, typically both parties would need a static route, especially with site- to-site
  • 8. Subnets and Routes (cont'd) ● If a subnet mask is incorrect, several problems can occur: – Subnet mask too small ● Could have problems reaching the gateway ● Other hosts in what should be its subnet cannot be reached ● May use the wrong broadcast address – Subnet mask too large ● Will attempt to ARP for destinations which are not local ● Static routes send specific destinations to an alternate gateway in the current subnet – An incorrect route can send traffic down an unexpected path – Remote destinations not matching static routes are reached via the default gateway – Watch out for persistent static routes on clients when changing/renumbering firewalls
  • 9. WAN Configuration ● Have the IP address configuration info from the ISP on hand ● Check that the address being used is for the host (customer end) and not the gateway (ISP end) – In larger subnets, make sure the ISP is not also using additional addresses for CARP/VRRP/HSRP ● Check that the subnet mask is correct and that it is neither too big (/1) or too small (/32) – A /1 subnet mask on WAN will cause approximately half of the Internet to be unreachable, which may not be immediately obvious ● Ensure the correct gateway address is used, and that it is online and replies to ping – If it does not respond to ping, check the ARP table, it may still be online but require an alternate monitor IP address ● Check Diagnostics > Routes and ensure the default gateway is present and shown as “default” – If not, visit System > Routing, edit the gateway, check Default, Save, Apply
  • 10. LAN Configuration ● Check that the firewall LAN IP address is correct – It must not be in the same subnet as the WAN or any other directly connected interface – It must not be the subnet ID nor the broadcast IP address of a subnet (e.g. .0 or .255 in a / 24) – It must not conflict with anything else currently on the LAN segment (old routers, servers, etc) ● Check that the firewall LAN subnet mask is correct – And incorrect mask can lead to communication problems with hosts in the LAN or with VPNs and other remote networks – A /32 mask would prevent it from communicating with any host in the LAN ● Check that the LAN interface does not have a gateway selected under Interfaces > LAN – This would cause the firewall to treat the interface as a WAN-type interface when configuring automatic outbound NAT and firewall rules ● Check the other LAN interface settings to ensure things like “Block Private Networks” are not set
  • 11. Firewall Rules ● Check Status > System Logs, Firewall tab for blocked connections – If traffic should be allowed, it is either hitting a block rule or failing to match a pass rule ● Look at rule hit counters on the tab where traffic originates ● Check state table contents if the logs are inconclusive ● Check the protocol on firewall rules to ensure the traffic you are trying to pass will actually pass – Example: Rule set for TCP only will not pass ping (ICMP) or most DNS (UDP) ● Check that LAN Rules pass to a destination of any and not “WAN net” – “WAN net” is only the directly connected subnet including the WAN IP address, not “The Internet” ● Check LAN rule gateways, ensure traffic is not being misdirected ● Check Floating rule tab and interface group rules, which may hold forgotten or misconfigured rules ● Disable any installed firewall packages such as pfBlocker, at least until the connectivity issue is resolved
  • 12. Outbound NAT ● If traffic appears to be passing but cannot reach the Internet... ● Check the state table at Diagnostics > States, see what the WAN- side state looks like. If the connection only shows the local private IP address and the remote destination, NAT is not happening ● Firewall > NAT, Outbound tab ● Ensure NAT is set on auto or that there are appropriate rules for a source of the LAN exiting WAN ● If on auto, make sure that Interfaces > WAN has a gateway selected and that Interfaces > LAN does not ● Be sure to clear states between tests! – Diagnostics > States, Reset States tab
  • 13. Firewall Connectivity ● After checking all of the above, connectivity from the firewall should be working ● Diagnostics > DNS, try a DNS lookup – If it fails, check the DNS settings (next slide) ● Diagnostics > Ping, try a few Internet hosts by name and IP address – Repeat the test using a source interface of the LAN to test NAT ● Diagnostics > Traceroute, try a few Internet hosts ● Diagnostics > Test Port, try to connect out, for example, to TCP/80 on www.google.com ● If anything fails go back and check the settings on WAN again, and make sure there is no ISP issue
  • 14. DNS Issues ● While not truly a connectivity issue in most cases, a lack of functioning DNS will effectively prevent clients from reaching the Internet ● Test DNS from Diagnostics > DNS Lookup ● A few things additional issues can arise with DNS, which can affect client connectivity: ● Upstream firewall or router might erroneously be blocking large DNS queries ● DNS Resolver – Forwarding mode enabled ● Check DNS Servers under System > General Setup ● Disable DNSSEC it is not supported by the forwarders – Forwarding mode disabled ● Ensure the default gateway is working and that the firewall has unfiltered outbound access to TCP/UDP port 53 to any destination, as unbound must talk to the roots and other authoritative DNS servers ● DNS Forwarder – Check DNS Servers under System > General Setup
  • 15. Client Configuration ● Check the client IP address and mask to ensure they are in the correct subnet ● Check the client gateway to ensure it is pointed to the firewall IP address, not some other gateway – If the client must use another gateway, then it would require some other means of addressing traffic to/from pfSense – static routes, outbound NAT on LAN of the firewall to mask the source, etc ● Check the client DNS to ensure it is using valid DNS servers (e.g. firewall IP address) ● Test if the client can ping… – Its own IP address – The LAN IP address of the firewall ● If it fails, check LAN rules, client IP/mask, pfSense LAN IP/mask – The WAN IP address of the firewall ● If it fails, check the client IP/mask – The default gateway on WAN ● If it fails, check outbound NAT, client IP/mask – A host on the Internet by IP address ● If it fails, check LAN rules, outbound NAT, client IP/mask, firewall WAN IP/mask, firewall gateway – A host on the Internet by name ● If it fails, check client DNS, firewall DNS, and firewall rules to pass DNS
  • 16. Other Causes ● Captive Portal would prevent a LAN host from getting out and would also prevent a remote host (DMZ, WAN, or VPN) from reaching a host on LAN unless the LAN host is logged in – Add a bypass by MAC or IP address to allow connections without portal authentication ● IPsec tunnel, configured and enabled but not connected, will stop any traffic matching its P2s from flowing ● Misuse of static port on outbound NAT rules can cause what appear to be intermittent failures. Some clients work, others do not ● A misconfigured or malfunctioning package such as Squid could appear to make some traffic disappear or fail to function
  • 17. Conclusion ● Questions? ● Ideas for hangout topics? Post on forum, comment on the blog posts, Reddit, etc