Author Topic: Multigateway rules not working?  (Read 1536 times)

Roeltje

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Multigateway rules not working?
« on: November 08, 2013, 10:36:24 am »
I'm running a Zentyal 3.2 server, with 2 gateways and all updates and I'm running a couple of remote webservers with directadmin control panels, which use port 2222 for connection.

Fun part is, directadmin logs out directly after an IP change, and with my multi gateway setup the IP changes quite a lot...

So in Zentyal, I've created a service called directadmin, with port 2222 assigned to it, went to network > gateways > balance traffic > multigateway rules and assigned all traffic to service directadmin to one of the gateways...

But that wont work :p

Am I doing something wrong? Cause I had the idea that is was working this way when I was still using Zentyal 2.2

robb

  • Guest
Re: Multigateway rules not working?
« Reply #1 on: November 08, 2013, 10:42:24 am »
What other rules do you have implemented? Those rules are being executed 1 by one. maybe you can change the execution order of the rules?

christian

  • Guest
Re: Multigateway rules not working?
« Reply #2 on: November 08, 2013, 10:43:46 am »
In order to determine if your rule is applied or not, did you try to type
Code: [Select]
ip route showon Zentyal server terminal ?

Roeltje

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Multigateway rules not working?
« Reply #3 on: November 11, 2013, 10:12:12 am »
192.168.1.0/24 dev eth1  proto kernel  scope link  src 192.168.1.10
192.168.3.0/24 dev eth2  proto kernel  scope link  src 192.168.3.10
192.168.10.0/24 dev eth0  proto kernel  scope link  src 192.168.10.254
192.168.160.0/24 dev tap0  proto kernel  scope link  src 192.168.160.1

eth1 and eth2 are external, eth0 is internal.

BrettonWoods

  • Guest
Re: Multigateway rules not working?
« Reply #4 on: November 11, 2013, 10:42:10 am »
I am the same I have a multiwan and setup so dns queries go to the primary dns of each ISP.

When I do an IP Route Show I get exactly the same as you except I have different ip's

Even stranger as when setting up a server the last thing I do is open ports.

I was receiving emails before I enabled external -> zentyal?
« Last Edit: November 11, 2013, 11:04:21 am by BrettonWoods »