[{"data":1,"prerenderedAt":287},["ShallowReactive",2],{"Categories":3,"NavIndexCategoriesCountFooter":203,"content-\u002F2007\u002F02\u002F04\u002Fmigrating-openbsd-3-6-firewall-to-4-0-on-a-cf-card\u002F":204},[4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,68,70,71,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202],{"category":5},"System Administration",{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},"Software Development",{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":27},{"category":27},{"category":67},"Drones & RC",{"category":69},"DIY Projects",{"category":67},{"category":72},"Photography",{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":67},{"category":67},{"category":72},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":5},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":67},{"category":67},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":72},{"category":67},{"category":138},"3D Printing - Laser Cutting - CNC",{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":5},{"category":138},{"category":27},{"category":27},{"category":138},{"category":138},{"category":72},{"category":158},"Photography,3D Printing - Laser Cutting - CNC",{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":67},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":181},"Home Assistant",{"category":181},{"category":72},{"category":27},{"category":27},{"category":72},{"category":138},{"category":5},{"category":72},{"category":72},{"category":138},{"category":27},{"category":181},{"category":181},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},191,{"id":205,"title":206,"body":207,"category":5,"date":273,"description":213,"embedImage":274,"extension":275,"image":274,"intro":274,"meta":276,"navigation":277,"path":278,"seo":279,"series":274,"sitemap":280,"stem":281,"tags":282,"__hash__":286},"content\u002F2007\u002F02\u002F04\u002Fmigrating-openbsd-3-6-firewall-to-4-0-on-a-cf-card.md","Migrating OpenBSD 3.6 firewall to 4.0 on a CF card",{"type":208,"value":209,"toc":270},"minimark",[210,214,217,223,226,237,242,245,250,253,258],[211,212,213],"p",{},"I have an OpenBSD 3.6 machine as my home firewall. I also have a mini-itx machine with IDE-CF converter card waiting to replace it. This is the state of play",[211,215,216],{},"The build machine is running 4.0.",[211,218,219],{},[220,221,222],"strong",{},"chroot",[211,224,225],{},"As root - lets build a chroot area in \u002Fhome\u002Fchroot",[227,228,233],"pre",{"className":229,"code":231,"language":232},[230],"language-text","cd \u002Fusr\nexport CVSROOT=anoncvs@anoncvs.no.openbsd.org:\u002Fcvs\ncvs -d$CVSROOT checkout -rOPENBSD_4_0 -P src ports\ncd \u002Fusr\u002Fsrc\u002Fsys\u002Farch\u002Fi386\u002Fconf\nconfig GENERIC\ncd ..\u002Fcompile\u002FGENERIC\nmake clean && make depend && make\nmake install\nrm -rf \u002Fusr\u002Fobj\u002F*\ncd \u002Fusr\u002Fsrc\nmake obj\ncd \u002Fusr\u002Fsrc\u002Fetc && env DESTDIR=\u002F make distrib-dirs\ncd \u002Fusr\u002Fsrc\nmake build\ncd \u002Fusr\u002Fsrc\u002Fetc && env DESTDIR=\u002Fhome\u002Fchroot make distrib-dirs\ncd \u002Fusr\u002Fsrc && env DESTDIR=\u002Fhome\u002Fchroot make build\n","text",[234,235,231],"code",{"__ignoreMap":236},"",[211,238,239],{},[220,240,241],{},"Update config",[211,243,244],{},"All wished for config should be present in the chroot",[211,246,247],{},[220,248,249],{},"Ports",[211,251,252],{},"Any wished for ports files should be in the chroot",[211,254,255],{},[220,256,257],{},"Compact flash",[211,259,260,261],{},"Transfer the required files to the CF card using flashdist ",[262,263,264],"a",{"href":264,"rel":265,"target":269},"http:\u002F\u002Fwww.nmedia.net\u002F~chris\u002Fsoekris\u002F",[266,267,268],"nofollow","noopener","noreferer","_blank",{"title":236,"searchDepth":271,"depth":271,"links":272},2,[],"2007-02-04 17:12:38 +0100",null,"md",{},true,"\u002F2007\u002F02\u002F04\u002Fmigrating-openbsd-3-6-firewall-to-4-0-on-a-cf-card",{"title":206,"description":213},{"loc":278},"2007\u002F02\u002F04\u002Fmigrating-openbsd-3-6-firewall-to-4-0-on-a-cf-card",[283,284,285],"openbsd","firewall","compact flash","X7pe08AyVkIqoi1-Zy9xt9vcSeUeuvwLmPAr6UB0gS4",1775293015405]