How to Add rules to IP Filter (Firewall in SCO)

Clash Royale CLAN TAG#URR8PPP
up vote
4
down vote
favorite
I need to add a rule (allow any to any port 22) to my firewall, so that I can ssh remotely into my machine.
I have had a look in the SCO OSR600 Documentation and I cannot find anything in there.
Update
I have managed to enable ipfstat:
#ipfstat enable
And now my firewall is active, I just need to add rules now.
But where do I find the rules text file?
ssh firewall sco openserver
add a comment |
up vote
4
down vote
favorite
I need to add a rule (allow any to any port 22) to my firewall, so that I can ssh remotely into my machine.
I have had a look in the SCO OSR600 Documentation and I cannot find anything in there.
Update
I have managed to enable ipfstat:
#ipfstat enable
And now my firewall is active, I just need to add rules now.
But where do I find the rules text file?
ssh firewall sco openserver
I am currently looking for the ipf config file, but can't find it.
– Kevdog777
Jul 26 '12 at 12:45
add a comment |
up vote
4
down vote
favorite
up vote
4
down vote
favorite
I need to add a rule (allow any to any port 22) to my firewall, so that I can ssh remotely into my machine.
I have had a look in the SCO OSR600 Documentation and I cannot find anything in there.
Update
I have managed to enable ipfstat:
#ipfstat enable
And now my firewall is active, I just need to add rules now.
But where do I find the rules text file?
ssh firewall sco openserver
I need to add a rule (allow any to any port 22) to my firewall, so that I can ssh remotely into my machine.
I have had a look in the SCO OSR600 Documentation and I cannot find anything in there.
Update
I have managed to enable ipfstat:
#ipfstat enable
And now my firewall is active, I just need to add rules now.
But where do I find the rules text file?
ssh firewall sco openserver
ssh firewall sco openserver
edited Nov 20 at 20:33
Rui F Ribeiro
38.2k1475125
38.2k1475125
asked Jul 25 '12 at 15:16
Kevdog777
2,082123259
2,082123259
I am currently looking for the ipf config file, but can't find it.
– Kevdog777
Jul 26 '12 at 12:45
add a comment |
I am currently looking for the ipf config file, but can't find it.
– Kevdog777
Jul 26 '12 at 12:45
I am currently looking for the ipf config file, but can't find it.
– Kevdog777
Jul 26 '12 at 12:45
I am currently looking for the ipf config file, but can't find it.
– Kevdog777
Jul 26 '12 at 12:45
add a comment |
2 Answers
2
active
oldest
votes
up vote
2
down vote
accepted
Probably the rule, should be:
pass in quick proto tcp from any to any port = 22 keep state
pass out quick proto tcp from any to any port = 22 keep state
in /etc/ipf.conf
Do you think I should try the same but for like port 80 and 81 as well? Or is that already included (default)? - I haven't tried adding the rules, just got into work now.
– Kevdog777
Jul 30 '12 at 7:40
I just tried going in to the/etc/ipf.conffile, and it says it is a new file. I did this in both my user and root profile.
– Kevdog777
Jul 30 '12 at 7:49
1
AWESOME, thank you, it has worked ... FINALLY!!!
– Kevdog777
Jul 30 '12 at 8:11
I think that you, like me in the past, need a firewall editor. I suggest you to use fwbuilder fwbuilder.org
– tombolinux
Jul 31 '12 at 16:18
1
fwbuilder is a gui client for windows or linux. It helps you to generate the configuration for your firewall, then you can upload it to your server via sftp.
– tombolinux
Aug 1 '12 at 9:30
|
show 2 more comments
up vote
1
down vote
Would think you add them the same as you would with iptables. Here is a quick doc on IPF though. http://www.freebsd.org/doc/handbook/firewalls-ipf.html
Thank you for your answer, but that site is for FreeBSD, and OK it might help a bit, but reading through that gave me a headache in the first place.
– Kevdog777
Jul 30 '12 at 7:57
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
Probably the rule, should be:
pass in quick proto tcp from any to any port = 22 keep state
pass out quick proto tcp from any to any port = 22 keep state
in /etc/ipf.conf
Do you think I should try the same but for like port 80 and 81 as well? Or is that already included (default)? - I haven't tried adding the rules, just got into work now.
– Kevdog777
Jul 30 '12 at 7:40
I just tried going in to the/etc/ipf.conffile, and it says it is a new file. I did this in both my user and root profile.
– Kevdog777
Jul 30 '12 at 7:49
1
AWESOME, thank you, it has worked ... FINALLY!!!
– Kevdog777
Jul 30 '12 at 8:11
I think that you, like me in the past, need a firewall editor. I suggest you to use fwbuilder fwbuilder.org
– tombolinux
Jul 31 '12 at 16:18
1
fwbuilder is a gui client for windows or linux. It helps you to generate the configuration for your firewall, then you can upload it to your server via sftp.
– tombolinux
Aug 1 '12 at 9:30
|
show 2 more comments
up vote
2
down vote
accepted
Probably the rule, should be:
pass in quick proto tcp from any to any port = 22 keep state
pass out quick proto tcp from any to any port = 22 keep state
in /etc/ipf.conf
Do you think I should try the same but for like port 80 and 81 as well? Or is that already included (default)? - I haven't tried adding the rules, just got into work now.
– Kevdog777
Jul 30 '12 at 7:40
I just tried going in to the/etc/ipf.conffile, and it says it is a new file. I did this in both my user and root profile.
– Kevdog777
Jul 30 '12 at 7:49
1
AWESOME, thank you, it has worked ... FINALLY!!!
– Kevdog777
Jul 30 '12 at 8:11
I think that you, like me in the past, need a firewall editor. I suggest you to use fwbuilder fwbuilder.org
– tombolinux
Jul 31 '12 at 16:18
1
fwbuilder is a gui client for windows or linux. It helps you to generate the configuration for your firewall, then you can upload it to your server via sftp.
– tombolinux
Aug 1 '12 at 9:30
|
show 2 more comments
up vote
2
down vote
accepted
up vote
2
down vote
accepted
Probably the rule, should be:
pass in quick proto tcp from any to any port = 22 keep state
pass out quick proto tcp from any to any port = 22 keep state
in /etc/ipf.conf
Probably the rule, should be:
pass in quick proto tcp from any to any port = 22 keep state
pass out quick proto tcp from any to any port = 22 keep state
in /etc/ipf.conf
edited Jul 29 '12 at 21:03
answered Jul 29 '12 at 20:54
tombolinux
34727
34727
Do you think I should try the same but for like port 80 and 81 as well? Or is that already included (default)? - I haven't tried adding the rules, just got into work now.
– Kevdog777
Jul 30 '12 at 7:40
I just tried going in to the/etc/ipf.conffile, and it says it is a new file. I did this in both my user and root profile.
– Kevdog777
Jul 30 '12 at 7:49
1
AWESOME, thank you, it has worked ... FINALLY!!!
– Kevdog777
Jul 30 '12 at 8:11
I think that you, like me in the past, need a firewall editor. I suggest you to use fwbuilder fwbuilder.org
– tombolinux
Jul 31 '12 at 16:18
1
fwbuilder is a gui client for windows or linux. It helps you to generate the configuration for your firewall, then you can upload it to your server via sftp.
– tombolinux
Aug 1 '12 at 9:30
|
show 2 more comments
Do you think I should try the same but for like port 80 and 81 as well? Or is that already included (default)? - I haven't tried adding the rules, just got into work now.
– Kevdog777
Jul 30 '12 at 7:40
I just tried going in to the/etc/ipf.conffile, and it says it is a new file. I did this in both my user and root profile.
– Kevdog777
Jul 30 '12 at 7:49
1
AWESOME, thank you, it has worked ... FINALLY!!!
– Kevdog777
Jul 30 '12 at 8:11
I think that you, like me in the past, need a firewall editor. I suggest you to use fwbuilder fwbuilder.org
– tombolinux
Jul 31 '12 at 16:18
1
fwbuilder is a gui client for windows or linux. It helps you to generate the configuration for your firewall, then you can upload it to your server via sftp.
– tombolinux
Aug 1 '12 at 9:30
Do you think I should try the same but for like port 80 and 81 as well? Or is that already included (default)? - I haven't tried adding the rules, just got into work now.
– Kevdog777
Jul 30 '12 at 7:40
Do you think I should try the same but for like port 80 and 81 as well? Or is that already included (default)? - I haven't tried adding the rules, just got into work now.
– Kevdog777
Jul 30 '12 at 7:40
I just tried going in to the
/etc/ipf.conf file, and it says it is a new file. I did this in both my user and root profile.– Kevdog777
Jul 30 '12 at 7:49
I just tried going in to the
/etc/ipf.conf file, and it says it is a new file. I did this in both my user and root profile.– Kevdog777
Jul 30 '12 at 7:49
1
1
AWESOME, thank you, it has worked ... FINALLY!!!
– Kevdog777
Jul 30 '12 at 8:11
AWESOME, thank you, it has worked ... FINALLY!!!
– Kevdog777
Jul 30 '12 at 8:11
I think that you, like me in the past, need a firewall editor. I suggest you to use fwbuilder fwbuilder.org
– tombolinux
Jul 31 '12 at 16:18
I think that you, like me in the past, need a firewall editor. I suggest you to use fwbuilder fwbuilder.org
– tombolinux
Jul 31 '12 at 16:18
1
1
fwbuilder is a gui client for windows or linux. It helps you to generate the configuration for your firewall, then you can upload it to your server via sftp.
– tombolinux
Aug 1 '12 at 9:30
fwbuilder is a gui client for windows or linux. It helps you to generate the configuration for your firewall, then you can upload it to your server via sftp.
– tombolinux
Aug 1 '12 at 9:30
|
show 2 more comments
up vote
1
down vote
Would think you add them the same as you would with iptables. Here is a quick doc on IPF though. http://www.freebsd.org/doc/handbook/firewalls-ipf.html
Thank you for your answer, but that site is for FreeBSD, and OK it might help a bit, but reading through that gave me a headache in the first place.
– Kevdog777
Jul 30 '12 at 7:57
add a comment |
up vote
1
down vote
Would think you add them the same as you would with iptables. Here is a quick doc on IPF though. http://www.freebsd.org/doc/handbook/firewalls-ipf.html
Thank you for your answer, but that site is for FreeBSD, and OK it might help a bit, but reading through that gave me a headache in the first place.
– Kevdog777
Jul 30 '12 at 7:57
add a comment |
up vote
1
down vote
up vote
1
down vote
Would think you add them the same as you would with iptables. Here is a quick doc on IPF though. http://www.freebsd.org/doc/handbook/firewalls-ipf.html
Would think you add them the same as you would with iptables. Here is a quick doc on IPF though. http://www.freebsd.org/doc/handbook/firewalls-ipf.html
answered Jul 28 '12 at 18:41
stlsaint
312
312
Thank you for your answer, but that site is for FreeBSD, and OK it might help a bit, but reading through that gave me a headache in the first place.
– Kevdog777
Jul 30 '12 at 7:57
add a comment |
Thank you for your answer, but that site is for FreeBSD, and OK it might help a bit, but reading through that gave me a headache in the first place.
– Kevdog777
Jul 30 '12 at 7:57
Thank you for your answer, but that site is for FreeBSD, and OK it might help a bit, but reading through that gave me a headache in the first place.
– Kevdog777
Jul 30 '12 at 7:57
Thank you for your answer, but that site is for FreeBSD, and OK it might help a bit, but reading through that gave me a headache in the first place.
– Kevdog777
Jul 30 '12 at 7:57
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f43942%2fhow-to-add-rules-to-ip-filter-firewall-in-sco%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I am currently looking for the ipf config file, but can't find it.
– Kevdog777
Jul 26 '12 at 12:45