Yeah I know it doesn't make any sense to me either. Current pf.conf:
Everything works as it should, except when I ssh from the machine running this firewall (192.168.1.2) into another machine on the lan (192.168.1.9) I can't run a shell. I can run remote commands via ssh, for example:
$ ssh 192.168.1.9 ls
This runs exactly as you would expect. But,
$ ssh 192.168.1.9
shows me the banner and motd from the remote machine but nothing I type is echoed, and no command output if I try to run anything.
Everything works as expected with the firewall down. Ssh from the server out to a remote host on the internet works fine too, even with the firewall up. What would prevent traffic back from another host on my lan, and only when running a shell with ssh?
Thanks!
Code:
set skip on lo
block in all
pass in from 192.168.1.0/24 to any
pass in from 70.250.105.253 to any
pass out all
Everything works as it should, except when I ssh from the machine running this firewall (192.168.1.2) into another machine on the lan (192.168.1.9) I can't run a shell. I can run remote commands via ssh, for example:
$ ssh 192.168.1.9 ls
This runs exactly as you would expect. But,
$ ssh 192.168.1.9
shows me the banner and motd from the remote machine but nothing I type is echoed, and no command output if I try to run anything.
Everything works as expected with the firewall down. Ssh from the server out to a remote host on the internet works fine too, even with the firewall up. What would prevent traffic back from another host on my lan, and only when running a shell with ssh?
Thanks!