Linux Based Firewall & Flood Blocking Server
-
Hello Friends,
I want to implement Linux based (Open Source) Firewall & Network Packet Flood detector if possible. Here is the scenario.
-
LAN segment is having approx 40 computers having IP Address 192.168.75.*/24
-
All LAN Computers are connected with a central switch Cisco Manageable 2960 (48 Port). It is manageable,cab be used as a VLAN. But not done by anyone till date.
-
Cisco 2960 Switch is having IP Address 192.168.75.1/24
-
Cisco router sits on the top most location & having IP Address 192.168.75.2/24
-
Now, I want to connect/configure a Linux Based Firewall/Flood Detector which can monitor all type of traffic "Coming from LAN segment & Going towards Router" & Same traffic from Router to LAN Segment.
-
Also that Linux Firewall should be able to detect any flooding if found & cab be able to block it. As there is no centralized firewall, this Linux Machine can also act as a firewall. Sits between Cisco LAN Switch & Cisco Router. Is it possible?
-
The Hardware with 2 Network Interface Card is ready.
*** Shall I give IP Address sequence as given below.
-
Switch (192.168.75.1)
-
Linux Box Interface I (192.168.75.3) - Network Cable Coming from Switch
-
Linux Box Interface II (192.168.75.4) - Network Cable Going to Router
-
Router (192.168.75.2)
Now, how to pass traffic from interface I to Interface II & how to monitor the traffic? Bridge concept will work here or not? Is it possible to make policies? How NAT will work in LAN segment & how to assign same range IP Address on both LinuxBox interface?
Regards,
Nishith N.Vyas -
-
This is not linux, so if that is most important thing to comply, then this is not your product.
- ok
- ok
- ok
- ok
- doable
- with packages, doable
- if you want filtering bridge you need also vlans in use(3 interfaces)
switch ip, ok
interface1 ok
interface2 not ok, if you change ip subnet fine, or use filtering bridge then you don't need more than management ip-address
router, okCreate a test product with virtual machine, then you see how easy this is to use
-
New scenario.
-
A PC is having 2 interfaces. I want to put this PC in between "LAN Switch & Router".
-
Router IP is "192.168.75.2"
-
All the LAN Computers are having internet access & their default gateway 192.168.75.2(Router)
-
So, I would like to know how to make "pfsense" firewall in bridge mode so that it will be responsible to just divert the traffic with the applied policies. Like facebook is block for everyone. Is it possible?
Advanced Thanks,
Nishith Vyas -
-
- with filtering bridge you should use 3 interfaces for management. filtering bridge is transparent in network means, so it has no ip-address to show to clients
- ok
- as usual
- using search helps a lot and ofcourse documentation wiki helps with how-to's and tutorials. you can block websites with transparent squid+squidguard