Maybe I am expecting too much ...
My server is on an ASUS-router (192.169.1.1) providing a LAN for a few PCs, a NAS and a printer. This ASUS-router is connected to the Internet.
My clients are an ANDROID phone and ANDROID tablet, using 'OPENVPN CLIENT' which supports both TUN and TAP-configurations.
I have successfully (?) setup my VPN using TAP, and I am able to ping and connect my remote clients to the LAN using the specific IP-addresses (192.168.1.* - range) and vice-versa.
What I am missing:
when browsing the 'local' network (192.168.1.*) from my ANDROID clients, the client sees and browses the Gateway for the client (e.g. 192.168.43.1), but NOT the other devices on my LAN (192.168.1.*).
And here is the problem:
1) when trying to use my LAN-printer from my ANDROID-client (192.168.1.245 / 192.168.43.167) the client cannot find the printer as it's on the LAN, and the client sees/browses only the client-network (192.168.43.*). (Too bad there is no option to specify the Printer-IP directly)
2) I can only connect to LAN-devices when I know their IP-address (which is not a big deal)
So, maybe I am expecting too much, but it would be great to get it working
I tried a TUN-setup before, but changed to TAP hoping that this specific issue would not appear.
Here is my server.conf
proto udp
port 1194
dev tap1
server-bridge 192.168.1.1 255.255.255.0 192.168.1.245 192.168.1.254
auth SHA1
cipher BF-CBC
comp-lzo adaptive
push "comp-lzo adaptive"
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS xxx.yy.zz.6"
push "dhcp-option DNS xxx.yy.zz.1"
push "dhcp-option WINS 192.168.1.1"
ca /etc/storage/openvpn/server/ca.crt
dh /etc/storage/openvpn/server/dh1024.pem
cert /etc/storage/openvpn/server/server.crt
key /etc/storage/openvpn/server/server.key
persist-key
persist-tun
user nobody
group nogroup
script-security 2
tmp-dir /tmp/openvpn
writepid /var/run/openvpn_svr.pid
client-connect ovpns.script
client-disconnect ovpns.script
### User params:
max-clients 10
client-to-client
keepalive 10 60
nice 3
verb 0
mute 10
server-bridge
push "route 0.0.0.0 255.255.255.255 net_gateway"
Here my client.ovpn
client
dev tap
proto udp
remote www.yyyy.xxx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
auth SHA1
cipher BF-CBC
comp-lzo adaptive
nice 0
verb 3
mute 10
;ns-cert-type server
Thanks for your help!