You are not logged in.
My friend is setting up a server. He's running the base packages, openssh, apache, mysql, and php. The sshd and httpd daemons are running and functional, and he's using ALL:ALL in his /etc/hosts.allow. Everything works perfectly within his LAN. He can putty in via SSL and transfer files to and from via SFTP, and see his Apache page from another comp on the network through hypertext. However, he can't do any of the above from outside his LAN. Any suggestions?
Offline
My guess is that the router is blocking the relevant ports. log into the router and check out port forwarding.
Dusty
Offline
Port fowarding requires a static ip address. How can I do that for my linux box?
You don't have to use DHCP. Lets say your router DHCP range is 192.168.1.2 to 192.168.1.50, you can set any IP statically outside that range (on the same subnet).
Instead of eth0="dhcp" in rc.conf, you can do:
eth0="eth0 192.168.1.60 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(eth0)
gateway="default gw 192.168.1.1"
ROUTES=(gateway)
Offline
Hey thanks everyone! We got it all figured out, and the server works great now!
Offline