Openvpn --  no local network acces form the client

Openvpn -- no local network acces form the client

NewsGroups | Search | Tools
 comp.dcom.vpn  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Openvpn -- no local network acces form the client Adam 11-08-2005
Posted by Adam on November 8, 2005, 5:11 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi there
I have a problem... with routing

i've set up a vpn tunnel on openvpn between winxp-client .. linux
slackware-serwer (router)...
10.8.0.2
10.8.0.1

what routing rule should I use on a server .. to be able to browse the local
network behind the router..

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
10.8.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
62.233.157.40 0.0.0.0 255.255.255.252 U 0 0 0 eth0
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 62.233.157.41 0.0.0.0 UG 1 0 0 eth0

I think something is missing here...

greetings..
Adam


root@necro:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:76:E5:05:22
inet addr:62.233.157.42 Bcast:62.233.157.43 Mask:255.255.255.252
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4770431 errors:4 dropped:0 overruns:0 frame:6
TX packets:4805954 errors:0 dropped:0 overruns:0 carrier:0
collisions:38958 txqueuelen:1000
RX bytes:3608996395 (3441.8 Mb) TX bytes:2017110833 (1923.6 Mb)
Interrupt:11 Base address:0xc400

eth1 Link encap:Ethernet HWaddr 00:10:A7:10:A4:7C
inet addr:192.168.10.1 Bcast:192.168.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4662233 errors:0 dropped:0 overruns:0 frame:0
TX packets:4616831 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1997789214 (1905.2 Mb) TX bytes:3594392550 (3427.8 Mb)
Interrupt:12 Base address:0x3000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:17 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1428 (1.3 Kb) TX bytes:1428 (1.3 Kb)

tun0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.8.0.1 P-t-P:10.8.0.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:29 errors:0 dropped:0 overruns:0 frame:0
TX packets:4905 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2076 (2.0 Kb) TX bytes:1285172 (1.2 Mb)





Network Magic Graduation 20% off animated banner
Posted by Karl Kleinpaste on November 8, 2005, 8:03 am
If you were  Registered and logged in, you could reply and use other advanced thread options
> what routing rule should I use on a server .. to be able to browse
> the local network behind the router..

You have a two-fold problem: Your WinXP machine lives on one network
and all the machines to which it wants to speak live on a different
network. The only thing that knows about both at the moment is your
Linux machine that gateways between them.

You must add a routing entry at the WinXP machine to teach it that
192.168.10.0/24 is reached via the gateway, and all machines that want
to be able to reach the 10.8.x.y network must have routing entries
which similarly identify the gateway. If the latter is represented by
the gateway machine already being identified as the default route,
your problem is half solved.

Nothing needs to be done to routing on the gateway itself, as far as I
can see, because it already knows how to reach 10.8.0.2 and
192.168.10.0/24. It is all your other hosts that lack understanding.

Similar ThreadsPosted
OpenVPN on local network December 18, 2005, 7:35 am
Hacking VPN to see local resources or Acces Internet January 17, 2006, 9:45 am
VPN blocks local network September 20, 2005, 6:57 pm
Local Area Network (LAN) November 13, 2007, 12:55 am
VPN to external network blocks local peer-to-peer network February 25, 2005, 9:39 am
Cisco VPN client, local LAN access and second NIC March 4, 2008, 4:53 am
openvpn windows xp client August 25, 2005, 6:45 am
openvpn one client and more servers. November 26, 2005, 12:16 pm
Linksys RV082/Greenbow client tunnel connected not able to connect to local resources December 14, 2006, 10:04 am
Installed openVPN, client fails when it asks for password October 7, 2006, 3:08 pm

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map