[SOLVED] What is the best way to load iptables/nftables on boot?

Hi -
New arch user migrating from Ubuntu/debian.  I'm used to loading netfilter iptable rules using an /etc/network/interfaces file.  What is the best way to do this using netctl/systemd?
An RTFM of the wiki and a Google search didn't provide an answer, but maybe I'm just looking in the wrong places.
Last edited by pgoetz (2014-06-21 08:32:01)

Ah, OK -- got it.  I can just blindly enable the iptables.service, and systemd will make sure the interfaces are up before running the service.  How cool.  I'm still getting used to the luxury of not having to worry about stuff like this myself.  The only minor issue is it looks like I'll have to get the systemd nftables service out of AUR.
Last edited by pgoetz (2014-02-24 19:58:53)

Similar Messages

  • What's The Best Way to Load a Replacement iPod Touch?

    I just received a replacement iPod Touch 3G for my daughter. Her iTunes library for the Touch that we returned to Apple is on her MacBook Pro. What is the best way to load the new Touch? She plans on using the same name for it. Should I restore from a previous backup or just plug it in and let in sync? Do I need to set anything on iTunes for disk management?
    Thank you,
    Bruce

    If she wants it like her old one the previous backup, if there is anything she wants to change though, now would be a perfect time to just resync it and start over. It really depends on what she wants.

  • What's the best way to load balance multiple protocols on one vserver?

    Hi,
    We have a CSM blade on a 6513, in bridge mode. I'm just wondering what is the best way to serve HTTP and HTTPS (or any two or more ports) from the same group of servers. As I see it, we have two options:
    1. Don't set a port on the vserver, so it is load balancing "any" or "tcp". This is easy but I want to be sure there isn't a downside to this, other than the obvious security issue.
    2. Create multiple vservers and point them at the same serverfarm. I tried this and I got some odd results with the health checks.
    Any ideas? Thanks a lot.

    you listed the only 2 options available.
    The advantage of solution #2 is that you can apply specific config for each protocol ie: for HTTP you can turn 'persistent rebalance' if needed.
    If you want to use specific probes [not icmp], it is also a good practice to create a different serverfarm for each protocol.
    Like this, if the HTTP service goes down but not the server, you can still have other protocols loadbalanced.
    Regards,
    Gilles.
    Thanks for rating this answer.

  • What's the best way to load FieldPoint measurement data into PI System?

    I am finding the best way to load data collected by NI Field Point (FP2220) into the PI system of our power plant.
    I found pieces of information about FieldPoint OPC server in NI.com. Not sure if it comes with Field Point Hardware, sold by NI as a separate product or it is actually non-standard NI products. Anyway, I know that there exists a thing called FieldPoint OPC server.
    The PI system I mentioned has a OPC client software called PI-OPC interface. It is able to communicate with standard OPC DA server. If that FieldPoint OPC server is a standard OPC DA server provide data collected by Field Point complying to OPC standard, than that's perfect.
    Anyone familar with PI system and NI product, please help if the above is going to work or if there is a better way to put Fieldpoint data into PI.

    Hi Eric,
    This information really helpful, thanks. Regarding to the NI OPC server for NI FieldPoint, I have the other query.
    In my setup, there are two sets of FieldPoint located in two different locations on my ethernet network. They are going to be controlled by a single PC. If I am going to connect both my FieldPoint sets with OPC standard, how many NI OPC server for FieldPoint do I need to connect to? Are there two NI OPC servers each serves one FieldPoint set? Or there is only NI OPC server which serves both FieldPoint sets?
    I am concerning about the number of NI OPC server instances running, because the number of OPC client license I need to purchase depends on how many OPC server I need to connect to. If one NI OPC server serves both my FieldPoint sets, I only need to buy one OPC client license; otherwise, I need to purchase two. In the future, I am going to have another two sets of FieldPoint sets, so the answer of my query determines how many OPC clients I need to purchase eventually - One or four. A huge price difference.
    Looking forward to your reply.
    Regards,
    Roger

  • [Solved] What's the best way for me to help with Arch?

    I've been using Linux for about 10 years and Arch for a little over a year.  I used to do a lot of distro-hopping but I've found that since finding Arch, I haven't been doing much of that.  I don't know why it took me so long to find it.
    Anyway, I'd like to give back a little so what's the best way for me to help?  I'm not a programmer so I'd be no help there.  I have made a couple contributions to the wiki and filed a bug.  I know that kind of stuff is easy and obvious.  Is there anything else I could be doing?
    Last edited by brianhanna (2010-04-07 02:25:34)

    I hear the Arch Linux Magazine could always use some contributions, if you're inclined towards that sort of thing. I've been wanting to write an article for a while, but I've not run into anything in my Arch experience so far that's really inspired an article out of me.

  • [Solved] What is the best way to share pacman cache ?

    I'm wondering what is the best way to share the pacman cache .
    I went with the obvious choice 'sshfs' . But the cache on the server is owned by root so I can't use it dynamically unless I enable root logins , right ?
    Is it safe to enable root logins and mount with the root user ?
    What is the best and safest way to share pacman cache dynamically ?
    Last edited by Nezmer (2008-12-07 01:13:20)

    Interesting. I use sshfs and yes use root login to do business. But I see it this way you want more security created a stronger password. You want more security than that disable passwords and use keys. But once you start NFS you are surely introducing some security issue just as if you enable root ssh login, so why is NFS better?
    Just asking out of interest, I claim to know nothing about security.

  • What is the best way to load and convert data from a flat file?

    Hi,
    I want to load data from a flat file, convert dates, numbers and some fields with custom logic (e.g. 0,1 into N,Y) to the correct format.
    The rows where all to_number, to_date and custom conversions succeed should go into table STG_OK. If some conversion fails (due to an illegal format in the flat file), those rows (where the conversion raises some exception) should go into table STG_ERR.
    What is the best and easiest way to archive this?
    Thanks,
    Carsten.

    Hi,
    thanks for your answers so far!
    I gave them a thought and came up with two different alternatives:
    Alternative 1
    I load the data from the flat file into a staging table using sqlldr. I convert the data to the target format using sqlldr expressions.
    The columns of the staging table have the target format (date, number).
    The rows that cannot be loaded go into a bad file. I manually load the data from the bad file (without any conversion) into the error table.
    Alternative 2
    The columns of the staging table are all of type varchar2 regardless of the target format.
    I define data rules for all columns that require a later conversion.
    I load the data from the flat file into the staging table using external table or sqlldr without any data conversion.
    The rows that cannot be loaded go automatically into the error table.
    When I read the data from the staging table, I can safely convert it since it is already checked by the rules.
    What I dislike in alternative 1 is that I manually have to create a second file and a second mapping (ok, I can automate this using OMB*Plus).
    Further, I would prefer using expressions in the mapping for converting the data.
    What I dislike in alternative 2 is that I have to create a data rule and a conversion expression and then keep the data rule and the conversion expression in sync (in case of changes of the file format).
    I also would prefer to have the data in the staging table in the target format. Well, I might load it into a second staging table with columns having the target format. But that's another mapping and a lot of i/o.
    As far as I know I need the data quality option for using data rules, is that true?
    Is there another alternative without any of these drawbacks?
    Otherwise I think I will go for alternative 1.
    Thanks,
    Carsten.

  • What is the best way to load 14 million COPA records from BW into HANA?

    I have been managing a project in which we are attempting to load COPA data from BW into HANA using Open Hub and we continue to run into memory allocation errors in BW. We have been able to load 350,000 records.
    Any suggestions on what the best approach would be along with BW memory parameters.
    Your replies are appreciated.
    Rob

    Hello,
    this seems to be issue in BW caused by big volume of migrated data. I do not think that this is HANA related problem. I would suggest to post this message into BW area - you might get much better support there.
    But to help as much as I can - I found this (see point 7):
    http://help.sap.com/saphelp_nw04/helpdata/en/66/76473c3502e640e10000000a114084/frameset.htm
    7. Specify the number of rows per data package for the data records to be extracted. You can use this parameter to control the maximum size of a data package, and hence also how many main memories need to be made available to structure the data package.
    Hope it helps.
    Tomas

  • What is the best way to load multiple instances of a button into master index page?. I have looked a

    I have successfully created an animated button that opens to reveal a quotation with a nested clickable link to the source. What I would like to do is have several of these with different quotes inside them, scattered on the page. I have looked at the composition loader available via Edge Commons, and it seems that would require some sort of Edge animate Stage 'frame' to load the instances into? Is there any way to place them directly into the master page - as div elements...?
    The outer of the buttons is the same, on hover they open partialy on click fully, to reveal  their particular text - which I thought about loading it at runtime with json, or maybe handlebars...?
    I would also like to make the buttons only take the necessary space. ie. before they expand they are only buttons. ( I have set the stage to hidden but it still takes up space). To acheive this, I think perhaps I will have to target the inner components css, and set them as display:none until the button is hovered over, then set :hover and :active pseudo classes inside edge. Is this feasible?
    Thanks in advance for any ideas/suggestions...

    Hello, Thanks for your helpful input. Based on that, and the tutorial 'http://tv.adobe.com/watch/learn-edge-animate-cc/ingesting-external-data-dc/' - I have written code to drive my button's behaviour.  (copied below...)
    var textArray =new Array();
    var currentHead = 0;
    var currentText = 0;
    var currentFoot = 0;
    var s = sym.getSymbol("textContainer");
    sym.$("textContainer")$.("text").html("");
    var sh = sym.getSymbol("headContainer");
    sym.$("headContainer")$.("head").html("");
    var sf = sym.getSymbol("footContainer");
    sym.$("footContainer")$.("footer").html("");
    $.getJSON("assets/sources1.json", function(data){
              for (var i=0; i<data.length; i++){
                        textArray.push({"head":data[i].heading,
                                  "text":data[i].text,
                                  "footer":data[i].foot,
                                  "link":data[i].link});
              sym.$("headContainer")$.("head").html(textArray[currentHead]).heading;
              sym.$("textContainer")$.("text").html(textArray[currentText]).text;
              sym.$("footContainer")$.("foot").html(textArray[currentFoot]).foot;
              sym.$("footContainer")$.("link").html(textArray[currentLink]).link;
    But there is an error I don't understand at line 7...
    Also - as you can see, at present I have several symbols in parallel. Would I be better off nesting the text containers inside the outer button container? and would I be better off creating styled mini- pages of text data, and then loading them - instead of loading them as symbols? I have had to create seperate symbols because I cannot adequately stle the text - so some is bold, some is italic etc. within one text field. Or can I? I guess I could nest several text fields inside one symbol...?
    I remain unsure how to load the finished animation button instances. In your example you were still loading into an animation But from yor example, I guess I would need to place all my examples inside an outer edge composition... but then I think positioning them accurately with css, making adjustments etc. will be fairly tricky. Is there any way to place multiple instances directly into divs in index.html? Could I simply repeat the class...? I may be answering my own questions here.

  • [SOLVED] What is the best way to use ZFS on linux-ck?

    Hi, I've recently gotten into ZFS to replace my Intel FakeRaid array I had set up for my /home folder. All is well under the stock kernel, but I'm running into issues while trying to run it under linux-ck.
    At boot systemd throws a fit, and in the emergency shell it seems that -CK cannot use the installed module (module not found). I noticed that the versions for -ck and -arch are currently slightly different, and tried recompiling -ck to match -arch's version to no avail.
    Inspecting the PKGBUILDs for the zfs packages, it looks like they're designed to be built for the current [core] version of the stock kernel only, which would explain why -ck can't see the zfs module.
    Is there an elegant, semi-automatic way to go about maintaining zfs/spl so that I can keep it up-to-date for the current linux-ck version?
    Thanks!
    Last edited by SirWuffleton (2014-05-09 11:22:06)

    graysky wrote:You will need to change the PKGBUILDs for zfs-git/spl-git to require linux-ck and linux-ck-headers rather than linux and linux-headers.
    Okay, I was thinking it would be something along those lines. Thanks for the clarification.
    After I modify the PKGBUILDs to use linux-ck, I should be able to build the modules against -ck even if I'm currently running -arch, correct? Just want make sure, since I'd like to avoid breaking ZFS on both kernels at the same time so I don't have to deal with some awkward situation where I need to build the modules against -ck from the emergency shell or something.

  • What is the best way to load 2 seperate tables to a single matrix

    What I would like to do  is create a date sorted list of customer orders and purchase orders for a single item(part) and populate a single matrix.
    and did i mention quick...

    Hi!
    i suppose you sould create for example UNION query:
    SELECT docdate, cardname, 'purch', docnum FROM OPCH
    UNION
    SELECT docdate, cardname, 'order', docnum FROM OPOR
    ORDER BY 1
    Then execute oRS.DoQuery and populate your matrix inside a loop...
    propably, somebody can give you some more advices..
    hope it helps..

  • Oracle 10.1, Whats the best way to load XML in database?

    Hi All,
    I am a typical Oracle developer. I know some Java and some XML technologies, but not an expert.
    I will be receiving XML files from some system, which will be,
    - of reasonable size like 2 to 15 MBs
    - of reasonable complexity, like the root element have children, grand-children and great-grand-children, with attributes and all
    - Every day it needs to be loaded to Oracle database, in relational format
    - we need not update the XML data, only put the XML data in relational table
    My questions are,
    - With Oracle 10.1, XML DB, what is the best way to load this XML file to relational Oracle tables ?
    - What can be the steps in this process ?
    - In the documentation, I was lost and was not able to decide anything concrete
    - If I write a pure Java program with SAX API and load the data to Oracle database in same program, is it a good idea?
    - Is there any pure Oracle based way to do this?
    - If I want to avoid using DOM parser, as it will need more JAVA_POOL_SIZE, what can be the way ?
    Please help.
    Thanks

    Many customer solve this problem by registering an XML Schema that corresponds to their XML and then creating relational views over the XML that allow them to access the content in a relational manner. They then use insert as select operations on the relational views to transfer data from the XML into relational tables where necessary. There are a large number of threads in this forum with detailed examples of how this can be done. Most of the customers who have adopted this approach have discovered that this is the least complex approach in terms of code that to be developed / maintained and offeres acceptable performance.

  • V11, What is the best way to replace ImportSecurity.cmd

    Hello,
    I've migrated my essbase/planning server from 9.3.1 to V11.1.1.2.
    I previously used ImportSecurity.cmd to load security on members of outlines and on data forms in Planning. But now it seems that ImportSecurity.cmd is no more available in V11 (or I may have forgot to install / configure something ??).
    So what is the best way to load security automatically now in V11 ?
    Thanks for your help
    Regards

    Hi,
    You can use LCM (Lifecycle management now)
    Have a look at :- http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_lifecycle_management_11111/launch.htm
    Or have a read [here |http://john-goodwin.blogspot.com/2008/08/so-whats-this-life-cycle-management-all.html] for an overview.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • I just switched from pc to mac.  what is the best way to keep Windows?  Parallel or Boot camp?

    I have just switched from pc to mac.  What is the best way to keep Windows, Parallel of Boot camp?

    Parallels should be able to handle that without any problems.
    There is a version of both of those that will run on the Mac. So you might consider upgrading to that version instead of going with Windows on your Mac.
    Allan

  • What is the best way to kill/stop a data load?

    Hi.
    What is the best way to kill/stop a data load?
    I have a data load from my QA R/3 system that is extracting 115.000.000+ records. The problem is that the selection in the function module used in the data source does not work, and the problem was not detected because of the nature of the data on the development system.
    I could kill processes owned by my background user (on both R/3 and BW) but I risk killing other loads, and sometimes the job seems to restart if I just try to kill processes. If I remove transactional RFCs in SM58 the load does not terminate; I only skip one or more datapackages. I have also tried to change the QM-status in the monitor to red, but that does not stop the load either...
    So isn't there a nice fool-proof way of stopping a dataload?
    Best regards,
    Christian Frier

    Hi,
    There r 2 ways to kill the job.
    One is using transation RSMO locate the job and display the status tab double click on the yellow light that is shown on the line total, a pop will come 'set overall status ' is displayed select the desired status that is red and save it. Then return to the monitor page and select the header tab double ckick on the data target right click and then goto 'manage',there should be request sitting there probably with yellow lights , highlight the line with the faulty request click the delete button then click refresh button.
    Second is goto SM37 and click on the active selection and enter the jobname and then click excute the particulr job should appear highlight the jobname then click on the stop iconthat appears on the taskbar( 3 rd from left)
    hope it is clear.
    Regards-
    Siddhu

Maybe you are looking for

  • I have two Airport Express units. Can I use one to extend the range of the other?

    The similar questions that I have found on this site refer to extending an Airport Extreme with an Airport Express. But can you also extend an Airport Express with another Airport Express?

  • Runtime Exception in Message mapping

    Hi Experts, I have a scenario of  IDoc to  <third party adapter> cXML. The message caught the below error RuntimeException in Message-Mapping transformation : Runtime exception during processing target field mapping ......./ShipTo[2]/Address/PostalAd

  • I can't sync my iphone 3gs

    Hi, my iphone 3gs does not appears on "my computer" and when I want to sync it with itunes it does not work. ¿What can I do?

  • Billing  in CRM.

    Hi, Iam facing problem related to billing. I created service order released it. It created billing due list. But it is giving error when creating billing document. It is due to tax calculations. errors are: IPC error --0TTE is missing in   even i use

  • I was working on a word document  and the computer shut down suddenly.

    I was working on a word document  and the computer shut down suddenly. I got a grey screen with a message that your computer shut down because of a proble. It was written in various languages. It asked me to press any key to restart. I tried to resta