NAT-NAPT

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?
Reply to
vitibor
Loading thread data ...

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.

Reply to
Martin Gallagher

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.