I am looking for a way to set up my OpenVPN server so that all my internet trafffic redirects through it, and I can access my Samba Share through it. My samba share is located on my server machine, which is a WIndows XP. Ideally, I should also be able to reach my printer. The hosts that may connect are iOS, Linux, Windows 7, and possibly Android.
Note: I would like to avoid dev tun as iOS doesn't support it.
OpenVPN configuration file:
server 10.8.0.0 255.255.255.0
;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100
;push "route 192.168.10.0 255.255.255.0"
;push "route 192.168.20.0 255.255.255.0"
;route 192.168.40.128 255.255.255.248
;route 10.9.0.0 255.255.255.252
;push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 18.104.22.168"
push "dhcp-option DNS 22.214.171.124"
keepalive 10 120
tls-auth ta.key 0