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

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


  • Subject: Re: [Openvpn-users] howto change gateway???
  • From: Morten Christensen <mc-openvpn@xxxxx>
  • Date: Sun, 04 Apr 2004 17:39:18 +0200

rene pedersen wrote:

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?



You are using the same private subnet 192.168.2. at work and at home. Maybe it can work, because the samba-server and openvpn-server at work is on the same machine, but it is making routing difficult.


I am not sure, it solves your problem, but I would change the private subnet at home away from the private subnet at work.

--
mvh
Morten Christensen

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