Ngctl killd my firewall
-
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?
-
Why don't you ask the person who told you this advice? especially it's interesting to hear his/her answer to bonus question. -)
-
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. :)