How to load iptables rules.v4 file Announcing the arrival of Valued Associate #679: Cesar...

What do you call the main part of a joke?

Should a wizard buy fine inks every time he want to copy spells into his spellbook?

Why weren't discrete x86 CPUs ever used in game hardware?

1-probability to calculate two events in a row

Putting class ranking in CV, but against dept guidelines

If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?

Project Euler #1 in C++

Is there public access to the Meteor Crater in Arizona?

What's the point of the test set?

What is an "asse" in Elizabethan English?

How often does castling occur in grandmaster games?

Antipodal Land Area Calculation

How to run automated tests after each commit?

Tannaka duality for semisimple groups

Why are vacuum tubes still used in amateur radios?

How many morphisms from 1 to 1+1 can there be?

What is the chair depicted in Cesare Maccari's 1889 painting "Cicerone denuncia Catilina"?

Why is it faster to reheat something than it is to cook it?

Do I really need to have a message in a novel to appeal to readers?

AppleTVs create a chatty alternate WiFi network

Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?

Significance of Cersei's obsession with elephants?

Google .dev domain strangely redirects to https

How to write capital alpha?



How to load iptables rules.v4 file



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Load-balancing: response packets not routed - iptablesManually Editing iptablesHelp with iptablesIptables rules suddenly not workingIptables issue error at line 2iptables should block ssh, but port is still openHow to get iptables rules to load at startup?iptables service fails with systemd because bind9 is not really readyopenvpn up/down scripts need full paths for iptables?iptables can't match https traffic





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I've been trying to initiate a rules.v4 file that I have written a handful of rules into, but I can't seem to get the rules to load with



iptables-restore < /file/path/rules.v4 


I have saved the rules with



iptables-save > /file/path/rules.v4 


Now, when I check my table rules with iptables -L --line-numbers, my previous table rules are still there.



How do I get this file to load?










share|improve this question









New contributor




upgrayyed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • I posted an answer about this on Stack Overflow. Your commands seem to be the same, but did you use sudo on this? IPTables is not something you can generally change as a regular user. Also, try running iptables -F, check it with iptables -L -n and then try to use iptables-restore again.

    – JakeGould
    4 hours ago











  • yes I always use sudo, 😉, but however i didn't flush my previous rules maybe that's what it was. thanks a bunch.!

    – upgrayyed
    2 hours ago


















0















I've been trying to initiate a rules.v4 file that I have written a handful of rules into, but I can't seem to get the rules to load with



iptables-restore < /file/path/rules.v4 


I have saved the rules with



iptables-save > /file/path/rules.v4 


Now, when I check my table rules with iptables -L --line-numbers, my previous table rules are still there.



How do I get this file to load?










share|improve this question









New contributor




upgrayyed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • I posted an answer about this on Stack Overflow. Your commands seem to be the same, but did you use sudo on this? IPTables is not something you can generally change as a regular user. Also, try running iptables -F, check it with iptables -L -n and then try to use iptables-restore again.

    – JakeGould
    4 hours ago











  • yes I always use sudo, 😉, but however i didn't flush my previous rules maybe that's what it was. thanks a bunch.!

    – upgrayyed
    2 hours ago














0












0








0








I've been trying to initiate a rules.v4 file that I have written a handful of rules into, but I can't seem to get the rules to load with



iptables-restore < /file/path/rules.v4 


I have saved the rules with



iptables-save > /file/path/rules.v4 


Now, when I check my table rules with iptables -L --line-numbers, my previous table rules are still there.



How do I get this file to load?










share|improve this question









New contributor




upgrayyed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I've been trying to initiate a rules.v4 file that I have written a handful of rules into, but I can't seem to get the rules to load with



iptables-restore < /file/path/rules.v4 


I have saved the rules with



iptables-save > /file/path/rules.v4 


Now, when I check my table rules with iptables -L --line-numbers, my previous table rules are still there.



How do I get this file to load?







iptables






share|improve this question









New contributor




upgrayyed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




upgrayyed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 4 hours ago









zx485

1,4612914




1,4612914






New contributor




upgrayyed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 6 hours ago









upgrayyedupgrayyed

11




11




New contributor




upgrayyed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





upgrayyed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






upgrayyed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • I posted an answer about this on Stack Overflow. Your commands seem to be the same, but did you use sudo on this? IPTables is not something you can generally change as a regular user. Also, try running iptables -F, check it with iptables -L -n and then try to use iptables-restore again.

    – JakeGould
    4 hours ago











  • yes I always use sudo, 😉, but however i didn't flush my previous rules maybe that's what it was. thanks a bunch.!

    – upgrayyed
    2 hours ago



















  • I posted an answer about this on Stack Overflow. Your commands seem to be the same, but did you use sudo on this? IPTables is not something you can generally change as a regular user. Also, try running iptables -F, check it with iptables -L -n and then try to use iptables-restore again.

    – JakeGould
    4 hours ago











  • yes I always use sudo, 😉, but however i didn't flush my previous rules maybe that's what it was. thanks a bunch.!

    – upgrayyed
    2 hours ago

















I posted an answer about this on Stack Overflow. Your commands seem to be the same, but did you use sudo on this? IPTables is not something you can generally change as a regular user. Also, try running iptables -F, check it with iptables -L -n and then try to use iptables-restore again.

– JakeGould
4 hours ago





I posted an answer about this on Stack Overflow. Your commands seem to be the same, but did you use sudo on this? IPTables is not something you can generally change as a regular user. Also, try running iptables -F, check it with iptables -L -n and then try to use iptables-restore again.

– JakeGould
4 hours ago













yes I always use sudo, 😉, but however i didn't flush my previous rules maybe that's what it was. thanks a bunch.!

– upgrayyed
2 hours ago





yes I always use sudo, 😉, but however i didn't flush my previous rules maybe that's what it was. thanks a bunch.!

– upgrayyed
2 hours ago










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






upgrayyed is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1427495%2fhow-to-load-iptables-rules-v4-file%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








upgrayyed is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















upgrayyed is a new contributor. Be nice, and check out our Code of Conduct.













upgrayyed is a new contributor. Be nice, and check out our Code of Conduct.












upgrayyed is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1427495%2fhow-to-load-iptables-rules-v4-file%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...