Security :: Allow Internal Ips And Block External Ips?
Jul 19, 2010
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?
View 10 Replies
ADVERTISEMENT
Dec 27, 2010
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?
View 1 Replies
View Related
Aug 5, 2010
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
View 1 Replies
View Related
May 9, 2010
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
[Code]....
View 5 Replies
View Related
Jan 14, 2010
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.
View 9 Replies
View Related
Jan 31, 2010
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!).
View 1 Replies
View Related
May 8, 2010
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.
View 1 Replies
View Related
Jun 16, 2010
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?
View 9 Replies
View Related
Jan 3, 2011
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.
View 5 Replies
View Related
Jan 10, 2011
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
View 3 Replies
View Related
Feb 22, 2011
Way back in the day when I was running Windows I used a Compro Tv Tuner Card which had nice, easy to use drivers for XP. Now that I'm using Ubuntu, I wouldn't mind getting another Card myself (old one died on me) and was wondering what brand was the most linux friendly so to speak?
View 3 Replies
View Related
Jul 29, 2009
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
View 4 Replies
View Related
Nov 22, 2010
we have a DNS server is being used for external clients .Recently we installed awstat monioring tool in ordr to collect either ftp or mail statistic. Since our server is DNS server by defenition we may see all external clients requests to the ftp/mail services .But a LAN clients cannot be resolved by their IPs . The second nameserver line doesn't work. DNS server's conf file looks like :
search mycompany.com
nameserver 127.0.0.1
nameserver LAN_IP_Address
How to configure the server it will resolve both external and corporate clients ?
View 5 Replies
View Related
Mar 23, 2010
We have a STM32F103ZET6 microcontroller.It has an ARM cortex-M3 core.We use keil as compiler.We have both an external and internal SRAM.Now I want to declare variables in either of the RAM as I wish.For example some time critical section variables in internal and others in external.How to do this.?
View 1 Replies
View Related
Apr 8, 2010
How can I install linux using an external hard drive? ANy help would be greatly appreciated. I dont have any CD's or anything and this is my only option.
SO how can I install linux FROM my external HDD ONTO my internal HDD?
View 1 Replies
View Related
Feb 18, 2009
I would like to redirect a external IP to a internal IP, all done with Apache. Is that possible.
View 4 Replies
View Related
May 9, 2009
I've been wondering lately about what would be the best approach to take concerning WiFi on my laptop (or laptops in general) ? Understand my question concerning this is ONLY about performance and no other issue.
What is the better thing to do:
a) install a new (better) WiFi card inside my laptop,
b) remove the card inside my laptop and use a WiFi USB stick,
c) remove the card inside my laptop and use a WiFi PCMCIA card?
Is simply being external to the laptop going to give me better performance in terms of locating and using a WiFi connection? On the laptop I'm currently using I know that merely rotating the laptop can boost the connection signal strenght by 15% or more. So, I'm really wondering about this. btw, I'm seriously giving thought to glueing a 3 or 4 inch lenght of 1/2 inch pvc pipe to the lid of my laptop as a holder for a homebrew parabolic WiFi dish. The idea is to attach the USB WiFi stick to a piece of coat hanger wire. Then slide the bottom and top of the coat hanger wire into a piece of paper (that's had aluminum foil glued to it) forming a parabola behind the WiFi stick. By rotating the parabola in the pvc holder I can instantly directionalize the reception/transmission of the Wifi USB stick. I'm wondering if anyone in the forum has experienced the difference between an internal vs an external WiFi device? Secondarily, has anyone in the forum tried the parabola trick?
View 2 Replies
View Related
Jul 18, 2011
I got a new hard drive 2TB for extending the storage. I am working on fedora15 and would like to format the disk as a linux partition and external hard drive. me how to format this disk and partitioning!
View 12 Replies
View Related
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.
View 1 Replies
View Related
Sep 16, 2010
I had the problems with the external speakers not working in Ubuntu 10.04 on ThinkPad Edge (Intel), my friend advised to upgrade to the kernel 2.6.35.15 and it . But!.. in those kernel version internal microphone is not working, though it works in 2.6.32-24-generic-pae.
View 9 Replies
View Related
Sep 30, 2010
I cant boot from my External HD with ubuntu installed.
I get this message:
error: file not found. grub rescue>
In an attempt to fix this problem, I tried using the following sudo command:
sudo mount /dev/sda5 /mnt
sda5 does not exist, I tried 4, then 3, then 2, and it worked, but that was a partition of my internal HD containing windows 7.
I also typed in:
sudo grub-install --root directory=/mnt /dev/sda
not I get the following error when I try to boot from my internal HD:
error: no such device: 57288a24-5d12-4fb1-b27e-eb09a1f9b7c6. grub rescue>
Is there a way to get grub to boot into windows 7 again?
When I type:
sudo fdisk -l
I receive a list of my drives and their partitions, This is my assumption as to what drive is
Which:
/dev/sda1 = Vista loader, for Windows 7
/dev/sda2 = Windows 7 (At least I hope its still there.)
/dev/sdb1 = Bootable Flash Drive.
/dev/sdc1 = External HD.
The text from the terminal is as follows:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8da4c52c
Device, Boot, Start, End, Blocks, Id, System.
/dev/sda1, 1, 1355, 10877952, 27, Unknown.
/dev/sda2 *, , 1355, 38914, 301961224, 7, HPFS/NTFS. (The commands changed this from FAT32)
Disk /dev/sda: 8054 MB, 8054636032 bytes
8 heads, 32 sectors/track, 61451 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier:0x00000000
Device, Boot, Start, End, Blocks, Id, System.
/dev/sdb1, *, 1, 61452, 7865839+, b, W95 FAT32.
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 =8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier:0x0000a613a
Device, Boot, Start, End, Blocks, Id, System.
/dev/sdc1, *, 1, 30402, 244197376, 83, Linux.
Eventually I would like to fix the error I get when I boot from the external, I would like to to boot to ubuntu, but for now I am concerned with getting my internal HD to boot windows 7. Where I originally found the terminal commands to begin with. I think sda5 is where linux was installed in the example I found, and didn't realize it.
View 9 Replies
View Related
Feb 6, 2011
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...
Here are the dig results:
From any internal client:
Code:
View 2 Replies
View Related
May 26, 2011
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.
View 9 Replies
View Related
Apr 26, 2010
I'd like to know if there is a software or a distro which does the following: Imagine having two PCs. What the software should do is allow to turn one PC's hard disks to be accessed as external hard disks. It would be great if I could tell which USB port and which hard disk should be accessible like this. Now when everything is selected properly one could just plug in the other PC's USB cable and have access to the selected drive.
View 5 Replies
View Related
May 23, 2011
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 etc
View 1 Replies
View Related
Dec 13, 2010
I have an HP Pavilion dv7-1243cl laptop. It has an internal wifi that works ok at home but when I'm traveling I stay at RV Campgrounds the wifi signal gets pretty weak. So I Installed an external antenna.(ALFA model AWUS036H). The signal gets a full 5 bars.
Now the problem. I dual boot OS11.3 and Windows 7 pro. Everything works as expected on MS. When In boot to OS11.3 I can only connect to the internal antenna. (real spotty). If I turn off the internal antenna I can't connect to the external one. Knetwork manager show/detects and shows the strength of both of the signals only when the internal is on. On MS7 I can turn off the internal and it will connect to the external one with no problem. Is there anyway to get OS to allow me to connect to my choice of antenna? I've been into manage connections and selected wlan1 (external). no joy.
View 9 Replies
View Related
Feb 24, 2010
Find external and internal devices attached to a system in Linux
How can i find through terminal that which devices are external and which are internal.
By external i mean devices attached to USB port. For Example, USB Drive, Portable USB HardDrive etc
By internal i mean devices attached internally. For Example, SATA Harddisk etc.
View 4 Replies
View Related
May 1, 2010
I did receive a few errors during upgrade process, one of which was relating to GRUB.
I currently have 2 internal disks, my primary has OS on it, 80GB, secondary is 500gb, both are ect4 filesystem.
My external is 500 firewire 400 and NTFS.
Contents of my /etc/fstab/
Code:
Not seeing any mount points for my internal and external drives
sudo fdisk -l reveals the following info:
Code:
View 2 Replies
View Related
May 22, 2010
I recently bought an Acer Extensa 5635Z and things were fine until I lent it to my godson for a weekend and got it back with the internal hard drive not functioning; he said it worked one night, and didn't the next morning; now, it's not recognised and an OS is not found during bootup. Whereas this was bad news for me in one way, on the other hand it was the perfect chance to switch to Ubuntu, something I've been wanting to do for years, and I've been really enjoying most aspects of it after using a live disk to be able to do my work over the last couple of days. Now, instead of buying another new laptop, I would like to use an external hard drive that I've just bought in the place of my broken internal hd, and have Ubuntu on it.I've read tutorials on it and they basically say that all I have to do is:
* Run the live disk - done
* Uncheck these options -
Mount removable drives when hot-plugged
[code]....
Is that it? Is there anything else I should do for this particular brand or situation (will the BIOS recognise the hard drive?) or any issues I should know about beforehand? How do I choose the HDD as primary boot? Should I insert the external HD before or after unchecking the options? Should I leave any of the 250 GB to '/dev/sda1'? There being no actual internal hard drive won't provoke trouble with the process?
P.S. My computer is 64-bit capable and I've been using a 64-bit Ubuntu disc. I've had trouble viewing things in this interim period, particularly videos, and incapable of installing codecs. Should I just get a 32-bit Ubuntu disc? Or will the problems be resolved when I have a rewritable disc on which to operate?
View 9 Replies
View Related
Dec 9, 2010
Im setting up a server thats connected to a large network. Now my external ip on the network is static and is 10.0.12.15. What I want is to create a dhcp network using the second port of my box. The first port eth0 goes to my network with the static ip 10.0.12.15 and my second port is connected to a switch with the static ip 192.168.12.1. Now dhcp works fine but none of the boxes that are connected to the internal ip cannot connect to the internet. Iv tried using squid and manual static ip routes. Im not using network manager or anything cause its a command line server.
View 1 Replies
View Related