1
I have a dd-wrt router with openVPN set up which I'm using to play LAN games remotely.
Some details on the network:
remote site LAN: 192.168.10.0/23
router LAN IP: 192.168.11.1
LAN DHCP range: 192.168.11.1-254 (same for VPN clients)
The games we're playing are using broadcast packets to locate the servers, the problem is that even though the broadcasts are sent to the VPN, the router isn't getting them from the clients to the hosts inside the LAN on the remote site. The inverse is also true, broadcasts from the remote LAN are not reaching the VPN clients.
This is happening only for the 255.255.255.255 broadcast address, I have sniffed the network on the client side and I can see "normal" broadcasts to 192.168.11.255.
Example of a non-traversing packet (source is VPN client):
192.168.11.24 255.255.255.255 UDP Source port: 28960 Destination port: 28961
Example of a traversing packet (caught by sniffing on the VPN client. source is a host in the remote LAN):
192.168.11.25 192.168.11.255 UDP Source port: 60978 Destination port: 32414
How can the router be configured to broadcast these packets?
Is this a routing, iptables, or openVPN fix?
Edit: the VPN is configured in bridged mode (tap).
I forgot to mention that the VPN is in bridged mode already. – André Fernandes – 2014-12-02T18:43:09.117
Make sure you didn't mix up your WAN and LAN interfaces. LAN should be part of the OpenVPN
br0
, but not the WAN interface. – LawrenceC – 2014-12-02T18:54:05.173Checked it and it's right, otherwise the VPN wouldn't be working i think. This is configured by ddwrt automatically. bridge name bridge id STP enabled interfaces br0 8000.b0487ade0b7e no vlan1 ath0 tap2 – André Fernandes – 2014-12-03T00:57:06.250