Hello,
I did the same thing with mpd (3.18), I am able to connect from my network and browse the web. Try to run tcpdump on the two interfaces to see if the packets pass through (tcpdump -i interface_name)
May be set the dns to your isp dns, because you have to run a dns on 192.168.0.1.
I added two statics routes on my vpn server:
wifi-network: route add -net 192.168.1.0/24 192.168.0.2 -iface fpx0
lan: route add -net 192.168.0.0/24 192 -iface xl0
VPN: is a gateway too, defaultrouter=192.168.0.1
my setup:
Code:
isp -- dhcp -- rl0 |FW/GW|xl0-192.168.0.1 --- hub1
hub1------- laptop fxp0-192.168.0.30
hub1------- xl0 192.168.0.3 |print server|
hub1------- xl0-192.168.0.2 |VPN| fpx0-192.168.1.1 ---- |wifi access point (192.168.1.2)| ----- w2k-192.168.1.21 - vpn 192.168.0.50
But I have a probleme my machine on the vpn can't see the others machines on 192.168.0.0/24 segment.
Any help to solve that ?
If you want I can post my mpd.conf stuff.
Regards.