Hey,
I'm using a OpenVPN-Server on my raspberry Pi to connect to my home network from outside with multiple devices (Tablet (windows), Smartphone (Android) etc.)
For this usage I've set up 4 config-files:
UDP-TUN (Port 1194) -> using IP's from 10.8.0.0 range, device tun0 (Config:
http://tny.cz/cbf66a5d)
TCP-TUN (Port 1194) -> using IP's from 10.8.1.0 range, device tun1 (Config:
http://tny.cz/16b91f08)
UDP-TAP (Port 1195) -> bridged using DHCP from my normal home network, device tap1 (Config:
http://tny.cz/46068087)
TCP-TAP (Port 1195) -> bridged using DHCP from my normal home network, device tap0 (Config:
http://tny.cz/1ad053fd)
Eth0, tap0 and tap1 were bridged under br0. (ifconfig-output:
http://tny.cz/a861df46)
brctl show
bridge name bridge id STP enabled interfaces
br0 8000.1e13787176ff no eth0
tap0
tap1
Connecting on any of these configs and connecting to servers at my local lan is no problem - for example my Router (fritz.box) is no Problem or the DHCP is working proberbly.
But I'm facing some problems:
- When I connect via UDP-TUN and TCP-TUN two devices could get the same IP.
- I can't ping any of the devices connected via OpenVPN - even the one on the tap-bridge
- Is there a way to route IPTV (Multicast etc.) via the bridged device?
Anyone know how to solve this problems?
Greetings Hexcode