Koozali.org: home of the SME Server

Samba / Freeswan

Paul Schwartz

Samba / Freeswan
« on: November 05, 2003, 10:13:23 PM »
I need to get the "Network Neighborhood" working.  I can't seem to get the IPSec VPN WINS server to work properly.

The connection is up, I can ping both sides, I can access computers at each end via IP.  I have added both server NetBIOS names to the hostnames table and can access via \name.

But, when I go to Net Neighbourhood, it will only show me one server, never both.  Any ideas?

Paul Schwartz

Re: Samba / Freeswan
« Reply #1 on: November 06, 2003, 03:42:30 AM »
Does anybody else have a problem like this?  Everything works perfectly, except I can't get the darn WINS data to share across to the other subnet.

This might be a firewall (masq) or a smb.conf issue.

Dirk

Re: Samba / Freeswan
« Reply #2 on: November 06, 2003, 06:22:41 PM »
If i change the workgroup on the client to the workgroup of the vpn server i can see the computers and shares

Paul Schwartz

Re: Samba / Freeswan
« Reply #3 on: November 06, 2003, 08:36:34 PM »
Thanks for the reply, Dirk.  Done.

Office 1 can see all the other workstations at it's location.
Office 2 can see all the workstations at it's location.

Computers inside Office 1 can access computers at Office 2 with no problems (even by Netbios names -- eg. \mobile).  It works perfectly except for NetNeighborhood.

Office 1 can't BROWSE via network neighborhood and see Office 2 machines (and vise-versa).

If I try to add the VPN local subnet to the "smb.conf -> interfaces line", I get "Failed to open nmb socket on interface 192.168.3.1 for port 137".  I have opened up ports for testing and that didn't work either.

I have read through Greg Zartman's DomainClient Howto, Bill Talcott's winsserver howto, and even clarkconnect's samba howto.  Samba documentation BROWSE was helpful, but did not solve this problem.

I'm sure someone has got network neighborhood to work.  It can't be that hard.

Paul T.C.Fung

Re: Samba / Freeswan
« Reply #4 on: November 11, 2003, 09:48:22 AM »
Try to add this to the smb.conf :

Say Office1 is 192.168.0.1
Say Office2 is 192.168.1.1

On SME server in Office1 add :
remote announce = 192.168.1.1
remote browse sync = 192.168.1.1

On SME server in Office2 add :
remote announce = 192.168.0.1
remote browse sync = 192.168.0.1

(using Template.....)

See if this helps.......

I have forgot how I do it on my 5.5 servers......

Best Regards,

Paul T.C.Fung