Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Mass create 500+ 1:1 NAT's

    Scheduled Pinned Locked Moved NAT
    3 Posts 3 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bairdmj
      last edited by

      Is there a way that I can quickly create lots (several hundred) NAT 1:1's without using the GUI?

      1 Reply Last reply Reply Quote 0
      • ?
        Guest
        last edited by

        A little judicious use of shell scripting and the config.xml will do this for you.  When done, install the new config.xml.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          I believe on 2.0 you can just make one entry that has a subnet mask and it will make an entire subnet's worth of 1:1's at a time.

          So if you had, say, a /23 (510 usable) you could make a single 1:1 entry and be done.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.