You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.2 KiB
55 lines
1.2 KiB
5 years ago
|
= sec
|
||
|
// Metadata:
|
||
|
:description: Sec
|
||
|
:keywords: doc
|
||
|
:data-uri:
|
||
|
:toc: right
|
||
|
:toc-title: Πίνακας περιεχομένων
|
||
|
:toclevels: 4
|
||
|
:source-highlighter: highlight
|
||
|
:icons: font
|
||
|
:sectnums:
|
||
|
|
||
|
|
||
|
{empty} +
|
||
|
|
||
|
|
||
|
[[cheat-clone]]
|
||
|
== Ασκηση
|
||
|
|
||
|
|
||
|
=== Δημιουργήστε δίκτυα στον docker HOST
|
||
|
|
||
|
image:./B05453_02_01.jpg[alt="Arduino.",width=250,height=250]
|
||
|
|
||
|
|
||
|
Δείτε: http://docs.swarmlab.io/lab/sec/ex-4_iptables.adoc.html#_shorewall
|
||
|
|
||
|
|
||
|
=== Δημιουργήστε δίκτυα in docker container
|
||
|
|
||
|
image:./multi_tenant_8021q_vlans.png[alt="Arduino.",width=250,height=250]
|
||
|
|
||
|
image:./MKXmW.png[alt="Arduino.",width=250,height=250]
|
||
|
|
||
|
Δείτε: http://docs.swarmlab.io/lab/sec/ex-4_iptables.adoc.html#_shorewall
|
||
|
|
||
|
|
||
|
=== Tasks
|
||
|
|
||
|
==== Allow Internet connection
|
||
|
|
||
|
==== Allow **only** connection from Network A -> B, B -> A port 80
|
||
|
|
||
|
- Δείτε: http://docs.swarmlab.io/lab/sec/ex-6_iptables.adoc.html
|
||
|
|
||
|
==== Open SSH Tunnel from NETWORK-A(port 80) -> MASTER(port 8080) and connect from HOST -> MASTER port 9000
|
||
|
|
||
|
image:./ssh-local3.png[alt="Arduino.",width=250,height=250]
|
||
|
|
||
|
Δείτε: http://docs.swarmlab.io/lab/sec/ex-6_iptables.adoc.html
|
||
|
|
||
|
==== Create VPN
|
||
|
|
||
|
- Δείτε: http://docs.swarmlab.io/lab/sec/ex-5_iptables.adoc.html
|