You are on page 1of 5

Linux System Administration

Practical #7

Name Kinjal Koli Roll Number 21302A0004


Class TYIT Division C
Subject/Course Linux System Administration
Topic Firewall and Cryptographic Services

Securing Server with iptables


Open the firewall on the virtual machine for outgoing DNS, SSH , and HTTP traffic.

Iptables
Linux

Vidyalankar School of Information Technology


Fedora

Setting up Cryptographic Services


Create two user accounts: Linda and Lisa. Create a GPG key pair for each. As Lisa, create a file with the name sample.
Make sure to store it in Lisa’s home directory. Encrypt this file, and send it to Linda. As Linda, decrypt it and verify that
you can read the contents of the file.
User creation
Generating key using gpg –gen-key

Vidyalankar School of Information Technology


Vidyalankar School of Information Technology
Exporting file

Importing file

Vidyalankar School of Information Technology


Vidyalankar School of Information Technology

You might also like