Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

ACL

tiny ACL implementation by m4ghaniofficial@gmail.com

This project was developed to explore the design of network ACLs and CLI-based configuration. 
It supports creating standard ACL rules, applying them to interfaces, and managing configurations through an interactive command-line interface.

Build and Debug

mkdir build
cd build
cmake ..
cmake --build .

Usage

Use below command to start the program:

./main

ACL-number range =

[1-99],[1300-1999]

Commands

Add new rule.

access-list access-list-number {permit|deny} {source/mask} [log]

Apply iptables-rules to an interface.

ip access-group number {in|out} interface <interface>

Delete all rules in a access-list.

no access-list access-list-number

Add "no" to the beggining of acl commands to delete that command.

List all ACL commands on program.

show std-acl

Exit the program.

exit

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages