cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
485
Views
0
Helpful
1
Replies

Creating ACL to allow only ftp traffic from specific host to specific host

rickg
Level 1
Level 1

I am trying to allow host 1.2.3.4 to ftp to host 10.5.0.1 and block all other traffic.

access-list 101 permit tcp host 1.2.3.4 host 10.5.0.1 eg ftp

access-list 101 deny 1.2.0.0 0.0.255.255 10.5.0.2 eq ftp

does this look right?

1 Reply 1

tvanderwerken
Level 1
Level 1

In truth you don't need the deny statement at the end, access list are such that there is an implict deny already. But other then that if you change the eg to eq then it should work.

Review Cisco Networking for a $25 gift card