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

    Ngctl killd my firewall

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 1.9k 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
      Burken
      last edited by

      Stupid me writed the first line in this code to my firewall…

      ngctl mkpeer em0: bridge lower link0
      ngctl name em0:lower br0
      ngctl connect em0: upper link 1
      ngctl msg em0: setautosrc 0
      ngctl msg em0: setpromisc 1
      
      ngctl mkpeer br0: eiface link2 ether
      ngctl mkpeer br0: eiface link3 ether
      ngctl mkpeer br0: eiface link4 ether
      ngctl mkpeer br0: eiface link5 ether
      ngctl mkpeer br0: eiface link6 ether
      
      ifconfig ngeth0 link 00:01:02:03:04:05
      ifconfig ngeth1 link 00:01:02:03:04:06
      ifconfig ngeth2 link 00:01:02:03:04:07
      ifconfig ngeth3 link 00:01:02:03:04:08
      ifconfig ngeth4 link 00:01:02:03:04:09
      
      dhclient ngeth0
      dhclient ngeth1
      dhclient ngeth2
      dhclient ngeth3
      dhclient ngeth4
      

      i were told it made subinterfaces for me… but now everythink is dead.. im 155miles away from it so i cant do anything right now... but do someone have a clue how i can undo the damage when i get console access?

      And a bonus.. can someone explaine what i just did and what went wrong?

      1 Reply Last reply Reply Quote 0
      • E
        Eugene
        last edited by

        Why don't you ask the person who told you this advice? especially it's interesting to hear his/her answer to bonus question. -)

        http://ru.doc.pfsense.org

        1 Reply Last reply Reply Quote 0
        • B
          Burken
          last edited by

          @Eugene:

          Why don't you ask the person who told you this advice? especially it's interesting to hear his/her answer to bonus question. -)

          he were using that script…

          If i run the whole script it works 50%.. sometimes kills my load balancer.. but i get the virtual nics in pfsense. and sometimes i even get them dhcp ips... but it seems to buggy... so i went to ebay and buyed intel pro 1000 mt. :)

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