Hi there,
Now i got one problem is i trying to setup a linux firewall for protect my other virtual box linux server.
so i trying to put firewall at eth0 and output to eth1 (Web Server)
How do i set on the network part?
Thanks ,
Sorry for my bad english and wish someone help =D
Regards
Kenny
How to use setup 2 Virtual Server with 1 firewall 1 webserve
-
BillG
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: How to use setup 2 Virtual Server with 1 firewall 1 webs
You put the NIC of the second server and the "private" NIC of the firewall (eth1) in an internal virtual network. You bridge the "public" NIC of the firewall VM (eth0) to a physical NIC with Internet access. The internal network will behave like a separate hub/switch.
Bill
-
YouYi1314
- Posts: 2
- Joined: 14. Apr 2012, 20:12
- Primary OS: MS Windows 7
- VBox Version: OSE Fedora
- Guest OSses: CentOS
Re: How to use setup 2 Virtual Server with 1 firewall 1 webs
Thanks for the reply, can you give me a screenshot?BillG wrote:You put the NIC of the second server and the "private" NIC of the firewall (eth1) in an internal virtual network. You bridge the "public" NIC of the firewall VM (eth0) to a physical NIC with Internet access. The internal network will behave like a separate hub/switch.
Thanks =D
EDIT:
Do you mean on the Firewall VM setup Network Adapter Bridge and Web Server Setup Network Adapter to Internal Network and set the name eth1 right?
-
BillG
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: How to use setup 2 Virtual Server with 1 firewall 1 webs
I suggest that you do a little reading on networking and firewalls . How this works with virtual machines and virtual networks is basically just the same as with phyisical networks and machines. If you don't know how it works, virtualization won't magically make it easy!
Bill