redirect web request to internal machine

May 04, 2006 1 Replies

Good day Everyone,



I have a cisco 2821 router and I am trying to figure out how to rediect a external web request to an internal machine sitting on vlan2.



I want to have people request a site at IP 204.67.26.123 and that request needs to be redirected to a box sitting on vlan2 at ip



192.168.0.10.

Any suggections would be great due to I have not found an answer yet.


thank you



ip nat inside source static tcp 1.2.3.4 80 5.6.7.8 80

Where 1.2.3.4 is your inside IP and 5.6.7.8 is your outside IP. You can also use the interface option if the outside IP happens to correspond to the IP of your web server. You can also use this to twist your ports.

formatting link
J

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required