LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-21-2003, 09:17 AM   #1
cmisip
Member
 
Registered: Aug 2002
Posts: 189

Rep: Reputation: 30
Browsing across a Frees/wan vpn tunnel- how do you get this to work?


I have a roadwarrior running windows xp trying to connect to the samba shares in the home lan. There is a tunnel between the windows xp machine and the home lan using frees/wan. I am able to access the home lan with ssh as well ping the machines there. The home lan even masquerades the remote windows xp so it can have internet access when the vpn tunnel is up. However, I cannot browse the samba shares on the home lan.

I have an alternative configuration of freeswan that allows me to connect the laptop wirelessly and securely via frees/wan when I am at home. In this scenario, the samba shares are accessible in Network Places. I dont know why this wont work when the vpn tunnel is across the internet zone.

By the way, for security, I have the laptop at home on a separate subnet from the wired lan so I had to get cross subnet browsing working at home when connecting wirelessly via vpn tunnel. To do this I had to designate one of the wired hosts as a samba domain master browser, local master and wins server. However I found out that I can only browse the shares on the wired lan if I disable the master browser in the laptop running Windows XP. I didn't think this was necessary since the Windows XP can become a master browser for the wireless subnet and sync with the Samba wins server on the wired subnet in theory. If Windows xp is allowed to be a master browser in its subnet, the samba shares in the wired lan are not available unless I use remote browse sync option in samba.

My local browsing setup is ok with me. I just want to get browsing through the vpn working as well. Any ideas?

The remote vpn will have a dynamic IP address so I am also looking for a way to automatically allow it to access the local lan smb shares without having to manually enter the remote IP in some config file each time.

Does windows xp home a wins server? Can it sync with the samba wins server at the home lan? (since they will be across the WAN) . Or will using the remote browse sync across the vpn tunnel (through the internet zone) achieve the result I want (If i turn on the master browser setting in windows xp). This still does not change the fact that If I relied on remote browse sync, I need to enter the remote IP in /etc/smb.conf in the home lan and restart smb for remote browse sync to work.


Any ideas? Thanks
'
 
Old 09-21-2003, 11:28 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
By default, broadcast aren't piped down an ipsec or ppp dialup channel.

One way is to make sure you tunnel directly to the smb server.. and have ip allocations within the broadcast subnet...
Another is to browse the smb server just by it's ip number, then wait the 12 mins it takes for your remote ip to be published...
Another is to use a ProxyARP at the point your tunnel joins the local lan. This will allow your broadcasts to appear local rather than down the tunnel...
 
Old 09-22-2003, 12:02 AM   #3
cmisip
Member
 
Registered: Aug 2002
Posts: 189

Original Poster
Rep: Reputation: 30
Thanks for the assist. I have just figured out how this works. On the Network Connection for dialup isp in Windows XP I checked the option for Client for Microsoft Networks. This did the trick. My network is configured like the first option you described. Now browsing through the vpn tunnel works. I am still working on printing through the vpn tunnel though.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeS/Wan Vs. OpenS/Wan Vs. StrongS/Wan bkankur Linux - Security 1 03-01-2005 09:27 AM
how to setup VPN using frees/wan? dwarf007 Linux - Networking 1 11-08-2004 08:34 PM
FREES/Wan Configuration. maorh Linux - Security 4 12-16-2003 05:02 AM
FreeS/WAN problem kirk21 Linux - Networking 0 08-08-2003 07:26 PM
Frees/Wan IPSec VPN PcHammer Linux - Security 0 08-20-2002 02:38 AM


All times are GMT -5. The time now is 03:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration