×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

HTTP->HTTPS redirect at PIX?

Unanswered Question
Jun 26th, 2002
User Badges:
  • Bronze, 100 points or more

We have a solaris box behind a pix firewall. We would like to not allow port 80 traffic to the server for security reasons and only allow 443. But if users in advertently go to the http:// URL instead of the https:// - they get a page not found error which doesn't look so good. What can you recommend to help in this situation? Something in the PIX? Other?


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
alexis.fidalgo Wed, 07/03/2002 - 12:49
User Badges:

ok, suppose the lan connected to inside interface is 10.0.0/24

and the webserver at 10.0.0.2

and the ip in the outside interface is 200.0.0.1

try using


nat (inside) 1 0 0

global (outside) interface

static (inside,outside) tcp interface 80 10.0.0.2 443 netmask 255.255.255.255

static (inside,outside) tcp interface 443 10.0.0.2 443 netmask 255.255.255.255

I hope it helps


Actions

This Discussion