Taste of Training Webinar Series Hardening access to network services with iptables Rob Locke 163975309 Webinar HardeningAccessNetworkServices 20130827

background image

Taste of Training Webinar Series

Hardening access to network

services with iptables

Rob Locke
Curriculum Manager - Linux
August 27, 2013

background image

ROBERT LOCKE

2

Hardening access to network services with iptables

Review how to establish a stateful host firewall

Learn iptables rule-management practices for using
iptables remotely

Discover how to troubleshoot iptables problems

background image

ROBERT LOCKE

3

iptables as a filter

Table filter contains 3 predefined chains: INPUT,
FORWARD, and OUTPUT

A chain is a list of rules

A rule is a set of matching criteria and a target:
ACCEPT, DROP, REJECT ...

background image

ROBERT LOCKE

4

Demo

background image

ROBERT LOCKE

5

iptables matching criteria

-i , -o : interfaces

-s, -d : IP addresses

-p : protocol (i.e. tcp, udp, icmp)

-m : match extensions (i.e. tcp, udp, state)

--sport, --dport : port (coupled with -m)

--state : coupled with -m state for stateful packet

inspection

background image

ROBERT LOCKE

6

Demo

background image

ROBERT LOCKE

7

iptables persistence

service iptables save

/etc/sysconfig/iptables

Process:

iptables command ; service iptables save

Edit /etc/sysconfig/iptables ; service
iptables restart

background image

ROBERT LOCKE

8

Demo

background image

ROBERT LOCKE

9

Hardening access to network services with iptables

Review how to establish a stateful host firewall

Learn iptables rule-management practices for using
iptables remotely

Discover how to troubleshoot iptables problems

background image

ROBERT LOCKE

10

iptables rule management practices

Use a script:

iptables -F

iptables commands

service iptables save

Remote getting locked out?

iptables-save > /tmp/saveme-iptables

at now + 30 min

iptables-restore /tmp/saveme-iptables

background image

ROBERT LOCKE

11

Demo

background image

ROBERT LOCKE

12

Hardening access to network services with iptables

Review how to establish a stateful host firewall

Learn iptables rule-management practices for using
iptables remotely

Discover how to troubleshoot iptables problems

background image

ROBERT LOCKE

13

Troubleshoot missing iptables module

Target: LOG

Sends data to /var/log/messages

Does not exit chain

Netfilter modules

/lib/modules/$(uname -r)/kernel/net/netfilter

/lib/modules/$(uname -r)/kernel/net/ipv4/netfilter

/etc/sysconfig/iptables-config

background image

ROBERT LOCKE

14

Demo

background image

ROBERT LOCKE

15

Hardening access to network services with iptables

Review how to establish a stateful host firewall

Learn iptables rule-management practices for using
iptables remotely

Discover how to troubleshoot iptables problems

background image

Questions?

background image

ROBERT LOCKE

17

Spare Demo(s)

background image

For more information

Red Hat Server Hardening (RH413)

www.redhat.com/training/courses/rh413/


Document Outline


Wyszukiwarka

Podobne podstrony:
SHSBC353 RELATIONSHIP OF TRAINING TO OT
Reviews and Practice of College Students Regarding Access to Scientific Knowledge A Case Study in Tw
Palma Helena Women s restricted access to masonic spirituality in 18th century Europe a case of bet
Application Of Multi Agent Games To The Prediction Of Financial Time Series
Access to History 001 Gas Attack! The Canadians at Ypres, 1915
Principles of Sigma Delta Conversion for Analog to Digital Converters
[2006] Application of Magnetic Energy Recovery Switch (MERS) to Improve Output Power of Wind Turbine
Analysis of Gangs Why are Youth drawn to them
PBO-PD01-F08 Protocol of training on Qsms, Akademia Morska, Chipolbrok
Access to History 002 Futility and Sacrifice The Canadians on the Somme, 1916
Akumulator do?TERPILLAR CONSTRUCTION SERIES?5 to?8?0 to
Applying Principles of Neurodevelopment to Clinical Work with Maltreated and Traumatized Children
ROK 1 sem2  Text 1 Taste of tomorrow
Of Mice and Man Emotional Reaction to the Novel
The crime of bad Power Point and how to avoid it
Access to History 001 Gas Attack! The Canadians at Ypres, 1915
Principles of Sigma Delta Conversion for Analog to Digital Converters
Garr, Amber Betrayal Book Two of The Syrenka Series
Applying Principles of Neurodevelopment to Clinical Work with Maltreated and Traumatized Children

więcej podobnych podstron