Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > acl for restricting access to outbound port 25

Reply
Thread Tools

acl for restricting access to outbound port 25

 
 
Chad Whitten
Guest
Posts: n/a
 
      05-04-2004
switch is a cisco 3550. all ports are in 1 vlan, vlan10 with 1 port
not in switchport mode. all routing is done on the switch with the
default route being the device plugged into port 1. default route for
all other devices on switch is the vlan10 address. i want to block
all outbound access to port 25 on any host except for 1 or 2. im
pretty sure ive got the acl for this, just not sure where to apply it
exactly as this is a switch and not a router.

here is snip of config

int fa0/1
no switchport
ip address 192.168.1.2 255.255.255.0
!
!
int vlan10
ip address xxx.xxx.96.1 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
access-list 130 permit tcp any host yyy.yyy.yyy.15 eq smtp
access-list 130 deny tcp any any eq smtp
access-list 130 permit ip any any

should i apply the acl to int fa0/1 or vlan10?

on my 1700's and 2600's i apply these acls to the serial interface so
im thinking i would apply here to the fa0/1 interface as its the
outward facing interface but since the 3550's are remote and i dont
have a spare to test on, i dont want to make a mistake.
 
Reply With Quote
 
 
 
 
Barry Margolin
Guest
Posts: n/a
 
      05-04-2004
In article < >,
(Chad Whitten) wrote:

> switch is a cisco 3550. all ports are in 1 vlan, vlan10 with 1 port
> not in switchport mode. all routing is done on the switch with the
> default route being the device plugged into port 1. default route for
> all other devices on switch is the vlan10 address. i want to block
> all outbound access to port 25 on any host except for 1 or 2. im
> pretty sure ive got the acl for this, just not sure where to apply it
> exactly as this is a switch and not a router.
>
> here is snip of config
>
> int fa0/1
> no switchport
> ip address 192.168.1.2 255.255.255.0
> !
> !
> int vlan10
> ip address xxx.xxx.96.1 255.255.255.0
> !
> ip route 0.0.0.0 0.0.0.0 192.168.1.1
> !
> access-list 130 permit tcp any host yyy.yyy.yyy.15 eq smtp
> access-list 130 deny tcp any any eq smtp
> access-list 130 permit ip any any
>
> should i apply the acl to int fa0/1 or vlan10?
>
> on my 1700's and 2600's i apply these acls to the serial interface so
> im thinking i would apply here to the fa0/1 interface as its the
> outward facing interface but since the 3550's are remote and i dont
> have a spare to test on, i dont want to make a mistake.


You can either apply it with "ip access-group 130 out" to the outward
facing interface, or "ip access-group 130 in" on the VLAN interface.

--
Barry Margolin,
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
 
Reply With Quote
 
 
 
 
Chad Whitten
Guest
Posts: n/a
 
      05-04-2004
thanks

Barry Margolin <> wrote in message news:<barmar->...
> In article < >,
> (Chad Whitten) wrote:
>
> > switch is a cisco 3550. all ports are in 1 vlan, vlan10 with 1 port
> > not in switchport mode. all routing is done on the switch with the
> > default route being the device plugged into port 1. default route for
> > all other devices on switch is the vlan10 address. i want to block
> > all outbound access to port 25 on any host except for 1 or 2. im
> > pretty sure ive got the acl for this, just not sure where to apply it
> > exactly as this is a switch and not a router.
> >
> > here is snip of config
> >
> > int fa0/1
> > no switchport
> > ip address 192.168.1.2 255.255.255.0
> > !
> > !
> > int vlan10
> > ip address xxx.xxx.96.1 255.255.255.0
> > !
> > ip route 0.0.0.0 0.0.0.0 192.168.1.1
> > !
> > access-list 130 permit tcp any host yyy.yyy.yyy.15 eq smtp
> > access-list 130 deny tcp any any eq smtp
> > access-list 130 permit ip any any
> >
> > should i apply the acl to int fa0/1 or vlan10?
> >
> > on my 1700's and 2600's i apply these acls to the serial interface so
> > im thinking i would apply here to the fa0/1 interface as its the
> > outward facing interface but since the 3550's are remote and i dont
> > have a spare to test on, i dont want to make a mistake.

>
> You can either apply it with "ip access-group 130 out" to the outward
> facing interface, or "ip access-group 130 in" on the VLAN interface.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ACL-restricting access for some users lcekid08 Cisco 0 08-10-2008 08:23 AM
Basic ACL Question - Outbound Traffic Dan Foxley Cisco 9 05-04-2006 03:55 PM
IPSEC tunnel through outbound ACL on PIX 501 xman Cisco 4 05-15-2005 11:39 PM
Outbound ACL question concord Cisco 1 10-28-2004 01:00 AM
Outbound ACL's and Windows Update DRice Cisco 0 10-30-2003 06:30 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57