= 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 ==== [[cheat-swarmlab-up1]] == Find == Find IP .Step 1 (find local IP) [source,bash] ---- # ifconfig eth0 Link encap:Ethernet HWaddr aa:00:04:07:75:ab Link encap:Ethernet HWaddr aa:0c:f4:8e:72:9a inet addr:83.212.114.28 Bcast:83.212.115.255 Mask:255.255.254.0 inet6 addr: fe80::494d:387d:bf73:ee99/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:534819705 errors:0 dropped:0 overruns:0 frame:0 TX packets:515415338 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:122518018925 (122.5 GB) TX bytes:89030970483 (89.0 GB) ---- inet addr:**83.212.114.28** Bcast:83.212.115.255 Mask:255.255.254.0 + IP=83.212.114.28 == 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 ====