How to fix my firewall iptables in centos?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
My task from uni is make me to install centoc and now im having problem with firewall iptables
here it says :
and here is the iptables
what should i do ?
iptables
add a comment |Â
up vote
0
down vote
favorite
My task from uni is make me to install centoc and now im having problem with firewall iptables
here it says :
and here is the iptables
what should i do ?
iptables
What are you trying to achieve? When does the error in the first image appear?
â SabreWolfy
Feb 27 at 5:37
Please don't use screenshots when you can copy/paste text. Search engines can't access screenshots.
â garethTheRed
Feb 27 at 7:28
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
My task from uni is make me to install centoc and now im having problem with firewall iptables
here it says :
and here is the iptables
what should i do ?
iptables
My task from uni is make me to install centoc and now im having problem with firewall iptables
here it says :
and here is the iptables
what should i do ?
iptables
edited Aug 21 at 0:38
Rui F Ribeiro
34.9k1269113
34.9k1269113
asked Feb 27 at 4:39
Dinda Aulia
1
1
What are you trying to achieve? When does the error in the first image appear?
â SabreWolfy
Feb 27 at 5:37
Please don't use screenshots when you can copy/paste text. Search engines can't access screenshots.
â garethTheRed
Feb 27 at 7:28
add a comment |Â
What are you trying to achieve? When does the error in the first image appear?
â SabreWolfy
Feb 27 at 5:37
Please don't use screenshots when you can copy/paste text. Search engines can't access screenshots.
â garethTheRed
Feb 27 at 7:28
What are you trying to achieve? When does the error in the first image appear?
â SabreWolfy
Feb 27 at 5:37
What are you trying to achieve? When does the error in the first image appear?
â SabreWolfy
Feb 27 at 5:37
Please don't use screenshots when you can copy/paste text. Search engines can't access screenshots.
â garethTheRed
Feb 27 at 7:28
Please don't use screenshots when you can copy/paste text. Search engines can't access screenshots.
â garethTheRed
Feb 27 at 7:28
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
You used a capital -P
on the 11th line (error message on the first screenshot):
-A INPUT -m state --state NEW -m tcp -P tcp --dport 50000 -j ACCEPT
^^
Replace the -P
with -p
and it should work.
oh my god, thankyou so much. now i finally know the reasons.
â Dinda Aulia
Feb 27 at 7:26
BTW, you can replace lines 11-13 with a single line by replacing each--dport
with a combined--dport 50000:50002
.
â ErikF
Mar 1 at 9:02
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
You used a capital -P
on the 11th line (error message on the first screenshot):
-A INPUT -m state --state NEW -m tcp -P tcp --dport 50000 -j ACCEPT
^^
Replace the -P
with -p
and it should work.
oh my god, thankyou so much. now i finally know the reasons.
â Dinda Aulia
Feb 27 at 7:26
BTW, you can replace lines 11-13 with a single line by replacing each--dport
with a combined--dport 50000:50002
.
â ErikF
Mar 1 at 9:02
add a comment |Â
up vote
1
down vote
You used a capital -P
on the 11th line (error message on the first screenshot):
-A INPUT -m state --state NEW -m tcp -P tcp --dport 50000 -j ACCEPT
^^
Replace the -P
with -p
and it should work.
oh my god, thankyou so much. now i finally know the reasons.
â Dinda Aulia
Feb 27 at 7:26
BTW, you can replace lines 11-13 with a single line by replacing each--dport
with a combined--dport 50000:50002
.
â ErikF
Mar 1 at 9:02
add a comment |Â
up vote
1
down vote
up vote
1
down vote
You used a capital -P
on the 11th line (error message on the first screenshot):
-A INPUT -m state --state NEW -m tcp -P tcp --dport 50000 -j ACCEPT
^^
Replace the -P
with -p
and it should work.
You used a capital -P
on the 11th line (error message on the first screenshot):
-A INPUT -m state --state NEW -m tcp -P tcp --dport 50000 -j ACCEPT
^^
Replace the -P
with -p
and it should work.
answered Feb 27 at 5:06
ErikF
2,7111413
2,7111413
oh my god, thankyou so much. now i finally know the reasons.
â Dinda Aulia
Feb 27 at 7:26
BTW, you can replace lines 11-13 with a single line by replacing each--dport
with a combined--dport 50000:50002
.
â ErikF
Mar 1 at 9:02
add a comment |Â
oh my god, thankyou so much. now i finally know the reasons.
â Dinda Aulia
Feb 27 at 7:26
BTW, you can replace lines 11-13 with a single line by replacing each--dport
with a combined--dport 50000:50002
.
â ErikF
Mar 1 at 9:02
oh my god, thankyou so much. now i finally know the reasons.
â Dinda Aulia
Feb 27 at 7:26
oh my god, thankyou so much. now i finally know the reasons.
â Dinda Aulia
Feb 27 at 7:26
BTW, you can replace lines 11-13 with a single line by replacing each
--dport
with a combined --dport 50000:50002
.â ErikF
Mar 1 at 9:02
BTW, you can replace lines 11-13 with a single line by replacing each
--dport
with a combined --dport 50000:50002
.â ErikF
Mar 1 at 9:02
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f426850%2fhow-to-fix-my-firewall-iptables-in-centos%23new-answer', 'question_page');
);
Post as a guest
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
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
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
What are you trying to achieve? When does the error in the first image appear?
â SabreWolfy
Feb 27 at 5:37
Please don't use screenshots when you can copy/paste text. Search engines can't access screenshots.
â garethTheRed
Feb 27 at 7:28