WRT610n access external ip from within LAN - NAT loopback

Hi everybody,
I've replaced my old ZyXEL P-320W with a WRT610n and lost one feature...
I basically have a NAS assigned to IP 192.168.1.2, my router has IP 192.168.1.1 locally of course.
Imagine I have IP X.X.X.X from the internet and that this IP is registered to myip.dyndns.org.
In the old days (with my ZyXEL), I could ssh to my NAS using myip.dyndns.org from within my LAN, but now, I HAVE TO use the local ip (192.168.1.2) to access to it...
I've done some research and found out that this feature is named "NAT loopback" and the closest to that feature I've found in the router configuration is "Filter Internet NAT Redirection" (in Security > Firewall) but enabling it or not does not make any difference...
Did you guys already experience this? Is there a solution?
Thanks in advance
Jon

Basically,to access the NAS...you have to use the local ip address...As far as the SSH is concerned,You need to open port 22 on the linksys router.Check this link.
For logins using ssh keys permissions are very important to make it work. By default in WRT root's home directory is "/tmp". Create a directory called "/root" and changed root's home directory to this (edit the /etc/passwd file). Put your DSA and/or RSA keys in "/root/.ssh/authorized_keys" and "chmod -R go= /root" on the WRT. It should work...

Similar Messages

  • Clone a Mac Partition to an External Drive from within Windows 7 Bootcamp?

    Anyone know if it is possible to clone the mac os x partition to an external drive from within Windows 7 bootcamp? I (like a few others) had a problem with the latest 10.6.3 update and I cannot boot into the mac partition but I can access it via bootcamp so I was thinking about trying to clone it to an external drive and then boot from the new clone and see if that works.
    Appreciate your comments.

    setup a 30GB partition on an external drive, along with a partition of 150% the size of your Mac OS X volume -- or larger.
    Install OS X to 30GB.
    While booted from DVD, before you install, you'll need to go to Utility Menu => Disk Utility to do the partitoning. While there, in DU see if you can repair your system.
    And where is your TimeMachine or clone backup? The "Step #1: Backup before beginning your Boot Camp project."?
    No way to backup or clone from within Windows, though you may be able to write to NTFS backup volume, UNLESS you bought MacDrive8 which allows read AND write to HFS+ from within Windows.

  • Calling external programs from within a Tomcat application

    I've got a fairly complex existing Tomcat application (which is packaged and built as a .war file) which I'm trying to edit so that it calls a Perl script part way through the processing, which will generate an XML file used later on. I think I've worked out how to call external scripts from within Java, but at the moment when I try and access the application via Tomcat the application either hangs or bails out (I don't know which, as the log files unhelpfully don't give any error messages).
    The code which is causing the problem looks like this:
    System.err.println("Calling runtime...");
    Runtime runtime = Runtime.getRuntime();
    System.err.println("Executing process...");
    Process process = runtime.exec("/path/to/ysearch.pl 'News' '\"search query\"' 'file");
    System.err.println("Waiting for process...");
    int exitVal = process.waitFor();
    System.out.println("Exited with error code: " + exitVal);The code gets as far as "Executing process..", beyond that there is nothing in the log file so I presume the runtime.exec() call is where the problem is. I'm not interested in reading the output from the script (there shouldn't be any), so that's not an issue, and the permissions on it allow anyone to read or execute ysearch.pl so I don't think there's a problem in that area.
    Does anyone have any suggestions which I could try to get this to work? I've only been using Tomcat for a week (I'm picking up on someone else's code) so I might have made a beginner's mistake. I'm using Tomcat 5 on Fedora Core 7, and Java 1.5.0_01 (I can't easily change any of those).

    I'm not sure, but I thing that overhead caused by calling du cannot be big enough to matter even on older machines.
    But, when calling du from Perl script you are also invoking shell, and this can be a little bit more 'heavy'.

  • T400s and T500 experiencing slow response time accessing certain websites from within our network

    Hello there.... we have some Lenovo T400s running Windows 7 and T500 running WinXP Pro that are experiencing slow response time when trying to access certain website from within our company network (particularly this global crossing Web meeting, google maps): https://core1.callinfo.com/interface/guest.jsp?host=globalcrossing ... it takes 10-15 minutes before it loads the meeting login screen and same response time for google maps to respond as well... the thing is, other Lenovo T400s, T61, and other HP desktop machines that are connected to the same network in our company does not experience this slow response time... HOWEVER, when these problematic T400s / T500 laptops are connected to external network (e.g. home DSL, hotel DSL/Cable modem) the problem goes away.   Our NETWORK ran tests to monitor traffic to the websites from our company's network but seem to connect just fine... just wondering if anybody out there experienced the same problem and know of a solution.  By the way, the two newer T400s that are experiencing the slow response time have the following BIOS version 1.11 (6HET26WW) and BIOS version 1.09 (6HET24WW).  Then a T400s that is also connected to the same network but not experiencing the problem has a BIOS version of 1.02 (6HET17WW - running WinXP Pro).   NOTE: We also connected a Linksys USB wireless adapter to connect to our wireless network in the company but same problem - and problem occurs even when connected via network cable.  Your feedback will be greatly appreciated.

    Network World posted an article about a free response time monitoring tool that would be worth checking out

  • How to call Operating System commands / external programs from within APEX

    Hi,
    Can someone please suggest how to call Operating Systems commands / external programs from within APEX?
    E.g. say I need to run a SQL script on a particular database. SQL script, database name, userid & password everything is available in a table in Oracle. I want to build a utility in APEX where by when I click a button APEX should run the following
    c:\oracle\bin\sqlplusw.exe userud/password@database @script_name.sql
    Any pointers will be greatly appreciated.
    Thanks & Regards,

    Hi Guys,
    I have reviewed the option of using scheduler and javascript and they do satisfy my requirements PARTIALLY. Any calls to operating system commands through these features will be made on the server where APEX is installed.
    However, here what I am looking at is to call operating systems programs on client machine. For example in my APEX application I have constructed the following strings of commands that needs to be run to execute a change request.
    sqlplusw.exe user/password@database @script1.sql
    sqlplusw.exe user/password@database @script2.sql
    sqlplusw.exe user/password@database @script3.sql
    sqlplusw.exe user/password@database @script4.sql
    What I want is to have a button/link on the APEX screen along with these lines so that when I click that link/button this entire line of command gets executed in the same way it would get executed if I copy and paste this command in the command window of windows.
    Believe me, if I am able to achieve what I intend to do, it is going to save a lot of our DBAs time and effort.
    Any help will be greatly appreciated.
    Thanks & Regards,

  • Accessing JAXR registry from within web service

    Hi I'm having trouble accessing the registry from within a web service running in the tomcat server.
    The service should register with the registry at startup, but in the logs from the tomcat server I can see that a JAXRException is thrown:
    javax.xml.registry.JAXRException: Unable to create ConnectionFactory: Provider com.sun.xml.registry.common.ConnectionFactoryImpl not found
         at javax.xml.registry.ConnectionFactory.newInstance(Unknown Source)
    If I run the program from outside the tomcat server as a standalone program, it registers perfectly.
    I believe the problem is that it is missing one or more jars.
    I have tried to put the jaxr-jars under shared/libs but that hasn't solved the problem.
    Has anyone an idea of what I'm doing wrong?
    Help is greatly appreciated!
    / Bo

    Hi swatdba
    I know that the build file states alle the packages that I need, and as I said, if I run my program like the regular JAXR examples, it works fine.
    The thing is, the JAXR examples are not web services on their own. They are merely Java programs that access the registry.
    In my case I am building a web service that should run in the tomcat server. When it initialises, it should register with the register, and also be able to search for other web services.
    I thought this would be possible per default, ie. the jars that the web service needs should already be available in the tomcat server, but it doesn't work. I have tried to put the jars that I've found in the build script in the folder C:\jwsdp-1.3\shared\lib, which according to the tomcat manual should be used to put jars that you want to share between your web services.

  • Is it possible to insert a url link into the itunes description tag. I want the user to be able to access my webpage from within itunes

    Hi,
    Is it possible to insert a url link into the itunes description tag in a feed. I want the user to be able to access my webpage from within itunes
    Thanks

    In the next release, we will be making adding our Measurement Studio components to existing projects much easier, but for now what you would need to do is add the support for Measurement Studio to your MFC project manually as detailed in our Knowledgbase at:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/0cb6707522e92c958625689e0052bb77?OpenDocument
    Best Regards,
    Chris Matthews
    Measurement Studio Support Manager

  • How can I access applet paramters from within javafx?

    I have a simple javafx applet from the clock tutorial, but I would like to initialise this from parameters that are specified in the <APPLET> tag, for exaple <param name="timeZone" value="America/Los_Angeles">My question is how do I access this parameter from within javafx?
    Thanks,
    Phil

    I'm looking for the same answer, if anybody knows ... ;)

  • Can you Launch External Applications From Within InDesign Ebook?

    Hi all,
    I was wondering if it is possible to open an external application from within an ebook (created with InDesign) e.g. click on a link and have an external ssh client open up for instance?
    Thanks in advance for any advice.
    Regards,
    RG

    It's possible to include hyperlinks in an InDesign file and export them in an EPUB file. Since I'm not familiar with working with SSH clients (in fact, I just had to Google it to have a clue what you're talking about), is this something that can be invoked in a standard URL format? If so, you could probably include it.
    The next issue is whether the link would work. The link couldn't be used directly in any eBook reader I know of, but at least the iBook on an iPad or iPhone would switch to to Safari to let you follow a URL to its destination. But I don't think that's possible on most eBooks.

  • Accessing java objects from within javascript

    Hello,
    Anyone with an idea of a useful toolkit for accessing java objects from within javascript will be much appreciated.
    Thanks in advance,
    Antana.

    What do you mean by accessing Java objects? Do you mean interacting with an applet via JavaScript? Something else?

  • Accessing External Data from SharePoint 2010

    I want to access external data from my SharePoint site.
    I'm told that I need to follow these two articles.
    http://msdn.microsoft.com/en-us/library/ff953161.aspx
    http://msdn.microsoft.com/en-us/library/ff625800.aspx
    I followed the first article but I get this error when I open the external list in my SharePoint site:
    "Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator."
    I don't know how to write a custom code
    BTW I have installed PowerPivot on my SharePoint server.
    Can someone please help me? I need to do this very quickly.

    Hi,
    Can you please elaborate whether the data you are getting is from excel file or from database.
    1. If you are populating it from excel , then you can use the Excel service, Power pivot etc mechanism.
    2. If you are getting it from SQL database then you can use BCS service application and use the OOTB external list and content type to display the same in your home page.
    Links of artcles are given below.
    http://www.concurrency.com/blog/accessing-external-data-using-business-connectivity-services-in-sharepoint-2010/
    http://msdn.microsoft.com/en-us/library/ff677562(v=office.14).aspx
    Hope this will help.
    Thanks and Regards, -- Santanu Kumar Choudhury ----- SharePoint 2007/10/13 Developer

  • Accessing iPad camera from within DPS application

    I have a potential client who asked me if it were possible to access the camera from within a DPS application. I have no further information at this point regarding what the reason for it will be but thought I'd shoot the question out anyway. Apparently it is possible in iOS 6 to access the camera in mobile Safari but I don't know if that is of any help.
    Thoughts? Thanks!
    :jaj

    See http://forums.adobe.com/message/5040166#5040166.
    Neil

  • WAN IP inaccessible from within LAN (MacMini Server)

    Hi!
    I'm having a bit of a networking problem that's exhausted my (pretty basic) understanding of DNS and basic networking. It's the kind of thing that i imagine has a quick fix, just one that in my fairly limited experience i've not yet come across. Hopefully someone on here will be able to help.
    *Office setup:*
    Mac Mini server running OS X 10.6.4 (at 192.168.2.250)
    ~6 client iMacs, all running OS X 10.6.4
    DrayTek Vigor 2820 router connect to the web with a static IP (at 192.168.2.1)
    Problem:
    Our WAN IP address appears inaccessible from within the LAN.
    Normally this doesn't cause any problems but increasingly, as we start to make better use of features such as the iCal and Address Book servers, we are encountering stags.
    Take iCal for example. The client machines connect to iCal server via the internal server domain (macserver.private) - this works great. To access iCal server from outside the office (eg. on iPhone) we connect via a subdomain of our company domain ('ical.ourcompnay.com') which points to our office WAN IP. (The nameservers for 'ourcompany.com' are on our webserver, not in the office.) This also works great, until you bring the iPhone or laptop into the office, at which point the WAN IP, pointed to by 'ical.ourcompnay.com', is inaccessible.
    By inaccessible i mean that when you try to browse to the IP in Safari, a page simply never loads. And when you 'traceroute' it, you simply get no return.
    Aim:
    The aim is to be able to use the WAN IP inside the LAN exactly as we can from outside the office. Or to discover some workaround that delivers comparable behavior.
    *Other info:*
    The client machines' network preference are all set with DNS serves of both 192.168.2.250 (server) and 192.168.2.1 (router). For some reason (that i'm not able to explain) clients are unable to access the internet unless the router's IP is specified in addition to the server's, despite the server specifying the router as the 'forwarder address'.
    If there's any essential info that i've missed out then please let me know and i'll fill any gaps straight away.
    Thanks in advance for any help.

    Camelot - thanks for your reply!
    Note, there may be some setting in the router that controls/allows this
    I thought that there may be something in the router configuration that would solve my problem but have so far had no success. The most useful looking thing I can find is called 'Static route'. Setting up a static route requires just 4 parameters: Destination IP Address, Subnet Mask, Gateway IP Address, Network Interface (ie. WAN or LAN).
    My understanding of this feature is that it is intended for facilitating networks with multiple routers so i'm not sure that it's going to help me. Unfortunately, as much as i Google i don't seem to be able to fully get my head around subnet masks so it's hard for me to know if a static route will ever be able to help me. Any thoughts?
    The alternative is to configure your own internal DNS server as being authoritative for ourcompany.com
    I initially thought that this would solve my problem too but i'm now not so sure. The client iMacs all had to be manually configured to use the server (192.168.2.250) as their DNS server. By default devices connected to the network inherit the router's DNS servers (external to the LAN). So surely even if the the server's DNS server was authoritative for 'ourcompany.com', this wouldn't actually get queried by 'temporary' network members (iPhones, laptops etc.)?
    you have set the server to allow localnets to resolve, right?
    I think so. In the DNS server settings (in Server Admin) 'localnets' is listed under 'Accept recursive queries from the following networks:'. 'localhost' is also listed.
    nslookup www.apple.com 8.8.8.8
    This works fine, both from the server and from clients.
    I too am a little worried that both server and router must be listed for the clients' DNS servers. I'm no expert (as you can tell!) but when setting up the network i wasn't particularly satisfied by this, it felt like a bit of bodge.
    Thanks for your help so far.

  • How can I execute an external program from within a button's event handler?

    I am using Tomcat ApacheTomcat 6.0.16 with Netbeans 6.1 (with the latest JDK/J2EE)
    I need to execute external programs from an event handler for a button on a JSF page (the program is compiled, and extremely fast compared both to plain java and especially stored procedures written in SQL).
    I tried what I'd do in a standalone program (as shown in the appended code), but it didn't work. Instead I received text saying the program couldn't be found. This error message comes even if I try the Windows command "dir". I thought with 'dir' I'd at least get the contents of the current working directory. :-(
    I can probably get by with cgi on Apache's httpd server (or, I understand tomcat supports cgi, but I have yet to get that to work either), but whatever I do I need to be able to do it from within the button's event handler. And if I resort to cgi, I must be able to maintain session jumping from one server to the other and back.
    So, then, how can I do this?
    Thanks
    Ted
    NB: The programs that I need to run do NOT take input from the user. Rather, my code in the web application processes user selections from selection controls, and a couple field controls, sanitizes the inoputs and places clean, safe data in a MySQL database, and then the external program I need to run gets safe data from the database, does some heavy duty number crunching, and puts the output data into the database. They are well insulated from mischeif.
    NB: In the following array_function_test.pl was placed in the same folder as the web application's jsp pages, (and I'd tried WEB-INF - with the same result), and I DID see the file in the application's war file.
            try {
                java.lang.ProcessBuilder pn = new java.lang.ProcessBuilder("array_function_test.pl");
                //pn.directory(new java.io.File("K:\\work"));
                java.lang.Process pr = pn.start();
                java.io.BufferedInputStream bis = (java.io.BufferedInputStream)pr.getInputStream();
                String tmp = new String("");
                byte b[] = new byte[1000];
                int i = 0;
                while (i != -1) {
                    bis.read(b);
                    tmp += new String(b);
                getSelectionsDisplayTextArea().setText(getSelectionsDisplayTextArea().getText() + "\n\n" + tmp);
            } catch (java.io.IOException ex) {
                getSelectionsDisplayTextArea().setText(getSelectionsDisplayTextArea().getText() + "\n\n" + ex.getMessage());
            }

    Hi Fonsi!
    One way to execute an external program is to use the System Exec.vi. You find it in the functions pallet under Communication.
    /Thomas

  • How to access a variable from within a symbol.

    How do I access a variable set outside a symbol from within that symbol?
    Thanks

    If you set a variable on stage ,say
    sym.setVariable("stageVariable", "I am stage variable");
    You can access it from within  a symbol using :
    var myVariable = sym.getComposition().getStage().getVariable("stageVariable");
    Basically you need to get handle to the symbol in which the variable is defined.

Maybe you are looking for