I have a client-server set up with static keys, tap interfaces, in bridge/tap mode(bridging two lans across a wan. Been working like this for a while. We'll call it Main Site, and Client Site 1
I'm trying to add another site (Client Site 2) to the mix. I did it the way it seemed to make sense, and I can get traffic to flow, but both remote sites see data for each other. This is a problem, because one site(Client Site 1) has a 1gb/s connection, and the other(Client Site 2) a 20mb/s connection. When the 1gb site pulls info from Main Site(which also has a 1gb/s connection), it crushes Client Site 2.
Configs below.
#Main site openvpn config
#user nobody
#group nobody
#daemon
script-security 2
dev tap
secret static.key
cipher aes-128-cbc
fragment 0
mssfix 0
tun-mtu 12000
up /etc/openvpn/bridge_up.sh
down /etc/openvpn/bridge_down.sh
#Main site bridge_up.sh
#!/bin/bash
ifconfig eth1 up
brctl addbr br0
brctl addif br0 $dev eth1
ifconfig br0 192.168.150.1 netmask 255.255.255.0
ifconfig eth1 promisc up
ifconfig $dev promisc up
#Main site bridge_down.sh
#!/bin/bash
ifconfig br0 down
brctl delbr br0
ifconfig eth1 down
#Client site 1 config
#user nobody
#group nobody
#daemon
dev tap
secret static.key
remote <removed>
cipher aes-128-cbc
fragment 0
mssfix 0
tun-mtu 12000
script-security 2
up /etc/openvpn/bridge_up.sh
down /etc/openvpn/bridge_down.sh
bridge up/bridge down for both client sites are identical to the main, just different IP addresses.
client site 2 config is identical to client site 1.
at all sites eth0 is facing the WAN, and eth1 is facing the LAN
I also tried firing up a second openvpn daemon on Main site, listening on a different port, with a separate tap interface, adding that tap interface to the bridge, with the same results.
What have I screwed up that's causing this?
Any help is much appreciated.