Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > PIX 525: Restricting www access

Reply
Thread Tools

PIX 525: Restricting www access

 
 
Jon Doe
Guest
Posts: n/a
 
      09-18-2005

Hi,

I'm new to PIX configs and I have a question. I'd like to put on of my
companies intranet sites out on the internet, but I'd like only specific IP
addresses to be able to connect to it. Please help me confirm if these are
the right commands:

access-list outside permit tcp host 65.25.x.x host 208.242.x.x eq www
access-list outside permit tcp host 65.25.x.x host 208.242.x.x eq https

or please help in how do I accomplish what I'm trying to do. Thanks in
advance!



 
Reply With Quote
 
 
 
 
Walter Roberson
Guest
Posts: n/a
 
      09-18-2005
In article <waCdnZm-lOReDLDeRVn->,
Jon Doe <> wrote:
:I'm new to PIX configs and I have a question. I'd like to put on of my
:companies intranet sites out on the internet, but I'd like only specific IP
:addresses to be able to connect to it. Please help me confirm if these are
:the right commands:

:access-list outside permit tcp host 65.25.x.x host 208.242.x.x eq www
:access-list outside permit tcp host 65.25.x.x host 208.242.x.x eq https

Those are plausible, provided that 65.25.x.x is a remote host
that you want to permit access from and 208.242.x.x is the -public-
address of the local host that you want to permit access to.

You will also need

access-group outside in interface outside

(the first 'outside' being the name of the ACL.)

You will also need a 'static' command to make the connection between
the public IP 208.242.x.x and the internal private IP of the appropriate
computer. Even if the public IP is the same as the private IP, you
will still need a 'static' command to tell the PIX that it is okay
to allow the packets through:

static (inside,outside) 208.242.x.x 192.168.242.15 netmask 255.255.255.255 0 0

or

static (inside,outside) 208.242.x.x 208.242.x.x netmask 255.255.255.255 0 0


{
To be a bit more complete:

- in some cases, there is one particular form of the 'nat' command that
might be useable instead of 'static'

- instead of static'ing the entire IP address, you could be more specific,
static (inside,outside) tcp 208.242.x.x www 192.168.242.15 www netmask 255.255.255.255 0 0

}
--
"I will speculate that [...] applications [...] could actually see a
performance boost for most users by going dual-core [...] because it
is running the adware and spyware that [...] are otherwise slowing
down the single CPU that user has today" -- Herb Sutter
 
Reply With Quote
 
 
 
 
Jon Doe
Guest
Posts: n/a
 
      09-18-2005

Ok it worked. Thanks much!

"Walter Roberson" <> wrote in message
news:dgk67u$nun$...
> In article <waCdnZm-lOReDLDeRVn->,
> Jon Doe <> wrote:
> :I'm new to PIX configs and I have a question. I'd like to put on of my
> :companies intranet sites out on the internet, but I'd like only specific
> IP
> :addresses to be able to connect to it. Please help me confirm if these
> are
> :the right commands:
>
> :access-list outside permit tcp host 65.25.x.x host 208.242.x.x eq www
> :access-list outside permit tcp host 65.25.x.x host 208.242.x.x eq https
>
> Those are plausible, provided that 65.25.x.x is a remote host
> that you want to permit access from and 208.242.x.x is the -public-
> address of the local host that you want to permit access to.
>
> You will also need
>
> access-group outside in interface outside
>
> (the first 'outside' being the name of the ACL.)
>
> You will also need a 'static' command to make the connection between
> the public IP 208.242.x.x and the internal private IP of the appropriate
> computer. Even if the public IP is the same as the private IP, you
> will still need a 'static' command to tell the PIX that it is okay
> to allow the packets through:
>
> static (inside,outside) 208.242.x.x 192.168.242.15 netmask 255.255.255.255
> 0 0
>
> or
>
> static (inside,outside) 208.242.x.x 208.242.x.x netmask 255.255.255.255 0
> 0
>
>
> {
> To be a bit more complete:
>
> - in some cases, there is one particular form of the 'nat' command that
> might be useable instead of 'static'
>
> - instead of static'ing the entire IP address, you could be more specific,
> static (inside,outside) tcp 208.242.x.x www 192.168.242.15 www netmask
> 255.255.255.255 0 0
>
> }
> --
> "I will speculate that [...] applications [...] could actually see a
> performance boost for most users by going dual-core [...] because it
> is running the adware and spyware that [...] are otherwise slowing
> down the single CPU that user has today" -- Herb Sutter



 
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
home network but restricting childrens access to the web =?Utf-8?B?YW5keSBi?= Wireless Networking 4 07-26-2005 12:31 PM
PIX: How-to: restricting ports used for PAT guru@progon.net Cisco 4 07-20-2004 05:26 PM
Restricting hosts to certain networks on PIX GKurcon Cisco 1 06-27-2004 07:27 PM
PIX NIX : A simple static and access-list (below) seems to have prevented ANY access through the PIX to the web. J Bard Cisco 2 01-10-2004 06:44 PM
vpnclient access to remote pix via pix-pix tunnel Bill F Cisco 1 11-25-2003 06:03 AM



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