Date: Wed, 9 Nov 2005 08:39:18 -0500 From: "Steve Bertrand" <iaccounts@ibctech.ca> To: "'Lonnie Cumberland'" <lonnie@outstep.com>, <freebsd-questions@freebsd.org> Subject: RE: Any Default Firewall Installed? Message-ID: <20051109133922.6107943D49@mx1.FreeBSD.org> In-Reply-To: <437144EC.9060604@outstep.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> I have a fresh FreeBSD 4.11 server installed with multiple > IP's and am wondering if there is some type of default > firewall running? > > The problem is that after logging in, can not telnet to > either localhost or to one of the IP's, but can telnet to the > other IP that is assigned to the server. > > For this particular project and as needed by some particular > software that I have installed, I need to be able to telnet > to all of the IP's and also have SSH installed. > > I can only telnet to 1 of the 2 IP's. > > How can I fix this? Along with the other suggestions, here's one more (not to fix, but to test). If you have another FBSD box kicking around, install nmap on it: # pkg_add -r nmap # rehash ...and for each IP address on the affected box, run the following command: # nmap -sS -P0 -p 22,23 your.domain.or.ip.com # Note that the -P0 is -P(zero) ...actually, you can do this on the machine you *think* the services are running on, but the truth of the matter may be convaluted due to possible firewall evasion from going localhost to localhost. The sockstat trick as someone else mentioned will tell you if the services are listening (and who, if anyone is connected), and on which IP. An entry as such: *:23 means the service is listening on all IP's on the box. nmap will allow you to see if the ports that correlate with the service is accessable from outside the box. If both those are true, then you may have a rules problem somewhere. HTH, Steve > > Thanks, > Lonnie > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051109133922.6107943D49>