Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problems configuring web filtering in bridged mode

FormerMember
FormerMember
Hello all,

[SIZE="4"]first I like to explain what I want to achieve:[/SIZE]

Two servers need to communicate through a firewall. Because the subnet has only 2 assignable IP's (/252), I need to implement the Sophos UTM 9 as a transparent firewall:



The server must be able to communicate on port 12345 but must not be able to communicate in any other way, except for pings, which must work.

[SIZE="4"]This is what I did:[/SIZE]

Server 1 is connected to eth0, server 2 is connected to eth2. Interface eth2 is located in a different network to be able to manage the UTM.

I created a bridge between eth0 and eth1.

At this point I hoped that the two servers could communicate. It would not work. So I found this kb article and went through the steps 1-5 ("Enable the firewall rule"). It did not help. I cannot send pings through the UTM. To be sure I removed the UTM and connected them directly. Pings went through.

I need a little help here.

[SIZE="4"]This is what I don't understand:[/SIZE]

- Why do I need to create an interface on the bridge and even assign it a IP address?
- Despise the any/any rule, pings won't work. (I did not set up any other firewall rules, yet.)

Thanks in advance!

Haedrig


This thread was automatically locked due to age.
Parents
  • I meant:
    Well, I haven't tried it, but you might be able to assign an IP to br0 that won't ever go through or to you, like 239.255.255.254/32 and use something like 88.99.10.134 (whatever is your default gateway assigned by your ISP) as the default gateway. I'm confused that you would put a bridge in front of your public IP, but I suppose that should work - maybe you'll need to use your public IP as the default gateway - I dunno, I can't "see" the packet-flow at the moment.


    Cheers - Bob
  • FormerMember
    0 FormerMember in reply to BAlfson
    Sorry, but that makes no sense. The UTM must act as layer 2. Setting up a GW would make the UTM act as layer 3. I don't want the UTM to route packets.
  • FormerMember
    0 FormerMember in reply to FormerMember
    I got it working! All I needed to do was bridging the interfaces, no need to assign any IP address (as I said several times).

    The problem was that I used Hyper-V to test this but the vNICs in the Sophos dropped the packages because they would not allow MAC spoofing. Once I changed that, it worked flawlessly.

    And to use the firewall I needed to create a network definition of the bridged network and could use this as source and destination.

    Thanks anyway for your help BAlfson, much appreciated and I believe you learned something about bridging, too! [:)]
Reply
  • FormerMember
    0 FormerMember in reply to FormerMember
    I got it working! All I needed to do was bridging the interfaces, no need to assign any IP address (as I said several times).

    The problem was that I used Hyper-V to test this but the vNICs in the Sophos dropped the packages because they would not allow MAC spoofing. Once I changed that, it worked flawlessly.

    And to use the firewall I needed to create a network definition of the bridged network and could use this as source and destination.

    Thanks anyway for your help BAlfson, much appreciated and I believe you learned something about bridging, too! [:)]
Children
No Data