Hey all, back again with another firewall question.
After doing some digging through Google, I was able to find some documents to help me setup a bridging firewall.
I am using RedHat 9 with iptables. I was able to successfully test the firewall with services on the local machine (the firewall itself) by turning off the firewall and telnetting and sshing into it - and then turning it on and only being able to ssh into it.
All the IPs are in the same subnet. Example:
Router - 25.25.25.1
Firewall(external) - 25.25.25.221
Firewall(internal) - 25.25.25.222
A Machine Behind Firewall - 25.25.25.146
They all have to be in the same subnet in order for our servers to be visible to the net, but I want it firewalled - hence the bridge.
I hooked up our router directly to the firewall, and then I couldn't get out to the Internet on any machine. Here is a diagram of our setup.
Router
|
|
Hub
|-------Dial-in Server
|
|
Switch---Client Machine
| |
| |
Firewal
That is what it was while I was setting it up. During the test it was the following.
Router
|
|
Hub---Dial-in Server
|
|
Firewall
|
|
Switch---Client Machine
I wrote a couple of scripts for setting this up. I'll post those in the next post.
After doing some digging through Google, I was able to find some documents to help me setup a bridging firewall.
I am using RedHat 9 with iptables. I was able to successfully test the firewall with services on the local machine (the firewall itself) by turning off the firewall and telnetting and sshing into it - and then turning it on and only being able to ssh into it.
All the IPs are in the same subnet. Example:
Router - 25.25.25.1
Firewall(external) - 25.25.25.221
Firewall(internal) - 25.25.25.222
A Machine Behind Firewall - 25.25.25.146
They all have to be in the same subnet in order for our servers to be visible to the net, but I want it firewalled - hence the bridge.
I hooked up our router directly to the firewall, and then I couldn't get out to the Internet on any machine. Here is a diagram of our setup.
Router
|
|
Hub
|-------Dial-in Server
|
|
Switch---Client Machine
| |
| |
Firewal
That is what it was while I was setting it up. During the test it was the following.
Router
|
|
Hub---Dial-in Server
|
|
Firewall
|
|
Switch---Client Machine
I wrote a couple of scripts for setting this up. I'll post those in the next post.