Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know...

19
Submitted to : Mr. Tith Seth Submitted by : KHOEM Chendavorn Class : SNA-213 “A” Deadline : Sunday 18 th , November 2012 PASS EREL LES NUME RKIQ UES CAMB ODIA Network Administrator IPTABLES Contact: Phone Number: 0972685549 E-mail Address: [email protected] School’s mail : [email protected]

Transcript of Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know...

Page 1: Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know whether clients can obtain IP address from DHCP or not. We test LAN Students to know

Submitted to : Mr. Tith Seth

Submitted by : KHOEM Chendavorn

Class : SNA-213 “A”

Deadline : Sunday 18th , November 2012

PASSERELLES NUMERKIQU

ES CAMBODIA

Network Administrator

IPTABLES

Contact:

Phone Number: 0972685549

E-mail Address: [email protected]

School’s mail : [email protected]

Website : chendavorn.weebly.com

Page 2: Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know whether clients can obtain IP address from DHCP or not. We test LAN Students to know

Tastes:

Allow Staff and Students to obtain IP address DHCP Server

Allow Staff and Students to use DNS Server

Allow Staff and Students to access to FTP Server

Allow only 5 staffs to remote ssh to Linux SSH

Allow Staff and Students to join Domain

Allow only 5 staffs to Remote Desktop to Server (DNS Server, DHCP Server...)

Network Structure

Page 3: Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know whether clients can obtain IP address from DHCP or not. We test LAN Students to know

Table of Contents

I. Practice..........................................................................................................41. Allow Staff and Students to obtain IP address from DHCP Server......................................4

1.1. We test LAN Staff to know whether clients can obtain IP address from DHCP or not................6

1.2. We test LAN Students to know whether clients can obtain IP address from DHCP or not.........6

2. Allow Staff and Students to use DNS Server.......................................................................7

2.1. We test LAN Staff to know whether clients can use DNS Server or not........................................7

2.2. We test LAN Students to know whether clients can use DNS Server or not................................8

3. Allow Staffs and Students to access to FTP Server............................................................8

3.1. Test LAN Staffs to know whether they can access to FTP Server or not......................................9

3.2. Test LAN Students to know whether they can access to FTP Server or not................................9

4. Allow only 5 staffs to remote ssh to Linux SSH.................................................................10

5. Allow Staff and Students to join Domain............................................................................11

5.1. Test LAN Staffs to know whether they can join domain or not.....................................................12

5.2. Test LAN Students to know whether they can join domain or not................................................13

6. Allow only 5 staffs to remote Desktop to Server (DNS Server, DHCP Server…)..............14

Page 4: Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know whether clients can obtain IP address from DHCP or not. We test LAN Students to know

I. Practice1. Allow Staff and Students to obtain IP address from DHCP Server

- We type vim ip.sh to write rules to allow clients to obtain IP address from DHCP.

- Make the file ip.sh to start up.

Page 5: Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know whether clients can obtain IP address from DHCP or not. We test LAN Students to know

- Edit the file as following

- View the current rule by entering: iptables -v -L -n

Page 6: Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know whether clients can obtain IP address from DHCP or not. We test LAN Students to know

1.1. We test LAN Staff to know whether clients can obtain IP address from DHCP or not.

1.2. We test LAN Students to know whether clients can obtain IP address from DHCP or not.

Page 7: Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know whether clients can obtain IP address from DHCP or not. We test LAN Students to know

2. Allow Staff and Students to use DNS Server

2.1. We test LAN Staff to know whether clients can use DNS Server or not.

Page 8: Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know whether clients can obtain IP address from DHCP or not. We test LAN Students to know

2.2. We test LAN Students to know whether clients can use DNS Server or not.

3. Allow Staffs and Students to access to FTP Server

Page 9: Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know whether clients can obtain IP address from DHCP or not. We test LAN Students to know

3.1. Test LAN Staffs to know whether they can access to FTP Server or not.

3.2. Test LAN Students to know whether they can access to FTP Server or not.

Page 10: Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know whether clients can obtain IP address from DHCP or not. We test LAN Students to know

4. Allow only 5 staffs to remote ssh to Linux SSH

The result

Page 11: Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know whether clients can obtain IP address from DHCP or not. We test LAN Students to know

5. Allow Staff and Students to join Domain

Page 12: Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know whether clients can obtain IP address from DHCP or not. We test LAN Students to know

5.1. Test LAN Staffs to know whether they can join domain or not.

Page 13: Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know whether clients can obtain IP address from DHCP or not. We test LAN Students to know

5.2. Test LAN Students to know whether they can join domain or not.

Page 14: Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know whether clients can obtain IP address from DHCP or not. We test LAN Students to know

6. Allow only 5 staffs to remote Desktop to Server (DNS Server, DHCP Server…)

Page 15: Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know whether clients can obtain IP address from DHCP or not. We test LAN Students to know
Page 16: Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know whether clients can obtain IP address from DHCP or not. We test LAN Students to know

The End…!

Page 17: Practice - chendavorn.weebly.com€¦  · Web viewiptables-v -L -n. We test LAN Staff to know whether clients can obtain IP address from DHCP or not. We test LAN Students to know

The End…!