skb2005
IS-IT--Management
- Mar 8, 2005
- 129
I have a DSL Conn with ONE static ip and I want to host a web server inside my network. After doing a lots of research I found the following solution:
*********************************************************
access-list acl_in_http permit tcp any host MY.PUBLIC.IP eq 80
static (inside,outside) tcp MY.PUBLIC.IP 80 MY.LOCAL.IP 80 netmask 255.255.255.255 0 0
access-group acl_in_http in interface outside
access-list acl_in_https permit tcp any host MY.PUBLIC.IP eq 443
static (inside,outside) tcp MY.PUBLIC.IP 443 MY.LOCAL.IP 443 netmask 255.255.255.255 0 0
access-group acl_in_https in interface outside
*********************************************************
But some how it does not seems to work.
Am I missing anything??
Please help...!!!
*********************************************************
access-list acl_in_http permit tcp any host MY.PUBLIC.IP eq 80
static (inside,outside) tcp MY.PUBLIC.IP 80 MY.LOCAL.IP 80 netmask 255.255.255.255 0 0
access-group acl_in_http in interface outside
access-list acl_in_https permit tcp any host MY.PUBLIC.IP eq 443
static (inside,outside) tcp MY.PUBLIC.IP 443 MY.LOCAL.IP 443 netmask 255.255.255.255 0 0
access-group acl_in_https in interface outside
*********************************************************
But some how it does not seems to work.
Am I missing anything??
Please help...!!!