{"id":375,"date":"2013-01-27T11:21:47","date_gmt":"2013-01-27T10:21:47","guid":{"rendered":"http:\/\/wp.rimfalt.se\/?p=375"},"modified":"2021-07-07T16:04:45","modified_gmt":"2021-07-07T14:04:45","slug":"pfsense-collection-of-things-good-to-remember","status":"publish","type":"post","link":"https:\/\/wp.rimfalt.se\/?p=375","title":{"rendered":"PFsense &#8211; Collection of things good to remember&#8230;"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"354\" height=\"135\" src=\"https:\/\/wp.rimfalt.se\/wp-content\/uploads\/2021\/07\/bild.png\" alt=\"\" class=\"wp-image-833\" srcset=\"https:\/\/wp.rimfalt.se\/wp-content\/uploads\/2021\/07\/bild.png 354w, https:\/\/wp.rimfalt.se\/wp-content\/uploads\/2021\/07\/bild-300x114.png 300w\" sizes=\"auto, (max-width: 354px) 100vw, 354px\" \/><\/figure>\n\n\n<p>\/etc\/rc.conf_mount_rw to make filesystem temporarily writeable<br \/>\/etc\/rc.conf_mount_ro to set filesystem back to read-only<\/p>\n\n\n<p>Restore backup and check filesystem of Pfsense Firewall<\/p>\n\n\n\n<p>Select to boot into \u201c<strong>single user<\/strong>\u201d mode. <br>When you get a prompt, remount the filesystem into read\/write mode using \u201c<strong>mount -u \/cf\u201d<\/strong><br>Check the filesystem for errors and repair them with \u201c<strong>fsck -yf \/<\/strong>\u201c. or just <strong>fsck<\/strong>&#8230;<br><br>Locate and copy the restore file from the \u201c\/cf\/conf\/backup\/\u201d directory. <br>Copy it with &#8221;<strong>cp \/cf\/conf\/backup\/config-12121221.xml \/cf\/config\/config.xml&#8221;<\/strong><br> Remove the file \u201c\/tmp\/config.cache\u201d using \u201c<strong>rm \/tmp\/config.cache<\/strong>\u201c. <\/p>\n\n\n\n<p>Run the command \u201c<strong>\/etc\/rc.reload_all start<\/strong>\u201c. <br><br>Reboot using \u201c<strong>reboot<\/strong>\u201c.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/etc\/rc.conf_mount_rw to make filesystem temporarily writeable\/etc\/rc.conf_mount_ro to set filesystem back to read-only Restore backup and check filesystem of Pfsense Firewall [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[6,12],"tags":[],"class_list":["post-375","post","type-post","status-publish","format-standard","hentry","category-pfsense","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=\/wp\/v2\/posts\/375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=375"}],"version-history":[{"count":4,"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=\/wp\/v2\/posts\/375\/revisions"}],"predecessor-version":[{"id":836,"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=\/wp\/v2\/posts\/375\/revisions\/836"}],"wp:attachment":[{"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}