Page 1 of 1

How to use setup 2 Virtual Server with 1 firewall 1 webserve

Posted: 14. Apr 2012, 20:15
by YouYi1314
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

Re: How to use setup 2 Virtual Server with 1 firewall 1 webs

Posted: 15. Apr 2012, 01:21
by BillG
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.

Re: How to use setup 2 Virtual Server with 1 firewall 1 webs

Posted: 15. Apr 2012, 03:18
by YouYi1314
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 for the reply, can you give me a screenshot?
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?

Re: How to use setup 2 Virtual Server with 1 firewall 1 webs

Posted: 15. Apr 2012, 11:40
by BillG
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!