pptpd on multiple wan connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a pptpd running on a router (ubuntu 8.04) with two WAN
connections and does some traffic balancing on these connections
(configured with ebox-platform btw)

The pptp is configured to listen on the first (eth0) WAN connection,
but sometimes the GRE traffic is going via the second WAN (eth1)
connection, which results in a 619 error in the microsoft pptp client
after a while (makes sense I guess).

I tried adding a rule in my mangle table, which seems to work for tcp
port 1723 but not for GRE. What am I doing wrong?

The correspondig rules are:

-A PREROUTING -m mark --mark 0x0/0xff -m mac --mac-source
00:19:CB:3E:2A:0F -j MARK --set-mark 0x1
-A PREROUTING -m mark --mark 0x0/0xff -m mac --mac-source
00:1B:54:CB:7E:05 -j MARK --set-mark 0x2
-A PREROUTING  -p tcp -m tcp --sport 1723 -m mark --mark 0x0/0xff -j
MARK --set-mark 0x1
-A PREROUTING  -p gre -m mark --mark 0x0/0xff -j MARK --set-mark 0x1


Thanks for your help!
Wessel
-
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux