Community discussions

MUM Europe 2020
 
randy601
newbie
Topic Author
Posts: 38
Joined: Mon Jun 12, 2006 9:44 pm
Location: Meridian, MS (US)

HTTP Redirect

Mon May 07, 2007 11:26 pm

I need a little help redirecting in dst-nat. Let's say the IP of my machine is 68.70.0.2 If you http to that you get the MT weblog in. I am not running a hotspot. Instead of it going to a login screen I want to redirect it to 10.18.0.135 which is an in house web server. I know how to do dst-nat but it won't let it through because it's an unauthorized connection.
Any Help?
Thanks!
 
User avatar
mneumark
Member
Member
Posts: 375
Joined: Thu Jun 08, 2006 7:20 am
Location: Escalon, CA
Contact:

Re: HTTP Redirect

Tue May 08, 2007 8:54 am

I need a little help redirecting in dst-nat. Let's say the IP of my machine is 68.70.0.2 If you http to that you get the MT weblog in. I am not running a hotspot. Instead of it going to a login screen I want to redirect it to 10.18.0.135 which is an in house web server. I know how to do dst-nat but it won't let it through because it's an unauthorized connection.
Any Help?
Thanks!
Randy601,

What is the exact error message you are getting?

Matt
 
User avatar
usrox
just joined
Posts: 24
Joined: Sat Sep 17, 2005 7:59 am

Wed May 09, 2007 2:01 pm

Hi, You can change the www service port with /ip service set www port=8899 and then you can add dst-nat rule :

chain=dstnat dst-address=[public-ip] protocol=tcp dst-port=80 action=dst-nat to-addresses=[local-server-ip] to-ports=80

Who is online

Users browsing this forum: Google [Bot] and 51 guests