Hi,
I am a very noob and I'd like to be sure not doing any error
To open a tcp port ie. the 23456 I followed this piece of advice:
then I added:
then after having saved I typed:
is that correct?
When I want to come back to my specific former pf.conf, is this enough? putting a "#" at the line beginning
then again:
?
Sorry if it seems basic or dumb, I would like to be sure putting a "#" is enough and that there is no specific law to write. And sorry for my English it's some French scholar English!
Thanks
This is a new world for me
I am a very noob and I'd like to be sure not doing any error
To open a tcp port ie. the 23456 I followed this piece of advice:
Code:
vim /etc/pf.conf
Code:
pass in proto tcp from any to any port 23456
Code:
sudo pfctl -f /etc/pf.conf
When I want to come back to my specific former pf.conf, is this enough? putting a "#" at the line beginning
Code:
#pass in proto tcp from any to any port 23456
Code:
sudo pfctl -f /etc/pf.conf
Sorry if it seems basic or dumb, I would like to be sure putting a "#" is enough and that there is no specific law to write. And sorry for my English it's some French scholar English!
Thanks
This is a new world for me
