Bloque4-Tema9-IPTables Flashcards

1
Q

Que “apartados” tiene IP tables?

A

—->PREROUTING —–>INPUT—->
|
FORWARD
|
V
<– POSTROUTING<—–OUTPUT<——-

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Que tablas contiene el apartado Prerouting en iptables?

A

raw->connection tracking->mangle->nat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Que tablas contiene el apartado input en iptables?

A

mangle->filter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Que tablas contiene el apartado forward en iptables?

A

mangle->filter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Que tablas contiene el apartado output en iptables?

A

filter<-nat<-mangle<-connection tracking<-raw

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Que tablas contiene el apartado postrouting en iptables?

A

nat<-mangle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Cuales son caminos validos en iptables?

A

Prerouting-input.

Output-Postrouting.

-Prerouting-forward-postrouting.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Que pasa si hay varias reglas en una tabla(Cada uno de los cuadraditos), y una de ellas da match?

A

Que las demas reglas no se miran.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Cual es la tabla por defecto en IPtables?

A

Filter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Como vaciar todas las reglas de IPtables

A

iptables –flush

o

iptables -F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Ejemplo iptables ejercicios

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

guardar y borrar reglas ip tables

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Nota: -D en iptables elimina una regla

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Nota: con -P pones por defecto que politica va a haber, drop, accept, etc. por ejemplo:

sudo iptables -P INPUT DROP

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Para poder usar el camino forward

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Masquerading iptables

A