Hi,
I am learning FreeBSD and pf, and I have installed a machine with FreeBSD 7.0 and enabled pf.
I wanted to set it up as a deny by default and manually add the services I require.
So initally I have put the lines
block in all
pass out all keep state
Now I want to add an admin interface that will accept ssh, I have tried to add quite a number of commands to the pf.conf file and none of them allow me to logon via ssh, it prompts for the user name and I enter a valid user and instead of then prompting for the password it just hangs.
I do seem to be getting an error in the error log when this happens which is
sshd[1236]: error: ssh_msg_send: write
If I change the block in all statement to a pass in all statement then I can logon no problem, so it seems that pf is responsible for this.
Even if I use a rule like
pass in on bge0 all no state
pass out all bge0 all no state
where bge0 is the interface I want to use for the admin network, I still end up with the prompt in putty hanging after I enter the user name.
Has anyone ever seen such a problem before?
I am learning FreeBSD and pf, and I have installed a machine with FreeBSD 7.0 and enabled pf.
I wanted to set it up as a deny by default and manually add the services I require.
So initally I have put the lines
block in all
pass out all keep state
Now I want to add an admin interface that will accept ssh, I have tried to add quite a number of commands to the pf.conf file and none of them allow me to logon via ssh, it prompts for the user name and I enter a valid user and instead of then prompting for the password it just hangs.
I do seem to be getting an error in the error log when this happens which is
sshd[1236]: error: ssh_msg_send: write
If I change the block in all statement to a pass in all statement then I can logon no problem, so it seems that pf is responsible for this.
Even if I use a rule like
pass in on bge0 all no state
pass out all bge0 all no state
where bge0 is the interface I want to use for the admin network, I still end up with the prompt in putty hanging after I enter the user name.
Has anyone ever seen such a problem before?