- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2009 07:41 AM - edited 03-04-2019 03:42 AM
I have a Router configured with the following commands:
ip nat inside source static tcp 192.168.1.2 80 interface FastEthernet 0/1 80
It is working perfectly. I have a Public web server (http) with IP address 192.168.1.2
I want to know how many hits the Router encountered for the web server. Kindly guide me what configuration I have to do in the Router to get the detail of the number of hits the webserver had in a time.
regards,
R.B.Kumar
Solved! Go to Solution.
- Labels:
-
Other Routers
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2009 04:14 AM
R.B
access-list 101 permit tcp any
access-list 101 permit ip any any
then on the interface with the public IP address
int fa0/1
ip access-group 101 in
Make sure you include the "permit ip any any" line or all other traffic will be dropped.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2009 08:01 AM
You can place an Access List on your router public interface to permit port 80 tcp syn. The count would give you the number of connections.
Note that the GET for each of the pulls would increment the counter.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2009 08:17 AM
Make An inbound ACL with Private ip and port 80, on your LAN interface,
or Try inbound ACL with public ip an dport 80 on your WAN interface.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2009 07:20 PM
Hi,
Thanks for your comments.
Can you explain further how to do it?
Just by entering the ACL whether it will work?
R.B.Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2009 04:14 AM
R.B
access-list 101 permit tcp any
access-list 101 permit ip any any
then on the interface with the public IP address
int fa0/1
ip access-group 101 in
Make sure you include the "permit ip any any" line or all other traffic will be dropped.
Jon
