Results 1 to 2 of 2
Hello, I setup a home network. Here is the setting. DSL goes into a router, a router behaves as a DHCP. Router assigns the windows machine the IP address of ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-27-2008 #1
- Join Date
- May 2008
Home network with Windows and FreeBSD
I setup a home network. Here is the setting.
DSL goes into a router, a router behaves as a DHCP. Router assigns the windows machine the IP address of 192.168.1.2, it assigns the FreeBSD machine the IP address of 192.168.1.3. It reserves 192.168.1.1 for itself.
Windows machine can ping FreeBSD and vice versa. No problem at all.
Windows has apache2 running. On windows machine, I can do cPanel®, no problem at all. But when I try to connect to the windows machine from FreeBSD by doing http://192.168.1.2 on the FreeBSD, browser could not find the site.
FreeBSD has apache2 running as well. If do cPanel® on FreeBSD, no problem. But when I try to connect to the FreeBSD machine from Windows by doing http://192.168.1.3 on the Windows, browser could not find the site.
What is going on here? Could someone please point me at the right direction?
- 06-15-2008 #2
- Join Date
- Dec 2004
Pinging is not the same as connecting. In other words, with ping alone you have achieved very little. If you do a sshd restart (as root) and subsequently ssh to the Windows machine, you should be able to reach it. Vice versa, if you have putty installed on the Windows machine you should be able to reach the FreeBSD machine. Also google for "hosts.allow", which is the FreeBSD file for hosts that should specifically be allowed or disallowed.