I am trying to get to following setup work on my Raspery PI with XBIAN.
I have an UPnP server running (which uses multicast) on ip 192.168.1.41
and I am trying to configure OpenVPN as bridge (because of multicast).
I want to run the android app OpenVPN Setting
https://play.google.com/store/apps/details?id=de.schaeuffelhut.android.openvpn
which supports tap.
My problem is, when i run the bridge-start script, that my raspberry loses ssh connection after short while. Before it crashes I can connect with my Android or Windows OpenVPN client, but don't see my UPnP Server in my UPnP apps.
My other try was to run OpenVPN as tun and use smcrouter to route multicast traffic. Unfortunatly does the raspberry kernel not support multicast routing. (Is this a problem for the OpenVPN bridge too?).
http://bda.ath.cx/blog/2009/01/24/multicast-routing-upnp-traffic-with-linux/
bridge start script
openvpn --mktun --dev tap0
ifconfig tap0 promisc up
brctl addbr br0
brctl addif br0 tap0
ifconfig br0 192.168.1.41 netmask 255.255.255.0 broadcast 192.168.1.255
server openvpn.conf
dev tap0
proto udp
port 1194
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key
dh /etc/openvpn/easy-rsa/keys/dh1024.pem
user nobody
group nogroup
server-bridge 192.168.1.41 255.255.255.0 192.168.1.200 192.168.1.210
persist-key
persist-tun
status /var/log/openvpn-status.log
verb 3
client-to-client
push "redirect-gateway def1"
#set the dns servers
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
log-append /var/log/openvpn
comp-lzo
client config
dev tap
client
proto udp
remote $SERVERFQDN 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
comp-lzo
verb 3
Any ideas whats going wrong or how i could get multicast routed to my android app?