PDA

View Full Version : Forwarding port 80


chiledogg
12-09-2003, 03:13 PM
Hello,

I have a linux machine running apache web server on port 81. I would like to forward all incoming port 81 to my linux machine on 10.0.0.1. Within my network i can browse 10.0.0.1:81 with no problem but when I try and access it through my public IP i get nothing. Also ssh is doing the same thing i can't access it from outside my lan.

I know my linux configuration is correct because apache and ssh both work fine with my optus cable connection.

I have set up NAT ,through web interface and telnet, to set the default server as 10.0.0.1. is their something i'm missing??

Command i used for telnet was: nat defserver addr 10.0.0.254.

Help please

AlexP

chiledogg
13-09-2003, 09:53 PM
oops.

I mean: nat defserver addr 10.0.0.1

not: nat defserver addr 10.0.0.254

CyberStriker
26-09-2003, 02:07 AM
Are you sure you have your Port Forwarding tables correct?

Are you sure your Linux box is listening on the correct interfaces?

Do a tcpdump to make sure you are getting the packets forwarded and make sure they are going to the correct ports first.

Once you have that looking correct, then it's just a matter of making sure the daemons are listening on the correct ports and interfaces.