General :: Addressing A Host From Both Internal And External Networks?
Aug 17, 2010
I have a fairly standard home network set-up with a router and a couple machines on the internal network (with private IP addresses 10.0.0.x). One of these machines is running my subversion server, which is in turn used by my laptop. I am now trying to configure my laptop in a way that I can have one working subversion copy connected to the repository which works both when the laptop is connected to my home network as well as if its connecting from internet. I configured a "virtual server" on the router, so that port 443 goes to the machine with subversion, and this works fine. Now I don't know how to configure the laptop to go to the same machine - because the IP is different if I want to access it from outside and from inside. I tried to connect to the external IP of my network, but the router refuses to let the connection go "out and in again". how to get it configured?
I am using Debian linux with wpa_supplicant on the laptop.
I just set up my first ever bind9 DNS server running on ubuntu server 10.04. This server is also my gateway/dhcp server.
Here is what is weird: If I do a dig @8.8.8.8 dschuett-lmtl.scs.local from any of my clients it resolves?!?! Dig shows that it got the answer from MY Bind9 DNS server (and NOT Google's of course), but why is it still resolving when I'm telling it to use and external DNS server?
The other weird thing is that the SAME EXACT dig command above does NOT resolve internal host names if I do it from the Bind9 DNS server. - Which is what i would expect SHOULD be happening if done from the client machines...
I have an external hard drive with an xfs partition on it. It was using an external journal, but in re-installing Slackware I removed the partition holding the external journal, forgetting what it was at the time. I didn't touch the contents of the external hard drive, but now I can't mount it and the various xfs programs seem to demand that it be mounted in order for them to change anything.Anyone have any ideas on how to change an xfs partition from external log to internal? Failing that, how do I get the information off it?
I have a (virtual) server with 3 NIC's: 1 external (inet), 1 local and 1 DMZ. This server is my gateway. I would like my internal network, where every server has a static 192.168.0.x IP, to access the internet via the gateway. That means the traffic has to pass from the 'local' NIC to the 'external' NIC, connected to the internet. Which setting do I change to accomplish this ?
Please check the sceenshot (attachment) for my current setup
I am using postfix and dovecot installed in one machine running linux centos 5.4 and I have two lan card eth0 and eth1 the eth0 is my IP from ISP the eth1 is my internal IP
Now since my postfix and dovecot are started without any errors what I mean is. I can able to send in yahoo,gmail,etc... and also i can recieve email from outside. My question is how can I restrict this email address prinzz@prinzz.com denied for outside but can send and recieve only in internal while this prinzz2@prinzz.com is allow to send and receive outside and inside.
i have centos 5.5 and qmail installed in it this qmail is used for internal mail , we are not send mail from internal to external ids i.e gmail, yahoo etc, this qmail intalled on 192.x.x.x ip server this ip is not live ip but my problem is that from few days mail are sending from internal to external like indiatimes ,yahoo
If I try and install, any distro on a ide External hard drive, Will I still get a Bootup Grub installed on my internal Windows MBR. I am thinking the answer is yes.
Im a computer networking student in my 3rd year and most of it has been based on windows, just completed a Unix Systems Administration course at my University and decided to take the skills home with me, but I have a slight problem and Ive been racking my brains out trying to figure it out. I have 2 Networks in my home and im trying to get connectivity between the 2 networks but to no success
I'm building a new desktop computer, on which I plan to install Debian Squeeze. I'll have a 1 TB SATA hard drive in the system. I'm also considering using two 500 GB external USB drives, but I'm debating about how I want to use them. Running them all separately for 2 TB of space could be a nightmare, with three potential points of failure, so I was thinking of using the two external drives as a backup system instead.
I'm considering linking the two external drives in a RAID 0 array, then linking that array and the internal drive in a RAID 1 array. I would use mdadm software RAID for all of this so I could use individual partitions in the arrays, avoid hardware dependency, and have greater software control. So now is this feasible to do (having a partial RAID 0+1 setup)? Moreover, what kind of performance could I expect from using potentially slow external drives (one of which I know has a very long spin-up time after idle periods) in a mirroring setup with the internal drive?Would I be far better off using a filesystem backup daemon instead?
EDIT:After some more research and brainstorming, I've decided I might just end up using rsync+cron, lsyncd, or DRBD (assuming it can easily make backups locally). I'd probably have to link up the external drives in RAID 0 (or use some filesystem link trickery). But I suppose such a setup would offer greater control, flexibility in disk capacities (the full system isn't so strictly limited to the capacity of the smallest member of the array), and granularity than RAID 0+1 would.I'm still open to thoughts on the mdadm RAID 0+1 solution, but does anyone have any advice on choosing backup software? For some background on my needs, I'll be using this computer as both an everyday desktop and a personal LAMP server (MySQL database files would be included in the backups).
I am new to fedora 13. My problem is that I can not hear any sound from my laptop's internal speakers (that works f9 in windows--so no h/w probs!) but when I connect external headphones, everything is heard.I have tried several commands from various internet sources since past one week. I don't understand many of the commands that I have run, but that has somehow helped me to run media files and hear sound on HEADPHONES.
Im using it in an attempt to backup all of the files off of my dead Windows xp Computer. Right now I am using the 9.10 live disk of Ubuntu and cannot get the program to recognize what kind of file system my internal hard drive is using. (A western digital 320 GB hard drive with partition 1 in NTFS and part2 in FAT32) I would like to be able to back up this drive onto my 1 TB Western Digital external hard drive that is also in ntfs.
Now here comes the wierd part, it won't read or recognize my interal and external hard drives that run those file systems but it will recognize and allow me to read, edit, and access all of the ntfs hard drives on my home network. I did some lurking and tried a tutorial for creating a mount point and on how to force mount a disk, but neither of my disks would show up in Places/Computer. So then I checked the /etc/fstab file and is says,
Which I think means that it says I have no hard drives installed or connected to the computer. Yet when I go into Disk Utility it tells me the disk is there and asks if I want to format the disk into ntfs...
I have a FTP server (vsftpd) setuped on a Linux box (Ubuntu server). When I try to connect with a computer on the same network everything works fine as expected.But as soon the IP is external it won't connect..I first assumed the port was blocked, but then:localserver:$ sudo tail -f /var/log/vsftpd.logWed Jan 13 14:21:17 2010 [pid 2407] CONNECT: Client "xxx.xxx.107.4"remotemachine:$ netcat svn-motion.no-ip.biz 21220 FTP ServerAnd it hangs there. Do any ports other than 21 need to be open?
I'm dual booting BT4 and Ubuntu 9.10. My question is, rather than me having two separate partitions for this, could I just put BT4 in VMware and still be able to detect wireless networks from it? Just out of curiosity, does VMware machines have the capability of detecting wireless networks just like the host OS?
If I try ping a host on my internal lan from my ubuntu notebook the host name never resolves, but if I ping www.domainname.xxx it will resolve because our dhcp server is setup as the dns server too. If I use the connect to server tool and select samba share and specify host by name, it can resolve that and the shares show up... same dns server, same machine, but different interface/program. My real reason behind this is because my synergy+ keeps falling over whenever the synergy servers dhcp lease expires and it gets a new I have to then specify the new address and change configs.
I have a dual CPU system, where each CPU has 4G of associated RAM. I would like to know how to determine the logical memory address start of memory in the user address space for each CPU. I am running OpenMP, and have 16 threads, for a problem that parallelizes. What I would like to do is to be able to put half the data on each of the 4G, so that each processor will have half the data local, and thus reduce the amount of data transferred from one CPU to the other.
I seem to having some strange issues with my new sendmail server and was hoping that somebody can offer some assistance with this issue. I recently tried to setup an enviromental monitor that sends alerts via email using a dedicated email account I created on my sendmail server. For whatever reason, it does not seem to be able to send emails, and I have verified the account credentials multiple times.
So I attempted to run a telnet SMTP test to determine what the problem was. I was able to connect and send the emails using this test perfectly fine from my local subnet, however I ran into problems attempting this test from the outside world. When I connect the SMTP PORT 25 from the outside world, I get what seems to be a malformed SMTP greeting.
I'm not sure is this is possible or not, but what I would like to do is take my public address mydomain.com and configure a virtual host something.mydomain.com only instead of having the content on the same server I would like it to point to the IP of my virtual machine that is in my private network and display that page publicly. Does anyone know if this is possible, or how to do it? I have done this with port forwards, but would like them both to be on the same port.
i have a laptop that just recently had a hard drive fail so i removed it i have an160 gig external that i want to install Linux on so i got the live cd version of Ubuntu started it up pluged the external drive in whent through the install and set it to boot first but when it boots i get this it says missing modules cat?/proc/modules;is/dev and so on what did i do wrong
Im running Centos 5.4 with a sftp server, and I�d like to allow all 172.16.0.x ip and 192.168.0.x ip and block everything else. Does someone have a good way to do this with IPTables or any other opensource FW?
My Ubuntu Box has 3 interfaces. eth0 (Internal 192.168.1.0/24)eth1 (External ISP DHCP)eth2 (External ISP Static IP)I need the outgoing traffic to internet for 1 of the internal pc (192.168.1.10) to only go only go through eth2
Since a few days i can no longer use my external hard drive (USB). During my quest i noticed the following things: Running openSUSE 11.2 / KDE 4.4.3 / single boot My internal HD is on /dev/sda2 (mounted /) partition manager (YaST) or gparted don't start up (they just hang during start-up) I had to change permissions suddenly to read a CD (i was not in de cdrom group, but i have been using CDs for a while)
Code: > df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 113306052 84757232 22793136 79% / udev 2052352 4140 2048212 1% /dev
I have a SuSE server (sorry but no idea what version of SuSe it's running.. I'd take a guess at 10.0) on a network with several other SuSE servers. They are all able to be SSHed externally as well as internally and all have their local firewalls disabled. I just had to reboot one of the servers and it is behaving quite strangely. I am able to SSH in and out of it externally, but can't SSH in and out of it internally.
When trying to SSH out internally I get the message: "ssh: connect to host *.*.*.* port 22: No route to host" When trying to SSH in internally I get the message: "ssh: connect to host *.*.*.* port 22: Connection timed out" Using ssh -v doesn't give any more useful information.
I have double checked that the IP is correct and that the internal firewall is disabled etc. The external firewall hasn't got anything that would prevent it (and shouldn't be an issue anyway as it's an internal only problem... SSH externally works fine). Also, it might help to know that I have the same problem with ping. I can ping this server from an external system, but not from an internal one.
I have an older laptop with a broken CD drive so I cannot boot the CD Drive with my ubuntu image. The laptop does not support booting from a USB drive either.So what I did was take the HD out of the laptop and using a USB enclosure plugged it in to my Win7 desktop. Then I booted from my Ubuntu CD and had Ubuntu install on the USB Drive. Took the USB drive off, and put it back in the laptop. It seems to work except it looks like it was installed with my desktop hardware. Also, every time it boots it starts at a recovery screen asking if for several boot options (including win7 which does not exist on the laptop!).
How can I synchronize my external hdd to a folder on my internal hdd. e.g. when I change something on my external, the folder (on the internal) should be updated to the state of my external (deletes, changes, new files..). but I don't want to make this frequently, so I just need a command to do that. at best secure and without additionally installation.
Would this be a simple case of just installing a fresh copy of Ubuntu 10.04 on my HDD, then copying everything from the USB over? I, of course, would need to update grub to load from the HDD instead of the USB. Would there be any other way to accomplish this?
I just installed maverick netbook edition on an external hard drive, creating my own partition table. When I tried to boot the drive, grub rescue mode told me file not found. I installed again and used the default partition table and got the same error. I gave up and tried to boot my fedora 13 internal hdd but was told that there was no such device. I looked through these forums and ran a bootloader script and was told that my internal hdd had a bootloader but my external didn't. I tried to load the kernel through grub rescue, but the file system was unknown to grub. The files are still on my internal drive and I don't want to reinstall just to boot it.
I have one external ip address and a few domains. Would it be possible to have each domain on a internal domain and the box that sits on that external ip route to the internal. This would be for a number of server (mail, apache, imap, pop3, https ) So for example:
Some visit domain1.com ->external ip -> 192.168.10.100 Someone else visit domain2.com ->external ip -> 192.168.10.101 and so one with a number of domains