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

dyn/static route on 2nd IF not working?

Hello,
i have the following issue: i need to access a host (***.98.202.53) that's behind an interface on my UTM box, the interface is 192.168.10.x/24 with a .254 as default gateway and is configured as DHCP client.
this IF is NOT set as default gateway(as it doesnt has access to anything BUt that host)
on another interface i have the normal internet connection.

now, i have done the following:

[LIST=1]
  • Configured the interface "private" as DHCP client, it gets IP 192.168.70.2/24
  • Made a host definition for that IF GW (192.168.0.254) bound to the "private" IF
  • Made a host definition for the specific host (***.98.202.53) bound to the "private" IF as well
  • Made a PF rule allowing LAN->host
  • Made a policy route, type gateway, from LAN-> host, gateway "private GW"
[/LIST]

and it doesn't works, i can see a initial packet loaded in PF live log but no ping, no traceroute pass, if i traceroute from UTM itself it goes to internet, ping from lan or utm also fail.

I tried making a static gateway router, with same definition, no avail.

What am i doing wrong?, or the problem is not on my UTM and instead is a routing table issue on the .254 gateway?


This thread was automatically locked due to age.
Parents Reply Children
  • One thing you shouldn't be doing is binding a host definition to an interface. That can call all manner of strange problems.


    Why not?, it prevent that definition from being used on other interfaces i dont want(specially if it's a public IP).

    I forgot to add that i also tried leaving the bindings to "ANY" as a final test and the results didn't change