Ubuntu Networking :: Remote Access With Dynamic IP?
Jun 28, 2011
I am looking for a way to be able to access my PC from a remote place. The problem is that I have a dynamic IP. I have registered at dyndns and have found settings in the router to 'Activate Dynamic DNS' and then you supply your dyndns address, password and tell it to update the WAN ip address automatically. This works, however only internally and only to the router as opposed to my PC I am not interestes in accessing the router to configure that remotely, only accessing my own PC.
Is this something I can accomplish with:
A ZyXEL P-660R-D1 router
A dynamic WAN IP address
A PC connected to the router
A static IP address for my PC
Is it possible to provide remote Windows users access to a LAN via the Internet when the LAN itself is connected to the Internet via a SOHO router that is assigned an IP address dynamically? An LQ thread from 2004 includes a suggestion to use VPN and DynDNS.com. Is that still a good solution? Are there any security issues?
Assuming:VPN is a good choice. DynDNS.com or similar can be used to give remote clients the public IP address of the SOHO router. the SOHO router is configured to forward VPN traffic to a Linux system acting as the VPN gateway. then, for a LAN of ~20 IP nodes and less than 5 simultaneous remote clients, are there any other VPN server software solutions to consider other than OpenVPN, Openswan and strongswan?
I have installed Ubuntu Server (lamp+openssh) on a laptop in order to use it as a testing web server for my projects. After configuring it I've also installed the GUI to make things easier as I'm not very proficient using just the command line.
I'm using the wireless connection on the laptop to communicate with the router and my main desktop (Windows). I've assigned it a static local IP (192.168.1.99) in order to be able to access the sites on my web server from my desktop, and everything works fine.
Now comes my problem: I need to be able to access those local sites from a remote location (outside of my local network) as well. How can I do that?
I just set up Remmina the other day to be able to access my desktop remotely. However, I can only do this when I am connected to my home network. Is there a way to set up Remmina so that I can connect to my desktop remotely from outside my home network?
We have installed Ubuntu Server 10.04 LTS for file share (Samba) at our local network.
I want to access my local server (Local IP 192.168.1.200) via internet from remote location. I have already installed SSH on our ubuntu server. I understands that using "Putty" we can access our server. Furhter, our Internet IP is dynamic (which is not an issue for us).
I have 4 boxes on a local network: 2 with XP only, 1 with Ubuntu 9.10 only, and 1 with both. All boxes can share folders, set up with share-admin instead of using Nautilus right-click properties for each folder. I can see and control the remote desktops on all boxes, to all other boxes, from all other boxes,with one exception: I can only access the XP desktop on the dual boot box, not the Ubuntu desktop. When I try I get: "Connection to host 192.168.1.102 was closed." I am refused access to the Ubuntu desktop in this manner from both the other Ubuntu machine, and from both XP machines.
My setups are basically plain vanilla with routine installs of Ubuntu 9.10. On the XP machines I am using TightVNC on the XP machines to view both other XP desktops, and the Ubuntu desktop that is accessible. On both Ubuntu setups I am using (I suppose) vino and vinagre, and have completely re-installed what I think is the relevant software. There is no firewall running on the Ubuntu dual boot, when I check ufw. For reasons I cannot determine the inaccessible Ubuntu desktop is not providing its own address but instead in the Remote Desktop config dialogue it identifies itself as 126.96.36.199 which I think is the loopback id. I know so little about this sort of networking that I am not giving all relevant info, but I still thought I'd try.
When I try to access a network connected folder bying on etwork->ComputerName->FolderName, I almost always get this message:Unable to mount locationDBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)If I click OK and try again a few times, sometimes it will connect and everything is fine after that. If not, I can issue a mount command in the terminal and access the /mnt folder that way with no problems, but clicking Network, I still get the timeout command.
Coming to the point, as per object, I'm playing ( read also as "messing up" ) with mldonkey since last weeks and I have managed to get it working correctly on my home network ( behind router and firewall ). Next step in my development plan was to enable remote access to mldonkey web interface from any external network, like for example a friend pc. I'm aware of the "IP Access Restriction" in the mldonkey configuration file (downloads.ini) but there I can only specify an ip ( or ip-range) to allow access.
So the question is: how can I manage to disable* ip restrictions upon access, so that with a DNS-aliasing service I can access mldonkey web page virtually from anywhere?
(*) = maybe this is not the correct word but it explains the concept.
I have just installed Ubuntu 11.04 and the Cisco VPN client with : apt-get install network-manager-vpnc
I have imported the PCF provided by my employer into the GUI. The group password also seems ok, when I login to the VPN server, I am provided with the "VPN Login message". (On Windoze, I get an Ok/Cancel popup with the same message). In Ubuntu, I don't get to click "Ok" but it looks like I'm connected properly. The /var/log/syslog file contains numerous static routes added, 30 or so. After the Login Message, I see the couple of line:
Jul 8 12:40:51 ubuntu02 vpnc: can't open pidfile /var/run/vpnc/pid for writing Jul 8 12:40:52 ubuntu02 NetworkManager: <info> VPN connection 'VPN to my network' (IP Config Get) complete.
I get an IP from the external network correctly as well:
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:172.16.10.170 P-t-P:172.16.10.170 Mask:255.255.255.0
However, I cannot ping any of the machine on the remote network. None of the network services seems to be accessible. Why the machines on the VPN are not accessible?
i am running 11.04 for my laptop(64bit)(inb4 use 10.10 if your a newb).anyways I got Fallout New Vegas for my home computer(not laptop)(windows 7 32-bit) and I am enjoying the except we have the worst mouse/keyboard setup ever. So I am interested in Remote accessing my windows computer from my laptop and game Fallout on that(is that even possible) also, I really do not want anything to do with WINE so putting it on my ubuntu is not desired.I have basic knowledge of windows and even more basic of linux knowledge.So I can open the window for remote access.I even have the IP of my other computer.. It even recognizes the domain but pops up with this window when I try to click it.
Browsing for service type _ssh._tcp in domain domain.actdsltmp failed: Timeout reached
My company blocked port 22/23 for telnet and SSH which would have been quite nice to access my box at home.I found a page on the net (URL...) which works perfectly fine, but due a demo version stops after 20 seconds.Does anybody know a similar page or any other way I could remote access my PC?
my g/f was able to access her jobs computers from home in Windows. she'd go start->program->access->connect to remote desktop... (or something like that) in any event, i've found some programs in Fedora 14 that say they'd do the same, however i can't get it to work. in "remote desktop viewer" i'm trying to use 'VNC' protocol,and trying to put the ip in the first of the "Host" lines.
now, there might be another issue, is it possible she need more info than the ones she got in order to use LINUX remote desktop? she has (what she has written down as) Computer # 188.8.131.52 and then ';' and 4 additional numbers, so (for the sake of the example) computer#: 184.108.40.206;2222 she has a 'username' and a 'password'.
connect to and be able to control a graphical ubuntu desktop from a standard web brower, over the standard port 80/443 - of course ideally 443 to have a secured connection. Does such a thing exist for this already? How would someone go about setting this up? I have a domain name and use dynDNS which works for certain tasks but I need another solution. Of course being behind a corporate firewall all the usual 'remote access' classification sites are blocked by bluecoat proxy and some cafes and wireless networks also block these sites
My apologies if this is the wrong board for this thread, but seeing how the issue appears to be related to where I'm connecting from, I thought this would be the place to look.To start off, I've been running VSFTPD on the box for a good year or so now. Until recently, everything seemed to be working fine, but during the past few days I've run into issues with it and have been having trouble pin-pointing the problem. I've gone as far as reinstalling VSFTPD and rechecking every line in the conf file to no avail.The issue presents itself when I try to login to the FTP server remotely. The moment I put my user name in, I get disconnected without any error message, simply connection closed. That isn't the case when I'm connecting locally from the server.If I try to connect remotely using eth0 (internal network), it works fine again... but if I try eth1 (external network)... it fails. I'm thinking it might be related to PAM, but so far have been unable to figure out what I need to change in the configuration there. Additionally, the PAM log file doesn't show any activity if I'm connecting through eth1, but displays it if connecting through eth0.
New Fedora 13 Install. I have Remote Desktop Enabled. I can access the machine from itself but not others on the network. I stopped the firewall, that did not work. I looked in hosts.allow and hosts.deny, no entries there. The vino server is running. There is nothing in /varlog/messages, dmesg or /var/log/secure, at least nothing I could find related to vino. What else can I check? The conf file in my home folder looks exactly like one on another machine where it is working. forgot to add the message I get when I try it from a remote machine is "The connection to host 192.168.1.100 was closed". So it appears something is actively rejecting the login.
We have a fedora 10 server that the company connects to with other computers in the office. The file everyone access, public_share has no restrictions to the people that use it. We have another file, art_share that is password protected and everytime someone wants to access it they must login with it, but there are only 3 people out of the 15 that need to access it. Everyone needs to access public_share at some time.
My question is: is there a way to limit the permission for certain remote users to public_share so that they cannot write or execute, but at the same time allowing others full permission? I tried to do use chmod, but then it changes everyone's permission (I assume because of the remote access).
They are running Kubuntu. How to access their desktop from my home or office using Internet. Logically I remembered about kfrb and X11-vnc. But both of them need some approach to provide security. I'd like if someone could give me some pieces of advice on choosing the simplest and better approach:
To secure kfrb or x11-vnc is simpler or better to mount a vpn or to use an ssh tunnel? Is there any other solution? My pearents ISP use DHCP, so I think it would require some service like dyndns or similar...
Setting up desktop (9.04) behind router for remote access by latptop (9.10) I am setting up desktop (9.04) behind router for remote access by latptop (9.10). Rationale: All of my files are on my desktop HD, but I am often out of my home needing to work on my files. It is becoming labour intensive to keep track of the files I make/change and try to copy them on my non-connected desktop/laptop.
Dream: Able to remote access and modify my desktop files from my laptop (while the files remain on the desktop). Request: A simple, GUI, basic, non-technical guide how to set it up!
What I know: 1.I was going to use the 'Remote Desktop' VNC connection under System->Preferences. However, if I understand this correctly, this only secures my computer (i.e. Locks the front door of my desktop) and the data streamed between them is not encrypted.[URL]..
2.Then I need to set up my router to accept the connection from my laptop.
3.Then I will need to use SSH to secure the info sent between them. This is the bit I don't really have a good grip on.
In the past, I've installed Internet services as daemons and as xinetd.d with no problems. Those approaches do not meet my needs. And, perhaps, nothing will.
- the service was converted from VB-6 to wxPython. It has a GUI which is accessed with either "remote desktop" or VNC. - the wxPython service works on Windows and can be accessed from other hosts on my LAN - the wxPython service works on CentOS and Fedora, but can only be accessed from within the server host. Even from other user-ids. But, I cannot get to it from other hosts. - ipchains AKA firewall ports are marked for INPUT. - The server host uses autologin to fire up a useid in group "user". I do not want it running as "root". the .bash_profile fires the service up. - the service is heavily mult-threaded, and supports devices connected to serial ports asynchronously with the ephemeral port threads (all this works).
There are some programming solutions that I would rather not develop. - a proxy service that runs under xinetd.d. - separate the GUI code from the Internet and serial port code. Allocate a "control" port for remote GUI control. a'la SAMBA & SWAT
Is there any hope, that I can run it as is, by doing some network configuration stuff.
I am at a loss. I can not access my work remote desktop via the terminal server client on my wired box running Ubuntu 10.10. My wireless laptop is able to connect right away once I established the VPN connection. The VPN connection is established on both boxes with no problems.
When I tried the Terminal Server Client on my wired boxed, it says it can not establish a connection. Yet my wireless box gets connected immediately!
I check the /etc/dhcp3/dhclient.conf and the /etc/resolv.conf to see if there were any differences, but they are essentially the same. When I have the vpnc connection, they both recognize it and I am able to ping the IP address shown when I do a "ifconfig" on the terminal.
What can be the problem? Anything I need to configure on a wired computer versus a wireless one? What else can I check?
Running Ubuntu 9.10. In the Remote Desktop config dialog I get: "Your desktop is only reachable over the local network. Others can access your computer using the address 127.0.0.1 or tabatha.local." I understand this means only the loopback ip address is available. All my other machines show their true local ip address (e.g., 192.168.1.104) in this dialog. Thus I cannot log on to this desktop from other machines.
When I try to do a remote logon from another Ubuntu 9.10 box (or from an XP box using a VNC viewer), I get: "Connection to 192.168.1.102 has been closed." What steps are needed to make this machine show its actual ip address? All file sharing between the various machines is working properly and all windows shares back and forth between XP and 'nix, and among the the vaious XP boxes and linux boxes are available as designed.
I want to restrict the Visitors to my Webserver whom i want to give access But the persons whom i want to give access. have Dynamic IP. I want to use DynDNS and update IP address of person. Based on the Hostname Pointing to Dynamic address of person.
I've read some guides on how to setup ssh with dynamic DNS, but can't seem to get it to work. My Linksys router is currently set to forward port 22, so I don't know why SSH still gives:
ssh email@example.com ssh: connect to host xxx.hopto.org port 22: Connection refused In particular, I also have openssh-server running on the target machine. Given that I have port forwarding enabled, why would this be happening? If I try to login directly to the IP, I get the same refusal.