View Single Post
  #5   (View Single Post)  
Old 26th March 2009
l2fl2f's Avatar
l2fl2f l2fl2f is offline
Real Name: Yves Guerin
Port Guard
 
Join Date: May 2008
Location: Montreal, Quebec, Canada
Posts: 25
Default

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.
Reply With Quote