What would be the equivalent of this iptables command in firewalld?
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
add this rules to firewall-cmd --direct [--add-rule | --passthrough ]
This thread is from LAST YEAR. Anyone finding this is advised to read the firewall-cmd documentation. Doing what's suggested here has consequences; from the firewall-cmd docs:
Code:
--direct --passthrough { ipv4 | ipv6 | eb } args
Pass a command through to the firewall. args can be all iptables, ip6tables and ebtables command line arguments.
This command is untracked, which means that firewalld is not able to provide information about this command later on, also not a listing of the untracked passthoughs.
Bolded for emphasis. Doing things with the firewall that don't give you information about their status is never a bright idea.
This thread is from LAST YEAR. Anyone finding this is advised to read the firewall-cmd documentation. Doing what's suggested here has consequences; from the firewall-cmd docs:
Code:
--direct --passthrough { ipv4 | ipv6 | eb } args
Pass a command through to the firewall. args can be all iptables, ip6tables and ebtables command line arguments.
This command is untracked, which means that firewalld is not able to provide information about this command later on, also not a listing of the untracked passthoughs.
Bolded for emphasis. Doing things with the firewall that don't give you information about their status is never a bright idea.
are you following me? I want to comment on this post, what do you care?
are you following me? I want to comment on this post, what do you care?
Giving people bad advice (especially about system security) isn't good. Again, anyone coming across this (like your other threads) may take this bad advice, which is why I advised against it.
Giving people bad advice (especially about system security) isn't good. Again, anyone coming across this (like your other threads) may take this bad advice, which is why I advised against it. Taking system security advice from someone who was unable to run a shell-script doesn't seem like a good idea.
haha)) bad advice... you cant resolve my thread so i advice you to delete your account and begin to use Photoshop))) u r fake Guru here, your place is internet cafe))) if you are man, delete your account and leave this forum, u r not guru, u r looser))
haha)) bad advice... you cant resolve my thread so i advice you to delete your account and begin to use Photoshop))) u r fake Guru here, your place is internet cafe))) if you are man, delete your account and leave this forum, u r not guru, u r looser))
No one can resolve any of your issues, apparently, according to you. Mainly because you cannot form a clear question or provide details, and keep contradicting yourself. And you keep ignoring the LQ Forum rules. Reported, yet again...the moderators will deal with you.
No one can resolve any of your issues, apparently, according to you. Mainly because you cannot form a clear question or provide details, and keep contradicting yourself. And you keep ignoring the LQ Forum rules. Reported, yet again...the moderators will deal with you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.