| Author |
Message |
sharkey
Stray Dog
Joined: 13 Jul 2007 Posts: 8
|
Posted:
Mon Jul 30, 2007 2:37 am Post subject: How 2 Access local network printer while on using VPN client |
|
Hi,
I have printer connected to a NAS at home that I access from the PC at home as an IP_port printer.(using the ip address of the NAS).
This works fine unless I'm using a VPN client (Nortel Contivity) to access work. Then I can't access my local network because all routing request are routed out of the VPN client, the default gateway is that allocated to me on the VPN network.
Surely I should be able to acces my local network my manipulating the route table in DOS shouldn't I. I have tried but failed.
laptop on my nextwork is 192.168.2.22, IP address of NAS is 192.168.2.50
gateway 192.168.2.1 (I use static IPs at home).
When I connect via the VPN client an example IP address allocated to me is 148.185.14.191 which then show up as my default gateway on a ROUTE PRINT command.
Any helps greatly appreciated. |
|
|
|
|
|
|
anglachel
Guide Dog


Joined: 08 Nov 2003 Posts: 8419
Location: MN
|
Posted:
Mon Jul 30, 2007 6:09 am Post subject: |
|
what is happening is the 192.168.2.x is being forwarded through your vpn to your work, rather then to your home router/printer/ect.
if you dump the route print you might be able to figure out what IP's aren't forwarded and use them for your home network.
where I work we forward all of the private internal addresses Except 192.168.253.x so people have to change their home networks to that if they want to use local resources (printers shares and such) |
_________________
Quidquid latine dictum sit, altum sonatur.
Death to Shuttleworth!
|
|
|
|
|
sharkey
Stray Dog
Joined: 13 Jul 2007 Posts: 8
|
Posted:
Mon Jul 30, 2007 6:32 am Post subject: |
|
Hi, thanks for the reply.
Here is root print.
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 148.185.14.96 148.185.14.96 1
0.0.0.0 0.0.0.0 192.168.2.1 192.168.2.22 26
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
148.185.14.0 255.255.255.0 148.185.14.96 148.185.14.96 30
148.185.14.96 255.255.255.255 127.0.0.1 127.0.0.1 30
148.185.255.255 255.255.255.255 148.185.14.96 148.185.14.96 30
192.168.2.0 255.255.255.0 192.168.2.22 192.168.2.22 25
192.168.2.0 255.255.255.0 148.185.14.96 148.185.14.96 1
192.168.2.22 255.255.255.255 127.0.0.1 127.0.0.1 25
192.168.2.255 255.255.255.255 192.168.2.22 192.168.2.22 25
195.10.16.202 255.255.255.255 192.168.2.1 192.168.2.22 1
224.0.0.0 240.0.0.0 192.168.2.22 192.168.2.22 25
224.0.0.0 240.0.0.0 148.185.14.96 148.185.14.96 1
255.255.255.255 255.255.255.255 148.185.14.96 148.185.14.96 1
255.255.255.255 255.255.255.255 192.168.2.22 192.168.2.22 1
255.255.255.255 255.255.255.255 192.168.2.22 2 1
Default Gateway: 148.185.14.96
===========================================================================
Persistent Routes:
None |
|
|
|
|
|
|
|
|