iptables-nmap manual

high

Image Types:
basesdk-amd64 / sdk-amd64 / target-armhf-internal / target-amd64
Image Deployment:
APT, OSTree
Type:
functional

Description

Test the firewall using nmap from another computer.


Resources

  • The tester needs an external computer with the nmap command available.
  • The external computer must be connected to the same network as the target.

Execution Steps

  1. From the external computer, check filtered/open/closed ports (the nmap command can take some time):
  2. $ nmap <sac_ip>

Expected

All ports are filtered, except port 80/tcp (http) which is closed.

Not shown: 999 filtered ports

PORT   STATE  SERVICE

80/tcp closed http

Notes

  • Make sure that you have disconnect the ethernet connection to the target before you start the tethering process.
  • In order to test the SDK image, the VirtualBox VM must be configured with a network attached to Bridged adaptor. The test cannot be run if the network is configured as NAT.