= Iptables ! Apostolos rootApostolos@swarmlab.io // Metadata: :description: Intro and Install :keywords: sec, iptables :data-uri: :toc: right :toc-title: Πίνακας περιεχομένων :toclevels: 4 :source-highlighter: highlight :icons: font :sectnums: {empty} + [[cheat-Docker]] == Install swarmlab-sec (Home PC) HowTo: See http://docs.swarmlab.io/lab/sec/sec.adoc.html .NOTE [NOTE] ==== Assuming you're already logged in ==== == Find IP .Step 1 (find local IP) [source,bash] ---- # ifconfig eth0: flags=4163 mtu 1500 inet 172.21.0.2 netmask 255.255.0.0 broadcast 172.21.255.255 ether 02:42:ac:15:00:02 txqueuelen 0 (Ethernet) RX packets 61 bytes 9309 (9.3 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73 mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 loop txqueuelen 1000 (Local Loopback) RX packets 248 bytes 14260 (14.2 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 248 bytes 14260 (14.2 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 ---- CAUTION: inet ***172.21.0.2*** netmask 255.255.0.0 broadcast 172.21.255.255 == Find live hosts .Step 2 (find live hosts on network) [source,bash] ---- nmap -sP 83.212.114.* ---- == Find open Ports .Step 3 (find open ports) [source,bash] ---- nmap -sP 83.212.114.* ---- :hardbreaks: {empty} + {empty} + {empty} :!hardbreaks: ''' .Reminder [NOTE] ==== :hardbreaks: Caminante, no hay camino, se hace camino al andar. Wanderer, there is no path, the path is made by walking. *Antonio Machado* Campos de Castilla ====