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

Re: [Openvpn-users] ***SPAM*** Re: OpenVPN 2.0 - Cannot connect to machines on LAN


  • Subject: Re: [Openvpn-users] ***SPAM*** Re: OpenVPN 2.0 - Cannot connect to machines on LAN
  • From: Jan Just Keijser <janjust@xxxxxxxxx>
  • Date: Thu, 29 Nov 2007 16:40:30 +0100

Excellent!

file /etc/sysctl.conf:

# Controls IP packet forwarding
net.ipv4.ip_forward = 1

cheers,

JJK

toby wrote:
> Got it! I had push "dhcp-option WINS 10.8.0.1 <http://10.8.0.1>" 
> instead of push "dhcp-option WINS 192.168.1.117 <http://192.168.1.117>"
>  
> I can now access via \\samba <file://samba/> and \\192.168.1.117 
> <file://192.168.1.117/>.
>  
> To recap, the solution was:
>  
> applying route from VPN server to samba server on samba server
> enabling port forwarding on VPN server
> correcting WINS entry in server.conf
>  
> What file do i edit in /etc/ that allows port forwarding on boot? I'm 
> using RHEL4
>  
> Thanks.
> On Nov 29, 2007 9:23 AM, Rob MacGregor <rob.macgregor@xxxxxxxxx 
> <mailto:rob.macgregor@xxxxxxxxx>> wrote:
>
>     On Nov 29, 2007 3:12 PM, toby <toby711@xxxxxxxxx
>     <mailto:toby711@xxxxxxxxx>> wrote:
>     > Okay, i have included route -n output from vpn server and server
>     B (samba
>     > server) after doing:
>     >
>     > route add -net 10.8.0.0 <http://10.8.0.0/> netmask 255.255.255.0
>     <http://255.255.255.0/> gw 192.168.1.50 <http://192.168.1.50/> (on
>     server B)
>     > echo "1" > /proc/sys/net/ipv4/ip_forward (on VPN server/server B)
>
>     You only need the second on the VPN server, but you need to ensure
>     that both are part of the startup of the relevant system.
>     >
>     > I can now ping from VPN client (10.8.0.10 <http://10.8.0.10/>)
>     to server B but I am unable to
>     > connect via \\samba from VPN client.
>
>     As Jan has just said, WINS resolution will only work if you've
>     configured the VPN DHCP server to hand out details of the WINS server.
>      Does mapping by IP and/or DNS name work?
>
>     --
>                     Please keep list traffic on the list.
>
>     Rob MacGregor
>          Whoever fights monsters should see to it that in the process he
>            doesn't become a monster.                  Friedrich Nietzsche
>
>     -------------------------------------------------------------------------
>     SF.Net email is sponsored by: The Future of Linux Business White Paper
>     from Novell.  From the desktop to the data center, Linux is going
>     mainstream.  Let it simplify your IT future.
>     http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
>     _______________________________________________
>     Openvpn-users mailing list
>     Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
>     <mailto:Openvpn-users@xxxxxxxxxxxxxxxxxxxxx>
>     https://lists.sourceforge.net/lists/listinfo/openvpn-users
>     <https://lists.sourceforge.net/lists/listinfo/openvpn-users>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> ------------------------------------------------------------------------
>
> _______________________________________________
> Openvpn-users mailing list
> Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/openvpn-users
>   

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