pzt
April 26th, 2008, 09:03 AM
Hey there. This is a bit blurry on whether it should be under Security or Networking, feel free to kick it elsewhere.
I'm currently setting up my firewall on a remote machine, meaning I'm SSHing to it.
What I want is to have a default deny rule, with an accept on SSH only. Since I am working remote, it would be preferable to set the accept rule before doing the default deny.
My question; if I set an accept on 22 before I do the default deny, will it work?
Guessing it'll be fine, but since I'm not really in a position to go to the machine, certainty is preferred. :)
I'm currently setting up my firewall on a remote machine, meaning I'm SSHing to it.
What I want is to have a default deny rule, with an accept on SSH only. Since I am working remote, it would be preferable to set the accept rule before doing the default deny.
My question; if I set an accept on 22 before I do the default deny, will it work?
Guessing it'll be fine, but since I'm not really in a position to go to the machine, certainty is preferred. :)