How to configure the firewall so that all traffic goes in and out through it?

Reply
Highlighted
L1 Bithead

How to configure the firewall so that all traffic goes in and out through it?

Hello, everybody.

 

I am configuring a VM-300 Virtual Firewall on a KVM installed in CentOS.

 

The dedicated server where the virtual firewall is installed has two network cards.


One of which connects to the Internet and the other with which it connects to a switch to which other servers are connected.

 

My intention is for all incoming and outgoing traffic to pass through the firewall.

 

DRAW.png

 

Certainly all servers, have their own public ip, and their future virtualized systems in them will also have their public ips.

 

Can someone please tell me what kind of configuration would be appropriate for this scenario?

For the moment, without being very sure I have thought that I should follow a Layer3 configuration, and I am doing steps as they are referred to in this guide.

 

Getting-Started-Layer-3-NAT-and-DHCP

 

Am I on the right track or will this guide not apply to my scenario?

 

Greetings and thanks


Accepted Solutions
L7 Applicator

If all your internal servers will get a private IP on their physical interface and have the firewall perform NAT, then your layer3 design will work perfectly

If it is your intention to assign each host a public IP on it's interface, then you may need to consider a vwire or layer2 design

Tom Piens - PANgurus.com
Find my book at amazon.com/dp/1789956374

View solution in original post


All Replies
L7 Applicator

If all your internal servers will get a private IP on their physical interface and have the firewall perform NAT, then your layer3 design will work perfectly

If it is your intention to assign each host a public IP on it's interface, then you may need to consider a vwire or layer2 design

Tom Piens - PANgurus.com
Find my book at amazon.com/dp/1789956374

View solution in original post

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!