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

Setting up a separate work interface on 9.002-12

I am trying to set up a separate work related network in my home. Originally I have my firewall set up with an inside interface with a few 192.168.x.x subnets and outside interface set as default route to the Internet. It is providing several services such as proxy, ntp, email forwarding, etc successfully using AD for authenticating web traffic. At this point, everything is working exactly as expected.

Now what I want to do is set up a new internal “work” interface in the 10.x.x.x network and have all traffic for this subnet go over an IPSec tunnel while leaving the inside interface alone. The tunnel itself was easy enough to set up but the routing is eluding me at this time.

Under Connections I have an IPSec connection set up with my internal 10.x.x.x subnet listed as the Local network and Strict Routing enabled. In Remote Gateway s tab I can set up 0.0.0.0 for the remote networks and the tunnel connection works as expected but all routing for my 192.168.x.x network now fails. If I try to ping an external IP, such as google.com, from the firewall it will fail. If I change the remote networks to 10.0.0.0/8 then I can still get to my work network from the internal work interface and I can now route the home inside interface as expected. However, I have several subnets I need to get to over the tunnel and really need to leave it at 0.0.0.0.

I really need to route everything from my work interface out the tunnel and to segregate the inside from the work interfaces.

Update: apparently, only the routing on the firewall itself is affected. I can ping IP's and Trace route from internal networks through the firewall but can't resolve hostnames since the firewall is being used as a forwarder. I also found that ping and traceroute do not work on the firewall using the tools section??


This thread was automatically locked due to age.
Parents
  • When you are pinging from the Astaro, it will use the address of the interface that it believes is the "gateway" for that traffic.

    Example:

    eth0: 192.168.0.1/24
    eth2:  192.168.1.1/24


    From Support>>Tools>>Ping Check Tab.  If I ping 192.168.0.2, the source will be 192.168.0.1.  If I ping 192.168.1.2, the source will be 192.168.1.1.

    From the shell, you can run ping with -I to manually specify the interface or address.
Reply
  • When you are pinging from the Astaro, it will use the address of the interface that it believes is the "gateway" for that traffic.

    Example:

    eth0: 192.168.0.1/24
    eth2:  192.168.1.1/24


    From Support>>Tools>>Ping Check Tab.  If I ping 192.168.0.2, the source will be 192.168.0.1.  If I ping 192.168.1.2, the source will be 192.168.1.1.

    From the shell, you can run ping with -I to manually specify the interface or address.
Children
  • I do understand that it uses the interface it believes to be the default interface for the destination. What I don't understand is why it is using my work interface as the source for a routable IP such as Google.com. 

    My external interface is connected to the Internet and is set up as the default route. I have a tunnel set up to only allow the work interface traffic over the tunnel and it is set up as a default for everything coming from work.

    So, when I ping an external IP from the tools menu it doesn't use the obvious external interface but instead uses the work interface.

    Sorry if I am missing something but I really don't understand the logic behind this.