VPN setup to see other PC

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking
Author Message
micgo
DD-WRT Novice


Joined: 06 Oct 2011
Posts: 11

PostPosted: Tue Jun 26, 2012 8:04    Post subject: VPN setup to see other PC Reply with quote
Hello. when i connect my VPN using my iphone. i m able to go into my router but let say if i m at friend house using wifi connection when i type in 192.168.1.1 i will be end up to his routor. how do i setup to connect to my own network routor not my friend router ?
Sponsor
eibgrad
DD-WRT Guru


Joined: 18 Sep 2010
Posts: 1997

PostPosted: Tue Jun 26, 2012 14:33    Post subject: Reply with quote
You have to know the public IP of your router back home. Most ppl use a DDNS (dynamic DNS) service (DynDNS, NO-IP, etc.) to keep track of their current, dynamically assigned, public IP.

Now open and forward the necessary ports on your router. So if you're using a PPTP VPN, and let's say the VPN server resides on a local machine w/ the IP address of 192.168.1.100, you'd port forward 1723 to that 192.168.1.100 address. If you're using the built-in VPN server provided by dd-wrt, you probably don't need to do either since obviously the VPN server is directly available at the router's public IP, and I believe the router automatically opens the VPN port whenever enabled (if not, you can always open and forward it manually).
bskchaos
DD-WRT User


Joined: 07 Feb 2009
Posts: 191

PostPosted: Tue Jun 26, 2012 14:54    Post subject: Reply with quote
You have a route conflict, if you want to use VPN don't use a common IP address like 192.168.1.x
micgo
DD-WRT Novice


Joined: 06 Oct 2011
Posts: 11

PostPosted: Wed Jun 27, 2012 7:59    Post subject: Reply with quote
ok i changed the router starting ip address to 192.168.9.100 and the router is 192.168.9.1. now i m able to login to my router. is there a way to see all the PC that is on that network ? in other word can my PC be part of the network that i VPN in
micgo
DD-WRT Novice


Joined: 06 Oct 2011
Posts: 11

PostPosted: Tue Jul 03, 2012 5:57    Post subject: Reply with quote
anyone plz ??
bskchaos
DD-WRT User


Joined: 07 Feb 2009
Posts: 191

PostPosted: Tue Jul 03, 2012 17:46    Post subject: Reply with quote
use ip address instead of hostnames

\\192.168.9.xxx\

Or use dnsmasq to handle FQDN names

Ex.: \\remotepc.remotedomain.local\
micgo
DD-WRT Novice


Joined: 06 Oct 2011
Posts: 11

PostPosted: Wed Jul 04, 2012 10:45    Post subject: Reply with quote
bskchaos wrote:
use ip address instead of hostnames

\\192.168.9.xxx\

Or use dnsmasq to handle FQDN names

Ex.: \\remotepc.remotedomain.local\


\\192.168.9.xxx\ work out great. but is there a way i can see all my station in my network when i VPN in ? what i m trying to do is when i VPN in to my work. i will able to see all the station and all my networked device (printer, netdisk, etc). kinda like making my computer is part of the local LAN when i VPN in to the work network.
bskchaos
DD-WRT User


Joined: 07 Feb 2009
Posts: 191

PostPosted: Wed Jul 04, 2012 15:40    Post subject: Reply with quote
Not with your current setup. You can try using bridged VPN (TAP).
eibgrad
DD-WRT Guru


Joined: 18 Sep 2010
Posts: 1997

PostPosted: Thu Jul 05, 2012 2:40    Post subject: Reply with quote
OP, I assume what you want is support for Windows names. IOW, the ability to discover computers and other devices by name, just like you do when part of the remote LAN. Problem is, the VPN probably doesn't support those broadcasts over the VPN. It might work if you have a WINS server on the remote network and configure the VPN client to use it. But it's not something I've tried. The right way to do it is to have all your Windows networks based on DNS, not WINS (Windows naming). If that was the case, you could use DNSMasq on your router and point to the remote DNS server to resolve names on that remote domain. But even so, unlike Windows, DNS doesn't have a discovery process. You still need to know the DNS names.
macrolly
DD-WRT Novice


Joined: 01 Jul 2012
Posts: 2

PostPosted: Thu Jul 05, 2012 13:47    Post subject: network router Reply with quote
Instructions for port forwarding on almost any router ever made, along with detailed information about most of the other topics covered on this page.
A list of common port numbers
Is UPnP enabled on your router? Log in to your router similar to if you were going to port forward (shown in the tutorial). Look for UPnP settings under headings such as UPnP, Applications, Port Forwarding, or Virtual Server. Once found, you can enable UPnP from there. Remember, if your router doesn't have a UPnP setting, you will have to port forward.
Set Up Your Firewall So It Does Not Block Connections
Address and Connect to Your PC its long descroption i tell some common part. Hey i tell you a site
2013 mercedes benz sl-class
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum