Practice - chendavorn.weebly.com€¦ · Web viewiptables-v -L -n. We test LAN Staff to know...
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](https://reader036.fdocuments.us/reader036/viewer/2022071217/604b1ea139a844372650d870/html5/thumbnails/1.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022071217/604b1ea139a844372650d870/html5/thumbnails/2.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022071217/604b1ea139a844372650d870/html5/thumbnails/3.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022071217/604b1ea139a844372650d870/html5/thumbnails/4.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022071217/604b1ea139a844372650d870/html5/thumbnails/5.jpg)
- 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](https://reader036.fdocuments.us/reader036/viewer/2022071217/604b1ea139a844372650d870/html5/thumbnails/6.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022071217/604b1ea139a844372650d870/html5/thumbnails/7.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022071217/604b1ea139a844372650d870/html5/thumbnails/8.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022071217/604b1ea139a844372650d870/html5/thumbnails/9.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022071217/604b1ea139a844372650d870/html5/thumbnails/10.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022071217/604b1ea139a844372650d870/html5/thumbnails/11.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022071217/604b1ea139a844372650d870/html5/thumbnails/12.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022071217/604b1ea139a844372650d870/html5/thumbnails/13.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022071217/604b1ea139a844372650d870/html5/thumbnails/14.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022071217/604b1ea139a844372650d870/html5/thumbnails/15.jpg)
![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](https://reader036.fdocuments.us/reader036/viewer/2022071217/604b1ea139a844372650d870/html5/thumbnails/16.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022071217/604b1ea139a844372650d870/html5/thumbnails/17.jpg)
The End…!