Networking :: Connect To External Computer Using Local Address?
Apr 9, 2011
I couldn't find an answer to this question (not including vpn) on different threads so decided to eventually post it, though it's probably easy one. I would like to connect to some application on known IP and port in the internet from my LAN computer. However to do so (I have some application, not any administrative constraints or not being allowed to) I would like to use local addresses. So, let's say - I want to connect to the external host VV.XX.YY.ZZ, port AA using 192.168.EE.FF port BB. Baically so far I have limitation in my application (too many places for possible error, to correct it right now - will change it in future). Is it possible that after my application sends request to 192.168.1.EE port BB, my Linux transparently translates it to VV.XX.YY.ZZ:AA? I tried iptables tutorials and some forums, but nothing seems to be addressing this issue. I don't know if it's event possible with iptables but am pretty sure this should be possible.
I recently setup motion on one of my computers with a USB camera. On that computer if I type [URL] I can see my live video. If however I type [URL] on that computer or any other on my wireless network, I get a page cannot be displayed. I checked that UFW was disabled and I am able to ping the motion computer from any other computer on my network. Also I am not sure if it matters but I do have apache installed on my motion computer as well. why I cant view my live video from different computers I am using Ubuntu 10.4 on all computers
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 have a Dell PowerEdge 1650 server with 3 NICs in it. I am trying to use one NIC (eth0) to connect to the internet, the second NIC (eth1) to share the internet connection to a LAN, and the third NIC (eth2) to connect to the LAN.
It is running Ubuntu server 8.10
The problem that I'm having is that NetworkManager (version 0.7.0) keeps setting eth2 as the default connection, and then I don't get any internet at all from the server.
My main goal is to be able to share files from the server to computers on the LAN. The secondary goal is to have a virtual machine hosting a Halo server, connected through eth2, so that it can host LAN games. But that is a secondary goal after I get the connections to work.
I've been looking around and finding other people who have done bits and pieces of this, but not the whole thing. I had been hoping to simply use the NetworkManger, but I don't mind editing config files.
Also I can't seem to find any good instructions on editing the /etc/network/interfaces file. The man file is incomplete, and everything seems to point back to the man file.
I have a few external IP's assigned to me by my ISP. I have IPcop as my router/firewall. I am wondering how to bind 1 of my external ip's to my internal ip address. So I do not have to port forward, etc. For Example, 77.77.77.77 to 192.168.1.123 and on the server it see's the external IP address.
i want to find ip address of other computer which are connected in LAN..suppose ther are 5 compter in LAN and i want to find ip of all remaining 4 computer using my computer only in command or any other way is ther....
What is the minimum configuration to postfix that I need to do (i.e. to its main.cf file) in order to have the following:mail go from user1 on comp1 to user2 on comp2 on same landemonstration:
user1@comp1# Mail -v "" user2@comp2.somelan.com hi there [CONTROL-D]
I tried to authenticate using ntlm proxy authentication service and my computer could not retrive the IP address. Currently I am using fedora cammbridge
i want to know mac address of a particular ip but the problem is that i am unable to ping that ip but that ip is being used by someone in my local network that i know from my proxy logs. i want to know the mac address of that ip,
I have service runing on linux machine with external IP given by my ISP, but for privacy reasons i need to hide that IP (from RIPE, other WHOIS requests) by another IP before giving users to connect. Only one port. No big bandwith, only as much as possible low latency. Any ideas what to do or what to order?
I've installed Debian inside Virtualbox on Mac OS 10.5.
I want to set up networking so I can (a) reach the outside internet from inside Debian (Virtualbox), and (b) reach the virtual Debian from my Mac. (I don't need to be able to reach the virtual Debian from anywhere but the Mac.)
I can't seem to figure it out. If I set the Virtualbox networking to "NAT", I can reach the outside world from Debian, but I can't reach Debian from Mac OS. If I set the Virtualbox to "Host Link Adapter", I can reach Debian from Mac OS, but I can't reach the internet from Debian.
I'm sure I've set up the way I want before, and I don't remember doing anything special for that, so I must be missing something simple today.
# Generated by iptables-save v1.4.5 on Mon Jan 11 12:22:25 2010 *raw :PREROUTING ACCEPT [1038480:666298388]
[code]....
somehow iptables -t nat -A PREROUTING -i eth2 -d x.y.z.a -j DNAT --to-destination 192.168.1.1 helps, but imho there should be some other solution. kernel is 2.6.31.6, architecture is x86_64.
P.S. i've also tried iptables -A POSTROUTING ! -d x.y.z.a -s 192.168.1.0/24 -j MASQUERADE that didn't help either.
I'm running Telnet Server, VFTP, and VNC on a Fedora 14 box. The box's internal IP is 192.168.1.222 This machine is configured to live in the DMZ, The firewall is up on both the router and this box. I can remote in from home using our external IP. I can FTP. I can Telnet. All using our external IP. When i'm in the office, i can remote in using our external IP. I can FTP. I can Telnet. Again, all with the external IP. If i attempt to telnet 192.168.1.222 i get a connection refused. i can ping the 192.168 address
nmap tells me that all 1000 ports on 192.168.1.222 are closed nmap tells me that my expected ports are open on the external IP.
.... This is a relatively new conundrum as it "used to work", and only appears not to since our last reboot (power outage). I know i have to be missing something simple here, but i differ to the experts.
I need to change my Mac address to be the same as another computer. My university for some reason only allows 2 computers per jack i think! and i have 3. for some reason when i plug my 3rd PC in i lose connection on my other two. i have a win 7 laptop and a Ubuntu laptop. I want to setup a small server since my school blocks all ports off campus i can't use it off campus but i want to use it on campus.
My 3rd PC is a ubuntu Desktop is there a program i can use or a command i can use to spoof the mac address.
there is a way to set an ip address on a computer remotely. Here's my issue : Have a debian computer (plug computer) on which, after upgrade, i m not able to log in back anymore. At the moment it seems i have no chanche to connect something like a monitor but i m pretty sure the computer it boots up cause wireless is on and i can see ssid and mac address of the ap.
I ve tried to assign an ip to the mac address (from my laptop) by arp and in the table it shows the link between the mac and ip, but i m unable to ping the ip after that. I was trying to think of maybe set up a dhcp server from my laptop and see if the plugcomputer gets an ip automatically, but i m not sure if it is working and at the moment i have little experience on set up a dhcp server on linux (sabayon). Do you think is it possible to manage the network card of my plug computer by eth/wlan from my laptop?
I added an init script numbered just before bind9 starts, which needs to see the ipv6 link-local address on eth0. Sometimes this address is not configured, yet. In all cases it eventually is configured.
I am unable to find any script that is configuring the ipv6 link-local address (which is in part based on the MAC address). Does anyone know if there is some script or program that is supposed to be doing this, or is it an internal kernel function?
One workaround I am considering is making this init script go into a loop around sleep 1 to keep checking for the ipv6 address. But I'm concerned this might cause some problems. Any suggestions? I don't want to let it move on to start bind9 until the configuration this script does (more ipv6 addresses) is done.
This is on Ubuntu 9.10 server (for which there is not a prefix choice).
I can reach other hosts by means of their global addresses by either the IP address or hostname (that has the global address). What I want to (also) do is have a hostname that references the IPv6 link local IP address (an AAAA record in DNS, or just the fe80::<whatever> address in /etc/hosts) and use that host name in commands to access that host. The problem is, an interface ID is needed when making such a reference.
It sure looks like the programs just pass the host name string on to the resolver library, which does not understand the significance of the '%' even though it could find and see that the name preceding the '%' is consistent with that being an IPv6 link local address (e.g. the logic could have been "split at first % and see if preceeding name is found as a link local address and accept that if so, or ignore the split otherwise" ... but it isn't). Is there a different syntax for this ... or was it overlooked in the design of programming around IPv6?I want to be able to address a host by its link local address, while still using a mnemonic instead of having to type the IPv6 address.
I installed Fedora 12 on my laptop. I have a wireless connection to the internet that works fine, I attached an Ethernet cable from this laptop to a windows machine. There is a green light.
I can ping my localhost. I can ping the windows machine using it internal IP address via the router. However, the eth0 IP address does not work when I ping to it from the windows nachine. Also, I cannot ping to the windows machine using the IP address associated with the Ethernet connection.
i would like to connect from my home pc to my local machine at the university (fedora 12) behind a main university server(linux) through vnc. specifically,to connect normally through ssh/X to my local pc i have to ssh first to the main university server and then ssh to my local pc. Namelly:
ssh -Y -l loginname main.server.name and then ssh -Y my.local.machine.
On my local machine there is a vnc server running that I would like to access it from home (linux machine). Actually linux is running everywhere.
One of the computers attached to the network is giving localhost instead of 192.168.x.x in Remote Desktop config page therefore I'm unable to access it:
Quote: Your desktop is only reachable over the local network. Others can access your computer using the address localhost. Other computer and even other accounts on the same computer are showing something like:
Quote: Your desktop is only reachable over the local network. Others can access your computer using the address 192.168.0.8. How can I fix this?
I have read in a forum that a computer can have the same MAC Address with its router in the sane LAN but how is that possible? Isn't every MAC unique? Also I have not understood, when we send a packet to a PC that is not in our LAN the packet should have the IP Address or the MAC Address of the computer that we want to send?
I wanted to be able to have separate NICs with separate IPs connecting to separate gateways on a machine so I could put an ftpd on each one. I tried binding an ftpd to each, and running separate instances of the ftpd. I tried virtual hosts.
NOTHING worked. I could either use one ftpd or the other. I could either connect via ssh on one IP or the other. the second I turned one NIC off stuff would work again. I messed with basic iproute commands, andnothng worked until I got this script to run, which allowed me to use each NIC independant of the other.
Code: #!/bin/sh #ip route flush all ip route del default dev eth1 ip route del default dev eth0 ip route del table 1 ip route add table 1 to default via 10.10.10.1 dev eth1 code....
But now, samba client doesn't work. cifs mounting doesn't work either. It can't connect.
BEFORE I ran that script, I could connect via ssh, or to the ftpd running on the machine using a LOCAL IP - 10.10.10.2. AFTER, I have to use the external IP, or I cannot connect. I know that has something to do with it, but I do not have the advanced linux routing knowledge to redo the script or come up with a solution.
up until about four days ago connecting to the local LAN was as simple as booting Ubuntu, and letting nm-applet automatically connect on Auto Eth0 But the other day it just randomly stopped working, with no cause that I can think of. I can still connect to the internet (This is via a PPPOE connection, running through the same wired interface) so it can't be a hardware problem with the ethernet port/cables themselves. nm-applet just stays spinning in circles, and nothing ever happens. I tried deleting the auto Eth0 entry, and creating another LAN entry with exactly the same settings, but I still get the same problems. way to completely restore nm-applet settings? Or some other way to give me access to the local network?
I Have Ubuntu 9.10 Server installed and for some reason after updating our server with the ubuntu update manager, we can no longer connect to the network via remote desktop, let alone not even able to ping. We are actually able to connect to the internet itself just fine so I dont understand why this isn't working
I am trying to connect to a nfs server on my local network ( the server is a fedora 12 box ) using slackware 13.1 but I am having some problems. First of all I am sure that the server is configured ok and my desktop can ping the server but when I try :
mount -t nfs 10.0.0.1:/home/usr/file /home/usr/tmp I get the following error : mount.nfs: No route to host
And when I try to rpcinfo -p 10.0.0.1 I get the error :
rpcinfo: can't contact portmapper: RPC: Remote system error - No route to host
I am using fedora 10 in two computers. Just for my own practice I sent a file to my second computer.
1st computer IP is 192.168.1.10 2nd computer IP is 192.168.1.20
[Code]....
The file has been successfully copied to the second computer but I again want to copy that file into my local computer by still sitting in my 1st computer.
I have installed openvpn on an ubuntu 10.04 server. I run 11.04 on my desktop. It can connect to my VPN server. The problem is, I have ZERO internet access. I cannot even ping an IP address.