General :: Restricting Dynamic Ipaddress By Based On Dynamic DNS Host Names?
Dec 12, 2009
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.
in my iptables script I define the environment like this:
Code:
# ENVIRONMENT # Private interface IF_PRV=eth1
[code].....
if I give the IF_PUB interface the DYNAMIC IPaddress assigned by my ISP how can I define it in IP_PUB and also the NET_PUB so I can then use it for the firewall rules.
I recently installed fedora 12 in my server where I had a page published in my local net by tomcat, and I was looking on the Internet how to set up an static ip address and this is what I did
then I can access via ssh by two addresses the one I got from dhcp (10.17.148.223) and the static one (10.17.148.26) I put ifconfig and and 10.17.148.223 appear on eth0 I restart my server and I just can access from 10.17.148.223 I have to put
ifdown eth0 ifup eth0
Again...to access by my static ip, y can access my page by its dns on my server, but I cant access from other computer...so, I guess when my static adress appears on ifconfig I would be able to access my page from other computer...
Tomcat6 is built in server with it but i dont know how to use it .I am doing a dynamic web project based on servlet and eclipse galileo is being used as IDE for it.
We have Verizon as our ISP with a dynamic IP address. We published our website but the IP changes frequently. How can we set Network address translator(NAT) so our website can be published regardless of IP changes? We don't have domain name and have no intention for one.
just a quick question. I was wondering if it is possible to do the following: suppose there is a www and it contains 3 pages: aboutus.php, index.php and contactus.php within each side there are 3 other pages you could say 1*.php,2*.php,3*.php, where * stands for any of {aboutus,index,contactus}. I was wondering how, if it is possible, to implement the following mechanism.
If users requires 2a.php go to aboutus/2aboutus.php or if it is 1i.php then go to index/1index.php. What this does it translates addresses that user requires into the original links that are stored at the server. Then, if I want to change the translation I just change the naming convention say 22a.php or 11i.php and updates my mapping mechanism. Is it possible to implement it with mod_proxy_http ? so that you could dynamically (at once, without restarting apache and without any delays) change this mapping to whatever you want ? maybe there is another module I should look at ? Or shall I implement it myself?
I have comcast xfinity high speed dsl, with a dual boot win2000/opensuse 10.3 system. I'm connected in win2000, but I can't quite figure out how to configure comcast's dynamic ip address' in opensuse 10.3, either on command line, or in KDE with YAST (scream on the latter attempt).
I've looked up all man pages on ip cpnfig, but the problem is that my last internet connection was through a router with a static ip address, and I can't quite figure out the shell command from man pages ( I've tried dozens of combos like ip addr [change] {dynamic|on} etc. from what I could gather from man page instructions, but I can't seem to get the dev object and options worded just right), and I'm about ready to throw my monitor at the wall during every YAST attempt (and of course YAST doesn't pick up my dsl automatically and why it's asking for a comcast userid upon manual entry I haven't the slightest).
I have a Dell Inspiron N5010 laptop that came with Windows 7 installed and a dynamic disk. I want to install Ubuntu but I have the following constraints:
I don't want to lose any data. I don't want to lose my current Windows installation. If I tried to make a system image it will be very large (about 40GB)
I'm developing some small application runs on tomcat 6This web application just query data from MySQLBut I'm concern about performanceHow can I check how many request It can serve as well ?I'm thinking about to change the application to runs on httpd (will write in PHP)Normally, how many request httpd can handle for simple database query ?
I am trying to figure out how to make my terminal emulator dynamically transparent ( see through to the action below that window - Browser, video et cettera and not just the default wallpaper) . I figured out how to make transparent but not "dynamic". I have seen people mentioned you need to enable compositing but I am unsure how to do that in Gnome. I recall from a prior use of XFCE this was an option in that WM but I can't find in Gnome or compiz (if needed)
I am running Gnome on Debian Squeeze and have installed compiz. Any direction would be appreciated. I find reading web tutorials through the terminal to be very helpful so I can practice the command line or even practice commands while watching a good video .
I've created a script that put in dynamic variables the value HELLO 1, HELLO 2 HELLO 5. And I put the values of this variables in the file text.txt. Here's the script:
Code: for i in $(seq 1 5); do eval ${i}=$(cat << EOF "HELLO" $i EOF); done cat > text.txt << EOF $1 $2
install a newly compiled linker as the default linker on my VM running Ubuntu. I compiled and installed a new custom kernel on my VM (linux-2.6.36) and also compiled (not install) a custom gnu c library (glibc-2.11.2) on the newly installed custom kernel. I am able to run a simple helloworld.c program to verify that my program worked successfully using the newly build dynamic linker in the /elf directory.
I want to replace the real linker inside /lib with the new linker that I compiled. I tried to make the soft link named ld-linux-x86-64.so.2 that originally points to the real linker file ld-2.11.1.so, point to my newly compiled linker, but my VM crashed. I also tried moving the compiled linker and wrote it over the original linker, and the VM crashed. None of the commands worked after that as they could not access any of the shared libraries and I received this error '/bin/bash: No such file or directory'. I also tried to change the LD_LIBRARY_PATH to point to my linker and did not have any luck there either.
I have an old program that kind of depends on older dynamic libraries. They tend to get upgraded easily with distro's updates. I figured that there would be a script with using ldd that would gather the libs needed and create one bigger, statically linked application that wouldn't break so easily. If I could do this, a lot of older KDE libraries could be removed from my system and easen my life.
My distribution of choice is gentoo, but I'm looking for a general solution that doesn't depend on rebuilding anything. If it runs with libs on their path, I'm sure it can be made run with libs somewhere else!
I am looking for tools for static/dynamic code analysis for embedded Linux system development (both device driver and user space apps). We will use Eclipse IDE and C++ lanuage. I hope the tools are easy-to-use, reliable, popular, better with good supports, and not-too-expensive. I already find a list of tools at WiKi, however, I don't have time to try them all. Could anyboy please recommend me a few? If you can tell me briefly about their pros and cons, that will be the bet.
this is my first post i have this error in ./configure for bind 9.7.3: checking for OpenSSL library... using OpenSSL from /usr/lib and /usr/includechecking whether linking with OpenSSL works... yeschecking whether linking with OpenSSL requires -ldl... unknown configure: error: OpenSSL has unsupported dynamic loading
I have just downloaded Slack- 13.37 using Filezilla..I downloaded from an FTP server the entire directory of Slackware - Current (32 Bits) ..There were some problems encountered:1. When I selected the entire folder in FZ , the Queue size was reported as 4 GB.2. I started downloading and after significant time , still the Queue size was reported as around 3.8 GB..I was perplexed as I have a decent bandwidth and it cannot be. To dispel my doubt , I saw the properties of the Slackware directory in which it was downloading. It showed 1.9 GB.. Is the Q size not dynamic? (Total size - Downloaded size)
3. I was on the edge of my seat as my HDD had only roughly about 4 GB ...So , the Q size was kinda misleading..In a haste , I thought I would remove 2 big installations and wiped off Openoffice as anyway I was planning to go in for libre...I moved some other files to a different partition to ensure additional space4. At the end , early in the morning I woke up and saw it had finished ..But there was a failed transfer of 1 hidden file ..There is still 450 MB left in my partition, dont know why it got omitted.5. Now I want to check the integrity of the download bfor burning to a DVD..Should I use md5 sum? I am not able to determine slackware size by googling...In fact I should have gone in for a pre compiled ISO instead of this directory! But it wasnt available yesterday..6. Is there any good download manager like DAP/ Orbit / Leechget which also gives options like turning off comp after download (useful for overnight installs)...The DW helper in Mozilla is not that good ...I want a utility to split the download into 4/5 channels and speed up the download and most importantly show a graphical menu clearly showing Speed, Size, Time left , etc similar to windows DM
I've got Apache installed so I can learn perl and php, and to show off, of course. I just realized last night that my IP isn't what it was three months ago.does anyone here have any experience with a dynamic IP program (like DynIP back in the day.) .. I've seen a few options, but I was hoping someone would have some experience.
Is there any way to change Dynamic IP on Linux ? as smeagol271006 mentioned in his thread , we have to disable avahi daemon to get this above code to work properly. dhcpcd trick worked like a charm for me but i have 2 major problem.
problem 1. I always get the same dynamic ip. I need to change dhcpcd -r IP by hand to get a new dyn IP.
problem 2. since i disabled avahi and network manager , i can no longer use DHCP feature . I have no choice but to enter dhcpcd code snippet manually to assign a dynamic IP for every system restart. Is there any clean way to get a new dynamic IP without using dhcpcd ?
I have a domain name and also a no-ip domain that points to my web server. I am just wondering if it would be possible to implement so I can have a play with some mail servers and get some experience of them.
I bought a new printer today (HP Photosmart), and Yast did find it in my wi-fi network and configured it properly.I see that Yast set the connection type to "socket://192.168.1.7", which is the IP the printer had. But the IP is given by the router (DHCP).Is there a way I can change the printer configuration so that the printer will always be available whatever its IP is (can be from 192.168.1.5 to 192.168.1.8) ?
I have a box with 1 ethernet card and Huawei E160 USB modem. So, I have configured eth0 interface with IP 192.168.1.1 and modem0 interface with dynamically assigned IP. Now, I'd like to share Internet from modem0 to eth0 and so to the rest of home local network.
I need your advice on how to do it. All the manuals I've read deal with two ethernet cards that have static IPs. It seems that YAST lacks the GUI for it, too. Also, I need the configuration to work even with no user logged in so I'm using ifup instead of NetworkManager.