Ubuntu Networking :: Cannot Connect To Server Via WAN
May 13, 2010
My problem is that i cannot connect to anything that is running on this server via WAN. i can connect to everything from anywhere just fine through LAN though... i have all in use ports opened up on my router. i tryed messing with the ubuntu firewall and even tryed turning it off. but no luck. btw i am running ubuntu server 10.04 with matching desktop!
In Gnome Places->Connect To Server dialog, I am having problem using the Custom Location Service Type. I enter in the URI as
I get an pop up error message that says:
Cannot Connect To Server. You must enter a name for the server.
Which would be fine if there was actually a place for me to enter the name which there is not. What am I doing wrong. This is the first time I have tried using the Connect To Server dialog. Normally I just use a script I wrote to mount my share in a folder on my local drive as some programs cannot access the mounted network folder. In a browser all I have to do is:
I tried using Windows Shares, but that did not work either. It does work if I click on network and access the share that way, but some programs like firefox and a few others that I want to save a file to my network drive do not show the network unless the share is mounted in a folder. So, I wrote a script:
I set up 9.10 as a file server at my house, connected through the router via LAN. I had everything working, using it as a Samba file server. I moved to to my college apartment and I am now having troubles... I changed the network information in /etc/networking/interfaces to what it should be (or at least I thought so...)
I can ping myself, but nothing else. Also, on my router configuration page, the server is coming up as a connected device with the correct IP address that I set it to.
I just loaded NX Server, following the instructions from NoMachine. When I try to login from a client I get "Authentication Failed for User My Username" I can use the same client to connect to another NX Server on my network so I know the client works. I'm not clear if I need to set up a user, or if I can just logging with the username & password from the host (which is what I'm trying).
I just setup sshd server on my ubuntu server 10.10 today. I then tried to connect to it with putty on my windows laptop outside the lan but failed. I entered the ip address as my wan ip address and the port as 23 (same port on the ssh server. I also have port forwarding enabled. The connection timed out every time.There are a lot of guides about ssh reverse tunneling but none works.
Ok this may seem like a "USE SEARCH FUNCTION" Topic at first, but trust me i have.
So my problem is the following:
I installed Ubuntu Sever 10.10 on a old PC of mine and installed all the required stuff for a webserver (apache, sql, php, ftp, ssh, etc)
Our network system is one of these stupid kinds, it's a brigded connection to the ISP so every computer on our LAN gets its IP directly from the ISP and there is no local IP addresses (port forwarding isn't needed)
This might be relevant but our LAN is build as follows.
<<<<<<<<<<<<<<<<<< -----------Switch with WLAN ------- My laptop (WLAN) <<<<<<<<<<<<<<<<<< | Modem/router -------------- <<<<<<<<<<<<<<<<<< |<<<<<<<<<<<<<<<---- Windows 7 PC <<<<<<<<<<<<<<<<<< -------------- Switch ----- | <<<<<<<<<<<<<<<<<< |<<<<<<<<<<<<<<< --- Ubuntu Server <<<<<<<<<<<<<<<<< 2 other PCs
My Windows 7 PC can at all times connect to the server over ssh, ftp and http, no problems. But my laptop, and my friend from his place can only connect to the server if I have recently connected with the Windows 7 PC.
If there is no connection for a while and i try to connect with laptop or from friends place the connection just times out...
I have a 64 bit machine that once makes a connection to a remote server, times out unless I am persistently doing some stuff on the computer. I have tried searching for a solution and have not found it yet I know it is a bug that other people have mentioned it at other places. This was not the case in previous versions of Ubuntu ( I am using 9.10). Having a persistent connection to remote server is something that is critical for my needs.
Is there a way to connect to a samba share on the other side of a dynamic ssh tunnel?I like to use ssh -D 8080 <host> to access the network on the other side of a ssh session. For applications with their own proxy settings it seem to work really nice.In this particular case I'd like to use the 'Connect to server' feature in Ubuntu to connect a samba share through the tunnel, but I can't figure out how to make only that connecton use proxy settings.If I enforce system wide proxy settings the ssh tunnel will die, so that is not an option.
I cannot get my server to connect to the internet. I have tried everything. I can talk to my local network so thats not a issue. I think it is my dns and gateway. I am trying to use open dns but do not know how to configure it. Here is my configuration now:
My problem is that for some reason I can't connect to my MySQL on my server.I know it's not the script, other than the information that I'm using to connect.The MySQL server is set to "localhost" so I set the host in my php script to "localhost".I check for the username and they say I should try "root" so I set the username to "root".Then I put in my root password.When I go to where my php script actually starts, it gives me the error saying that I cannot connect. I know the rest of the script works and the error refers to the info I'm using to go in
I'm trying to connect to a PPTP VPN service located in UK (I think) and everything seems to set to the right values. I've checked and double checked the gateway address, user name and password. But every time all I get is a brief message 'vpn connection XXXX failed'. Is there any way to know what is wrong? Is there any log file, or is it possible to connect to a VPN server from the terminal?
I have a smoothwall box I can ssh into via places --> Connect to server. I have built a ipcop box to replace it with the same ip but can't seem to ssh into it. I get this when I try the following at the terminal:
I use two Ubuntu machines, one at home and one at work. In order to connect to the machine at work from home I need to connect through a "tunnel server" that controls all the traffic to the machines at work.I am able to connect with ssh to the tunnel server and from the tunnel server ssh my own machine at work. My question is how do I retrieve files form my work machine to the home machine. How do I sync folders between the machines using rsync when the "tunnel server" is in between?
Having a bit of an issue connecting to my apache2 server. I'm running Ubuntu Server 10.04lts. I can only connect to my website via ip address global, ip address local, and the dyndns domain I have linked to my ip address. I have DMZ setup for my server with a local static address of 192.168.1.100. I can only connect to the default apache page via lan, and It wont load when I try via proxy. I need to know how to configure my router (wndr3300) so that I can connect to my server (address 192.168.1.100) and the pages from outside of my network.
Okay so my school has a Z: drive which is the network drive that holds all of the students folders. I need to connect to it so that I can complete projects and place them in my server drive. How would I go about doing that?
I've recently set up an Ubuntu server and from within the network I can do several things like: log in via SSH, transfer files via FTP, and remotely control Torrents from other computers. My end goal is to be able to access these services by using my dyndns hostname (example.dyndns.org)from an external network.
When I type my dyndns name in my web browser it opens up my router page. How would I set things up so that I can just type my dyndns hostname to point directly to my server, instead of the router page?
All computers are connected to a router which is connected to an ADSL modem, with automatically assigned I.P addresses.
I'm runnning Ubuntu 10.04 Desktop, and i need to connect to a Windows 2003 server, i've clicked on places at the top of the screen selected connect to server and put in my detains in all the vairing options and i still cant get on.
if it could be explained that information i need and where i can get it from in XP, i also need to log in then i access it from xp.
I cannot connect to my Ubuntu Server. Currently I'm trying via my MacBook through ethernet. A physical connection is apparent; however, the computers cannot communicate. To resolve this problem is important because I just need basic SSH functionality. While connected through ethernet, my MacBook cannot ping my Ubuntu box. Here is a screen shot of the Mac's network setup, a ping attempt, the ifconfig's of both machines.
I need to connect to an FTP server that only accepts active FTP connections. (In Windows, I have to uncheck the "use passive FTP" option in Folder Options in order to connect) Is there a way to do this with Ubuntu's Connect to Server system/Nautilus? I would like to be able to interact with the files as if they were local, as I can on other FTPs and on Windows.
I have a Synology home server at home. I have a laptop with Linux Mint 8 (Helena) installed. I can access my server's shared files using LAN through Places>Network>Windows Network>Workgroup>Server>Shared files. I can also access the files through a web browser. Samba is installed. The problem is when I use the wireless lan of my laptop, I cannot access the server and the files anymore locally even through a web browser.
I tried Connect to Server through Windows Share but what I get is "Could not display "smb://server/".".
Wow, don't know why I seem to have so much trouble with this ftp stuff. I have so start all over a few times, reinstalling Lucid Lynx destop all over, and adding the needed files to make it a server. I am just trying to do something simple for now- just having a localhost server environment to develop my joomla website, and later on host it from my server 'out there' (I already have a domain name and dynDNS service with nameservers etc. but don't want to do that yet, as I have in the past with my router forwarding port 80, and actually got hacked! so I don't want to do that again until I learn more about security) My problem right now is that I can't even get the localhost ftp to 'connect to the server'. i know the host name (localhost) and username/password that I set when I set up Lucid Lynx, and I'm sure that is what I use for the ftp usernamepassword, host etc. And I put port 21 for the port. I see from 'Shields Up' that my port 21 is closed. So I followed advice on a thread and entered a few commands in the terminal to ad iptables etc. But still, port 21 is closed and I can't install components with the Joomla installer in admin's backend. And I can't use fireftp to even change permissions in my local folders. What do i do next, open port 21 somehow? I saw a terminal command about opening port 21 that was simple but I forget it.
I have dynamic internet connection. In my network one machine run glassfish server in port 8080 (it IP address 192.168.1.3). If I type http://192.168.1.3:8080/ that load my glassfish server page. What I want is using dynamic IP like http://<DynamicIP>:8080/ load my glassfish server page. How can I do it ? My router is Dlink GLB-802C > I haven't good knowledge about network.
I am trying to connect to my samba server with xubuntu, so far with no luck.
I am trying to use fusesmb and have been following these instructions:
as well as these:
the top ones say to use Applications - System - shared folders to setup smb client. Xubuntu maverick doesn't seem to have that menu point. So I copied the smb.conf from my desktop machine. libsmbclient is installed.
fuse as such seems to run since teh folder that i designated as mount point (~/Network) changes owner to root when i run fusesmb Network. But apart from that nothing happens.
I used windows OS and installed Ubuntu 10.04 (amd64) in separate partition and works well but had a problem in internet connectivity. Likely reason may be the proxy setting that we used in college (currently). I used this commands to set up the IP address and gateway.
ifconfig -a | grep eth "eth0" sudo ifconfig eth0 192.168.5.209 netmask 255.255.255.0
Then I manually set the proxy setting of HTTP which is given as proxy server 192.168.5.2 and port as 8000, further more there is a wins setting which is 192.168.1.178, really don't know where to put this number.
I'm trying to get my android 2.3 phone to connect to my vpn server and I followed this guide [URL]... but it isn't working. I've tried compiling both xl2tpd and openswan myself but it resulted with the same error I can connect to my vpn from windows 7 but when I try to connect with my phone I get this in the log file (jumped to the interesting part & highlighted the line that's bothering me most)
Code: May 19 19:06:44 ubuntu pppd: found interface eth0 for proxy arp May 19 19:06:44 ubuntu pppd: local IP address 192.168.0.196 May 19 19:06:44 ubuntu pppd: remote IP address 192.168.0.200 May 19 19:06:44 ubuntu pppd: Script /etc/ppp/ip-up started (pid 12721)
My host has enabled FTPES [URL]. I would like to use lftp to securely upload my files to the host. However, lfpt hangs at "`ls' at 0 [Connecting...]" when trying to connect. See report here: [URL]
I've already search this forum and the web for days, but there does not seem to be any explicit tutorial for lftp + FTPES.
I've tested filezilla and I can connect without any problems via FTPES. I'd rather use a command line tool like lftp, however.
From what I've gathered, the problem may be with the passive mode, and the fact that the response from the server does not reach my machine.
My machine is running Kubuntu and is behind a d-link router. I don't seem to be running any firewall (is that a problem for a personal computer?). I checked: the router's built-in firewall is disabled. I am not sure about the port forwarding issues, though.
I'd like to use your replies to write a small tutorial: I have found many posts by people experiencing similar problems, but none with an actual answer.
Another question: how can I make sure that any successful connection is indeed made via a secure channel. I can use lftp without problems when I don't use SSH/secure channels. Obviously, I don't want that. What tell-tale signs can I look to to ascertain that I am really securely connected?