Smallest Firewall / Router VM (FreeSCO) For Your Home Lab

In my home lab virtual environment, VMware ESXi and Workstation used to host most of my testing virtual machines. To get those VMs working together in a multi networks diagram, I always need to have a router or firewall VM. I were using all kinds of virtual routers or firwealls, such as those major vendors, Cisco, CheckPoint, Juniper, Fortinet, Palo Alo, also some small vendors, such as OpenWRT,PFsense, RouterOS, etc. But recent I found one small Virtual image surprised me. The whole virtual image file is only 1.4MB. Memory only needs 16MB.

 Booting menu

Diagram

Internet <------>(Public IP)Home Router(192.168.2.1) <------>192.168.2.x/24 network <------> (192.168.2.20)FreeSCO (192.168.111.3) <------> 192.168.111.x/24 network<------>Windows Test Machine(192.168.111.111)

 Some of Freesco’s abilities:

  • Simple bridge
  • Firewalling and NAT
  • Dialup, leased line, DSL and cable router
  • Time, DHCP, DNS, HTTP server
  • Remote access server
  • Print server
  • Supports up to three Ethernet/arcnet/token_ring/arlan NICs
  • and two modems

 

VMWare Configuration

Login System

After imported into VMWare Workstation, power it on, you will see following login window:

After all interface configured:

Default Login: root

Default Password: Welcome1

Enter a name and country code. you will be placed into console. 


 _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ v0.4.5 _/_/_/ _/_/_/_/ _/_/_/ _/_/_/ _/_/_/_/ _/ _/ _/ Powered _/ _/ _/ _/ _/ _/ _/ _/ _/ by _/ _/ _/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ LiNUX Registering your system is NOT required and the system will run perfectly without registering, but it is helpful in accurately counting the number of systems running FREESCO. No personal information is needed except for a name to register the system with. Once registered this prompt will never appear again. Register your system now (y/n)? [y] Registration name? freesco1 Your two letter country code? US error: HTTP error from server: HTTP/1.1 500 Internal Server Error Error ile rev 2.7freesco [root@freesco]  

Setup Interface

Use ssh client to log in this small router. 
Type Setup then enter:
Choose h) Local networks, 
For Netwrok #0 , which is WAN network . Configure static ip address 192.168.2.20 / 24 with gateway 192.168.2.1. 

For eth0, by default, it is DHCP client enabled, which means you will get ip address from your DHCP server, ususually it is your home router.
Then configuration network #1 (LAN interface) to use eth1 with static ip address 192.168.111.3/24.

Press x to ext and save the configuration. 
You will be prompted to restart the sytem. 
Type reboot to restart it. 

Web interface

http://<IP>

http://<IP>:82
Username : admin
Password : Welcome1     

Network configuraiton:

Configure Home Router (Not FreeSCO) to Return Traffic to LAB Network Behind FreeSCO

By default your Home Router does not know where is 192.168.111.x network. To get your home router (192.168.2.1) to return traffic back to FreeSCO, you will need to add a static route like below:

Or, we can configure our FreeSCO to enable NAT/Firewall. 

On/Off NAT Firewall Mode:

DNS Configuration

Configure server - Server Settings from Advanced Configuraiton

Reboot system after setting changed. 

Youtube Video

A video I created long time ago (Jul 2018) to show you the whole process and it is still valid: 

Client Configuration

For other network, for example 192.168.2.x/255.255.255.0 , to access 192.168.111.x network, you might need to add a specific route if you don't have a static route added into your home router.

For windows:
  • route add 192.168.111.0 mask 255.255.255.0 192.168.2.20 -p
  • route add 192.168.111.0 mask 255.255.255.0 192.168.2.20 

To delete:

  • route delete 192.168.111.0

Software Download link

https://od.51sec.org/TGM_51Sec_EU/Sharing/VM/Router%20Images/

References

版权声明:
作者:cc
链接:https://www.techfm.club/p/88966.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>