I have FreeBSD installed and with it I had couple of issues.
Problem No. 1
When I installed apache using the ports
make install clean
It had also fetched tcpwrappers which I was not aware of.
When I tried connecting to it locally it wont allow me to connect it says
So I had to add this entry to /etc/hosts.allow
sshd :192.168.0.10: ALLOW
192.168.0.10 is the system from where I am connecting.
Note : By default freeBSD root access through ssh is disabled.
Also make sure your nameserver entries are properly configured in your freebsd.
If its able to resolve to external domains.
After adding the above entry I am able to ssh from 192.168.0.10
Problem No. 2
Now its the turn of http... when I try to do a http://192.168.0.10
It says Connection refused ... this was wired since I was using http service for some time now with my freebsd and all was well with it.
The settings in
were fine this was Listenning to port 80 on FreeBSD lnc0
wont start either.
I could see netstat did not show http running.
/usr/local/sbin/httpd this worked but is not a proper way to start http
After searching forums and IRC, I have added
I used apache2 since in rc.d its mentioned
freebsd# /usr/local/etc/rc.d/apache2.sh start
Now the http service is working