[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: Re: [Openvpn-users] howto change gateway???


  • Subject: Re: Re: [Openvpn-users] howto change gateway???
  • From: "rene pedersen" <rene76@xxxxxxx>
  • Date: Sun, 4 Apr 2004 16:02:54 +0200 (MEST)

Thanks again for the help.

I am leading you in the wrong direction. I think I have a routing problem.

When I establish the tunnel within the LAN with the samba server, I am able
to
1) ping the samba server through the tunnel (ip 10.3.0.1), 
and after I have restarted the samba server, I can 
2) connect to the samba server through the tunnel (ip 10.3.0.1).

This I can do without the "interfaces = ..." and WINS settings in the
smb.conf.

However, when I establish the tunnel over the internet I can only ping
through the tunnel. When I run "\\10.3.0.1" no connection to the samba server is
found.

So the problem arises, when I try to connect to the samba server through:

XP openvpn client
192.168.2.x
	|
	V
192.168.2.1
Firewall box
192.168.1.1
	|
	V
192.168.1.100
cable modem
a.b.c.d
	|
	V
Internet
	|
	V
e.f.g.h
ADSL-modem
192.168.1.1
	|
	V
192.168.1.2
Firewall box
192.168.2.1
	|
	V
192.168.2.y
Samba server
		    
Why can I ping through the tunnel, but not connect to the samba server?

Thanx

René


-----Oprindelig meddelelse-----
Fra: openvpn-users-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:openvpn-users-admin@xxxxxxxxxxxxxxxxxxxxx]På; vegne af John Locke
Sendt: 2. april 2004 22:54
Til: René_Pedersen
Cc: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
Emne: Re: SV: [Openvpn-users] howto change gateway???


On Fri, 2004-04-02 at 12:19, René_Pedersen wrote:

> This is my smb.conf file:
> 
> [global]
> 	log file = /var/log/samba/log.%m
> 	load printers = no
> 	lock directory = /var/lock/samba
> 	share modes = yes
> 	workgroup = NYT-SKAB
> 	invalid users = root
> 	security = user
> 	encrypt passwords = yes
> 	smb passwd file = /etc/samba/smbpasswd
> 	server string = NYT SKAB server
> 	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> 	dns proxy = no
> 
> [standard]
> 	comment = disk 1
> 	path = /mnt/disk1/standard
> 	read only = no
> 	max connections = 5
> 	create mode = 0750
> 
> Any suggestions???

Well, I'm not a Samba expert, but what I have on all of my Samba
configurations that I don't see here is "netbios name". I also use WINS,
which makes discovering computers much quicker through a bridged
connection (and is pretty much required for a routed connection).

Can you connect to the Samba server from the LAN (not through the
tunnel)?

Cheers,
-- 
John Locke
Open Source solutions for small business problems
http://freelock.com


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users

-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users