NAT-NAPT

Dec 24, 2006 1 Replies

I want to set up my computer to work as a web server. I instaled apache web server on my computer. I tried to set up NAPT on my router. For "inside IP" I set IP address of my computer in LAN. For "outside IP" I set up outside IP address of my router. For "inside port" I set up port



80 (http with tcp). But I dont know what to choose for "outside port". Must I set the outside port to be the same as inside port (80) or can be different. I try many variants but it doesn't work. Can anybody help me with this thing?

No requirenent to be the same. Both these statements are valid.

! ip nat inside source static tcp 80 80 ip nat inside source static tcp 80 4444 !

You stand more chance of getting helpful advice if you provide your actual config, with security sensitive parts removed/obfuscated, than you do paraphrasing it like you did.

Join the Discussion

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

Didn't find your answer?

Ask the community — no account required