Hi,
I have installed FreeBSD 10 for a home server. The network interface is configured and /etc/rc.conf has the configuration detail like
Default router is also set in /etc/rc.conf. In /etc/rc.conf,
No firewall is set. /etc/pf.conf is not present and
. But if I try to connect to sshd like
sockstat(8) and netstat(8) confirm sshd running and listening in port 22 (default port). For confirmation of sshd running, I was to be connect from localhost. No messages in logs too. Changed the LogLevel in /etc/ssh/sshd_config to VERBOSE. Still no message in /var/log/messages. I wrote a simple server and started it. Again, sockstat(8) and netstat(8) confirmed the server as running and listening on port 9999. Trying to connect via HTTP from a browser externally did not work. But I was able to telnet using localhost and port.
So it is very clear that the system is allowing only localhost connections for services other than ping, which was successful. There is no problem with the internet connection or ISP as I am writing this message with the same LAN cable that was connected to the server, now connected to my laptop. Pls help in resolving this.
Adding more information, I downloaded the memstick image and used that to install FreeBSD 10 from an USB.
Thanks,
Balaji.
I have installed FreeBSD 10 for a home server. The network interface is configured and /etc/rc.conf has the configuration detail like
Code:
ifconfig_bge1="inet 10.12.12.24 netmask 255.255.255.0"
Code:
sshd_enable="YES"
pfctl -d gives the error
Code:
"/dev/pf no such file or directory"
/etc/rc.d/sshd status gives
Code:
sshd is running as pid 1184
ssh 10.12.12.24 -l abc ( IP address is not real one used, so is the user, just given here to describe the actual way of connection), I get connection refused. Same is the case with ssh [email=abc@10.12.12.24]abc@10.12.12.24[/email]. Nothing in logs.sockstat(8) and netstat(8) confirm sshd running and listening in port 22 (default port). For confirmation of sshd running, I was to be connect from localhost. No messages in logs too. Changed the LogLevel in /etc/ssh/sshd_config to VERBOSE. Still no message in /var/log/messages. I wrote a simple server and started it. Again, sockstat(8) and netstat(8) confirmed the server as running and listening on port 9999. Trying to connect via HTTP from a browser externally did not work. But I was able to telnet using localhost and port.
So it is very clear that the system is allowing only localhost connections for services other than ping, which was successful. There is no problem with the internet connection or ISP as I am writing this message with the same LAN cable that was connected to the server, now connected to my laptop. Pls help in resolving this.
Adding more information, I downloaded the memstick image and used that to install FreeBSD 10 from an USB.
Thanks,
Balaji.