Hello,
I want to transmit UDP Broadcast Packets using OpenVPN via 4G / LTE Network. The UDP Broadcasts comes from a measurement system that is connected to a 4G / LTE Router. The OpenVPN Server is connected to an AVM Fritzbox DSL Router. The UDP Broadcast should be transmitted to the OpenVPN Server and when its possible to other PC in the Server LAN.
UDP Broadcast Packets from Measurement system, connected to 4G Router:
Source IP: 10.0.11.10
Source Mac: 12-34-56-78-90-ab
Source Port: 8001 (variable)
Destination IP: 10.0.11.255
Destination MAC: FF-FF-FF-FF-FF-FF
Destination Port: 8011 (variable)
OpenVPN Server:
Windows XP PC, 1 NIC IP 10.0.1.31, 255.255.255.0
TAP Adapter installed, Network Bridge with NIC + TAP
Connected to DSL Router
DSL Router:
AVM Fritzbox, WAN Static IP xx.xx.xx.xx
4 Port LAN, IP 10.0.1.xx / 255.255.255.0
4G / LTE Router:
Built in OpenVPN Client
2 LAN Connectors, IP 10.0.11.xx / 255.255.255.0
After reading many HowTo’s and tutorials I think I would need TAP and bridging. I installed OpenVPN and connected the Client to the server. The OpenVPN Port is forwarded from DSL Router to the Server. I can ping the server from the client, but the UDP Packets would not be forwarded to the Server.
port 1194
proto udp
dev tap
dev-node tap-bridge
server-bridge 172.16.0.4 255.255.255.0 172.16.0.128 172.16.0.254
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
ifconfig-pool-persist ipp.txt
client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
mute 20
client
dev tap
proto udp
remote xx.xx.xx.xx 1194
resolv-retry infinite
nobind
ca ca.crt
cert client.crt
key client.key
persist-key
persist-tun
comp-lzo
verb 5
mute 20
Can you tell me what’s wrong with my config? Is it possible to forward the UDP Broadcast? Did I forget to add routing?
Thanks for your help!