NAT special port

T

TC

I have a DSL connection, Which gets an IP address from ISP
dynamicallly.
I have NAT installed, everything works fine I am able to
connect to internet, all PCs on the network connect get
out too.

I have a webserver on private network I want to expose it
to the internet, so I use special port on the public
interface, created a special port

incoming port : 27
private address: 192.168.0.12
outgoing port: 80

when i try to connect from outside on port 27 to my public
IP address, i do not get to the webserver, it just gives
me the regular dns error.
this is what i type in the browser- http://x.x.x.x:27
ISP assigns the public interface the IP address and I use
that Ip address.

matter of fact i did a port scan on my public IP address,
port 27 is not even open on that interface.

how do I make this work. as i have read there seems to be
nothing else that needs to be done.

thanks
 
H

Herb Martin

incoming port : 27
private address: 192.168.0.12
outgoing port: 80

when i try to connect from outside on port 27 to my public
IP address, i do not get to the webserver, it just gives
me the regular dns error.
this is what i type in the browser- http://x.x.x.x:27

This should be working -- if you have set it up correctly.
(Sounds right.)

Try a higher port, like 8000, or something obscure up
there if you prefer. A lot of the ports down low are
technically in use, maybe their is an interference or a bug
that most people never see.

I presume you can connect to the IP address for other
thing, e.g., ping, etc, right?
 
T

TC

hi herb,

I did what you said putting in a heigher ports tried 8000,
9000, 9005 all sorts of port, none of them work.
Yes I can ping and do a traceroute to my Ip address
successfully.
I know my webserver is working fine as I access it
internally in my LAN from any PC without any problem.

incoming port : 8000 (also tried 9000, 9005. 8004)
private address: 192.168.0.12
outgoing port: 80

1)there is nothing else to configure as far a special
ports is concerned.
2)checked my webserver when i can access it from my LAN,
then I assume webserver is configured fine.
3) Can ping my external IP address and trac route to it.
4) tried a heigher port number
5) I get a Ip address dynamically so the ip changes
everytime I connect to ISP, I am use the Ip address
the ISP assigns.
6) After creating a special port 8000 mapping I did a port
scan on my public IP address port 8000 is not even open. I
would think once once I create the sp port that port is
opened on the public interface. ( i tried this with
creating with other port numbers they do not work either.

well what do you think.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top