[K12OSN] Several Different Questions

Petre Scheie petre at maltzen.net
Wed Jul 28 20:31:01 UTC 2004


If you can ssh into the LTSP box (using putty or whatever), that means 
that port 22 is open.  Look at /etc/sysconfig/iptables and you'll see a 
line something like this:

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j 
ACCEPT

Copy & paste that line, changing the 22 to 80 (make sure you don't just 
overwrite the line for port 22), save the file, run 'service iptables 
restart' and then run nmap again and see what you get.

BTW, noting that the iptables file says

# Firewall configuration written by redhat-config-securitylevel
# Manual customization of this file is not recommended.

but that redhat-config-securitylevel is braindead in that it only allows 
you to specify services to be accessible instead of just showing you the 
existing config and allowing you to add/remove/modify ports (what were 
they thinking?) what are other folks using to modify their firewall?

Petre

Michael Elliott wrote:

> Thanks for all of the advice thus far guys!
>
> The VNC is working great from my Win2000 Box to my LTSP!  Just as a 
> thought - several of my workstations have static IP addresses for 
> attached printers.  I tried to use the VNC to connect to their IP 
> address, but I kept getting a timeout.  Which makes sense since 
> nothing is actually at the IP Address - any ideas of things to try to 
> get access to the desktop of these machine for assisting users?
>
> Petre,
> I checked to make sure that apache is running and it is.  However, 
> when I ran "nmap localhost" port 80 was not listed.  I went to the 
> /etc/sysconfig/iptables file and I did not see where I should modify 
> to allow Port 80.  A bit of information that may have been useful as 
> well would be that Dansguardian is installed with Squid as well.  I 
> failed to mention that and I did fail to check to see if it was 
> blocking Port 80.  I have been using it mainly for content filtering 
> and monitoring.  But if the system is not listening on Port 80 - would 
> it even matter about the Dansguardin/Squid if the server was not 
> listening?  Do you have any suggestions as to where I should look for 
> the information about the server listening on Port 80?
> Thanks!
>
>
> Huck,
> I tried using "who" but I get the same list as when I type "finger"  
> Any other suggestions?  Thanks!
>
>
> Everyone - thanks for all of the advice thus far and I'll keep 
> plugging away at this stuff - hopefully with your help I get it all 
> figured out.
> Mike
>
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>





More information about the K12OSN mailing list