Hello community,
I am a new FreeBSD user but being using Debian GNU/Linux for years. My quick question is about
The file /etc/rc.conf contains
And I can
But from outside if I use
FreeBSD complains
I tried modifying /etc/hosts.allow and added the line
but it didn't work. Any suggestions?
Thanks.
KI
I am a new FreeBSD user but being using Debian GNU/Linux for years. My quick question is about
ssh
from outside LAN to a newly installed FreeBSD machine. The file /etc/rc.conf contains
Code:
sshd_enable="YES"
And I can
ssh
to the machine within LAN using
Code:
$ ssh -p 22 USER@192.168.X.XXX
But from outside if I use
Code:
$ ssh -p PORT_NUM USER@MY_IP
FreeBSD complains
ssh: connect to host MY_IP port PORT_NUM: Connection refused
. The PORT_NUM above has been set 'port forward' in router setting and tested working for Linux machines.I tried modifying /etc/hosts.allow and added the line
Code:
sshd : .my_university.edu : allow
but it didn't work. Any suggestions?
Thanks.
KI