Yogesh Ashok Powar

Personal Blogs

  • Feed Subscribe
  • Minimal Linux kernel requirement for NAT

    Tags: GNU/Linux Kernel

    Minimal Linux kernel requirement for NAT

    If you are looking for only NAT i.e., you are only interested in Network Address Translation and not about filtering/mangling, unlike most of the sites, I have generated minimal kernel configuration file.

    @ -453,7 +453,66 @@
    # CONFIG_IPV6 is not set
    # CONFIG_NETWORK_SECMARK is not set
    # CONFIG_NETWORK_PHY_TIMESTAMPING is not set
    -# CONFIG_NETFILTER is not set
    +CONFIG_NETFILTER=y

    • +CONFIG_NETFILTER_NETLINK=y
      +CONFIG_NETFILTER_NETLINK_LOG=y
      +CONFIG_NF_CONNTRACK=y
      +CONFIG_NETFILTER_XTABLES=y
    • +CONFIG_NF_DEFRAG_IPV4=y
      +CONFIG_NF_CONNTRACK_IPV4=y
      +CONFIG_IP_NF_IPTABLES=y
      +CONFIG_NF_NAT=y
      +CONFIG_NF_NAT_NEEDED=y
      # CONFIG_IP_DCCP is not set
      # CONFIG_IP_SCTP is not set
      # CONFIG_RDS is not set

    Tags: GNU/Linux Kernel
    Updated on: 2012-01-18