11

记OPNsense防火墙的安装过程 - 安全 - lzhdim

 1 year ago
source link: https://www.cnblogs.com/lzhdim/p/17073738.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

记OPNsense防火墙的安装过程 - 安全

Posted on 2023-01-29 20:08  lzhdim  阅读(45)  评论(0)  编辑  收藏  举报

       前些天在网上看到防火墙软件OPNsense,对其有了兴趣,以前写过一个其前面的一个软件M0n0wall( 关于m0n0wall的安装及配置 ),当时也是非常有名的防火墙,现在有了OPNsense,这个老防火墙已经停止更新了。

       下面对OPNsense防火墙的安装进行介绍:

  1、        下载ISO安装文件;

  别去官网下载ISO,速度慢,而且是IMG格式。这里提供下载:

       https://mirrors.aliyun.com/opnsense/releases/23.1/OPNsense-23.1-OpenSSL-dvd-amd64.iso.bz2?spm=a2c6h.25603864.0.0.37c91a64I1WaRs

       或者百度云网盘:

       链接:https://pan.baidu.com/s/1r6d1slP3CSDsWJVob5BetQ

  提取码:600o

  2、        准备虚拟机;

  虚拟机,我这边使用的是VMWare workstation 17,提供下载:

       链接:https://pan.baidu.com/s/1pXJHlsZcpDIyGeuFpQMYJA

  提取码:lsag

  1)        虚拟机的安装;

  VMWare虚拟机,以前有写过:VMWare虚拟机安装 - 学习者系列文章

  注意这里选择“其它”,FreeBSD操作系统。

  2)        防护墙虚拟机的配置;

  防火墙虚拟机,主要配置两个网卡,一个接外网,一个接内网。

   

o_230129120215_1.png

  3、        安装防火墙;

  1)        设置虚拟机光驱ISO;

  先设置虚拟机光驱文件为下载的ISO文件。

  2)        安装;

  A、打开虚拟机电源,显示安装窗口,等待启动。

   

o_230129120219_2.png

       B、输入installer ,opnsense账号密码(都是小写)打开安装界面;

      

o_230129120223_3.png

       C、开始安装;

   

o_230129120228_4.png

      

o_230129120232_5.png

      

o_230129120236_6.png

   

o_230129120240_7.png

    

o_230129120244_8.png

   

o_230129120248_9.png

  

o_230129120252_10.png

       设置一下密码(root的密码):

      

o_230129120256_11.png

       结束后选下面项,退出重启;

       这里看到LAN的IP不是虚拟机内网IP,需要设置一下,用root登录。

   

o_230129120300_12.png

       登录后选2,进入设置:

   

o_230129120304_13.png

       下面进行设置:

      

o_230129120309_14.png

       这时候会进行配置,然后完成后会显示:

      

o_230129120314_15.png

       如果可以,重启一下系统,然后用上面的http://192.168.150.129这个IP在虚拟机内网里的其它电脑的浏览器里进行打开就能够进行设置该防火墙了。

       上面对防火墙OPNsense的安装过程进行了介绍,具体其配置后面感兴趣的再进行介绍。

Etc.今天是初八了,年还没过完,再次祝大家春节快乐。

o_o_Code.png     Austin Liu  刘恒辉
    Lzhdim Group's Chairman,Project Manager and Software Designer
    E-Mail:[email protected]
    Blog:  https://lzhdim.cnblogs.com

欢迎收藏和转载此博客中的博文,但是请注明出处,给作者一个与大家交流的空间。谢谢大家。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK