HELP-LAST QUESTION ON NAT

Dear All,
I was reading my NAT Design Paper, because I am going to Implement NAT in My Company.
Now, I want to ask you for only the Process of Static NAT , to allow External Users ? on internet side ? to ? access a specific server inside my LAN.
Which is the things that determine this NAT will Work from External to Internal , or Internal to External ?
Please answer the 3 questions .
1- Is it the Route command that I configured on the router it self , only ?
Or,
2- Is it the Route Command + NAT Table which is configured on the Router it self ?
Because As far as I know, I understood the following:-
To configure the NAT, I have to:-
1- determine which INTERFACE will act as IP NAT OUTSIDE , usually the one which have the IP from the ISP Side.
2- Determine which INTERFACE will act as IP NAT INSIDE , usually the one which have the IP from the Private LAN.
3- Determine the NAT statement , if its STATIC / dynamic /overloading .
4- Determine the Route command .
3- Here is Step 4 , I can make rule to forward every thing from INTERNAL to EXTERNAL or from EXTERNAL to INTERNAL , according to My Design Requirements.
So, from the NAT Command + Route Command , I can make the NAT From External to Internal , or, from Internal to External . is that correct ?

Nat works different depending on the direction that traffic is flowing. The point it makes its routing selection will be before or after the nat depending on direction.
This is a good link that describes how nat works in relationship to routing.
http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080133ddd.shtml
For the case of using nat in a ISP environment you want your default route pointing to the outside interface. From the ISP point of view they will only have the addresses you have in the NAT table. They know nothing about your internal network. Depending on how many addresses you have the ISP will just have routes for these addresses and they will all be sent to your router. If you have only 1 then all the traffic appears to come from the router itself.
After it gets to your router this is where the direction of nat traffic matters. When the traffic comes back the address is translated from the public ones to your private ones. Since you may have multiple interfaces on your router that are NAT inside interfaces the router does not know where to send the packet until after it converts it. This is why when traffic goes from outside to inside the translation is done before the lookup.

Similar Messages

  • HELP-LAST-QUESTION - FOR - NAT

    Dear All,
    I was reading my NAT Design Paper, because I am going to Implement NAT in My Company.
    Now, I want to ask you for only the Process of Static NAT , to allow External Users ? on internet side ? to ? access a specific server inside my LAN.
    Which is the things that determine this NAT will Work from External to Internal , or Internal to External ?
    Please answer the 3 questions .
    1- Is it the Route command that I configured on the router it self , only ?
    Or,
    2- Is it the Route Command + NAT Table which is configured on the Router it self ?
    Because As far as I know, I understood the following:-
    To configure the NAT, I have to:-
    1- determine which INTERFACE will act as IP NAT OUTSIDE , usually the one which have the IP from the ISP Side.
    2- Determine which INTERFACE will act as IP NAT INSIDE , usually the one which have the IP from the Private LAN.
    3- Determine the NAT statement , if its STATIC / dynamic /overloading .
    4- Determine the Route command .
    3- Here is Step 4 , I can make rule to forward every thing from INTERNAL to EXTERNAL or from EXTERNAL to INTERNAL , according to My Design Requirements.
    So, from the NAT Command + Route Command , I can make the NAT From External to Internal , or, from Internal to External . is that correct ?

    Hi!
    Good Day! I believe this would best answer your questions. Please check this link:
    http://www.cisco.com/en/US/products/sw/iosswrel/ps1839/products_feature_guide09186a0080087bae.html
    To verify, you can use "show ip nat translations" to display all ip address translations.
    HTH! Regards,
    Albert

  • Sorry last question got knocked back my ipad and iPhone on two different levels and I am not able to play through Facebook so not able to progress or unlock next level through Apple store. Don't know how to resolve problem

    Sorry last question got knocked back my ipad and iPhone on two different levels and I am not able to play through Facebook so not able to progress or unlock next level through Apple store. Don't know how to resolve problem

    Thank you again for all of your help!! I really appreciate it!
    I think I am following -- I was able to upload to my iPhoto and all photos and videos are there that is a plus! I tried to create an Event in my iPhoto and put all of my photos in that event but for some reason, now my iTunes it not recognizing that Event in my iPhoto. It is not allowing me to import just that event at the moment but I may be doing something wrong. At least all of my pics and vids are in iPhoto so that is a plus and I know they are at least saved somewhere. Just for some reason, my iTunes it not locating the event that I created with only those photos.
    Thank you for letting me know about my contacts! How do I know if I have the contacts app?
    Also, I had no clue that my iCloud could be backed up via cellular data! However, is this a new feature with the most updated iOS?? Unforutnatly I am like 2 iOS updates behind because I don't have enough storage on my phone. I still get the notification that my phone needs to be plugged in and connected to wifi in order to back up to the cloud :-(
    How can I sync using USB? Right now when i click on the info tab for my iPhone in my iTunes this is the answer that I get -- I am a little unclear as to what it means.
    Sync Contacts:
    Your contacts are being synced with you iPhone over the air from iCloud. Over-the-air sync settings can be changed on you iPhone
    Sync Calendars:
    Your calendars are being synced with you iPhone over the air from iCloud. Over-the-air sync settings can be changed on you iPhone

  • Thanks for the idea. One last question..

    Thanks for the replies, setting it to passive seemed to work
    as I can now upload to my host. Just one last question, I've
    searched the video knowledge base looking for a video on how to use
    the 'Starter Pages' within Dreamweaver to no avail. When I try I
    always get the same message: 'Dreamweaver stores templates in the
    root folder of a site, but there are no sites defined. Please add a
    site.' I have my site all layed out in Dreamweavers FTP, I can
    upload and download with it and still Dreamweaver gives me this.
    Any ideas?
    Thanks once again all

    Using FTP & RDS Server for your site means that you will
    not be able to use
    DW's Templates or Library items. It's usually a very bad
    idea, to boot.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "John Waller" <[email protected]>
    wrote in message
    news:g1a9mi$qtn$[email protected]..
    > F1 Dreamweaver Help files
    >
    > Working with Dreamweaver Sites > Setting up a
    Dreamweaver site
    >
    > --
    > Regards
    >
    > John Waller

  • What is the last question at the end of auto-updates? "Allow" what? (I clicked on "Done" too fast.)

    Hi, I installed an auto-update today, lazily clicked on "Done" at the end without taking the time to read the last "pop-up" dialog box. I saw options about "allowing" something but I did not get a chance to read the question before it disappeared. What was that last question???

    replying to JS1111
    Now I only get one HKEYLOCALMACHINE\Software\
    QuicktimePlayerLib.QuicktimePlayerApp\CLSID.
    some folks have been having some success with pgfpdwife's technique in the following post:
    pgfpdwife: Re: Could not open key HKEYLOCALMACHINE\Software\Classic\Quicktime.Quicktime\
    note carefully that the technique involves a registry edit. be sure to make a backup of any keys you edit. if you're unfamiliar with your registry or registry editing, head to your XP help and support, do a search on registry, and read through the articles that come up.
    There are also some instructions on how to back up registry keys in the following document:
    Error 1406 or 1402 appears when you install iTunes or QuickTime for Windows

  • Tabs only open in a new window. Ctl T opens a new window NOT a new tab help-last update this problem started. How do I set FF back to open tabs in 1 window

    Tabs only open in a new window. Ctl T opens a new window NOT a new tab help-last update this problem started 2 days ago. How do I set FF back to open tabs in 1 window?
    There is no plus sign and going into optins and changing settings has not worked. I have uninstall FF and reinstall-keeping my personalization-and that was no help.
    Right clicking on FF Icon to open a new tab, or going up to FF drop down tab and clicking on new tab both do not work.
    Help everything opens a new window not a new tab. there seems to be no way to reset this or to chose a different optin. I just downloaded new tabs at end addon and it didn't do a thing.

    as a first troubleshooting step - does it work like normally when you open & run firefox in [[Safe Mode|safemode]] by pressing the shift key while you open firefox (all other instances have to be closed before)...

  • HT1660 I called in for help last week to move my Itunes files to my new laptop.  I am about 71 songs short of what is in my library on my old computer.  I keep trying to download the Purchased music that is "not in my library" and i recieve an error messa

    I called in for help last week. I am trying to move my library from my old compurter (PC)to my new laptop.  I am 71 songs short.  I go to itunes, they to purchased, then click on "not in my library" then hit download.  I keep getting an error message that says "this is not available try again later".  Any suggestions?

    Hello 8175405345,
    We've an article which provides tips that can help get your content downloading from the iTunes Store.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Cheers,
    Allen

  • Details for last question I post

    the original code for last question I post(about the DataInputStream& EOFException) is here, thanks if anyone will bother to read it
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.* ;
    public class MasterMindServer
         public MasterMindServer()
              try{
                   ServerSocket serverSocket=new ServerSocket(8000);
                   Socket socket=serverSocket.accept();
                   HandleAClient thread=new HandleAClient(socket);
                   thread.start();
                   }catch(IOException e){System.out.println("Error:"+e.toString());}
         public static void main(String args[])
              new MasterMindServer();
    //inner class
    class HandleAClient extends Thread
         DataOutputStream out;
         DataInputStream in;
         BufferedReader fromFile;
         private Socket socket;
         String line;
         public HandleAClient(Socket socket)
              this.socket=socket;
         public void run()
              int x,o;
              try{
                     out=new DataOutputStream(socket.getOutputStream());
                   in=new DataInputStream(socket.getInputStream());
                   fromFile=new BufferedReader(new FileReader("colorcode.txt"));
                  while((line=fromFile.readLine())!=null)
                    for(int i=0;i<10;i++)
                      String t=in.readUTF();
                      x=check_column(t);
                       System.out.println(x);
                       o=check_color(t);
                       System.out.println(o);
                       out.writeInt(x);
                       out.writeInt(o);
                       if(x==6) break;
                     out.writeUTF(line);
                   socket.close();
                   System.out.println("close");
             }catch(IOException e){
             System.out.println("Error:"+e.toString());}
         public int check_column(String s)
              String str;
              str=s;
              int count=0;
              for(int i=0;i<6;i++)
                   if(s.charAt(i)==line.charAt(i))
                   count++;
              return count;
         public int check_color(String s)
              String str;
              str=s;
              int count=0;
              for(int i=0;i<6;i++)
                   if((line.indexOf(s.charAt(i))!=-1)&&(line.charAt(i)!=s.charAt(i)))
                   count++;
              return count;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.* ;
    public class MasterMindClient extends JFrame implements MouseListener,ActionListener
      /** Default constructor */
      //keep track of the row (or trial) and column number
      int trial_num, col_now ;
      Socket socket;
      int count[]={5,5,5,5,5,5};
    JPanel A[]  = new JPanel[10];
      JPanel B1[] = new JPanel[10];
      JPanel B2[] = new JPanel[10] ;
      JPanel notice = new JPanel() ;
      JPanel sub_notice = new JPanel();
      JPanel D1, D2 ;
      static JTextField [][]color = new JTextField[10][6] ;
      static JTextField [][]Output = new JTextField[10][2];
      static JTextField [][]Answer = new JTextField[1][6] ;
      static JButton []ok = new JButton[10];  
      JLabel L1 = new JLabel("Click the textfield to change color");
      JLabel L2 , L3, L4 ;
      String colorRange="BCGRYW";
      Color colorName[]={Color.black,Color.cyan,Color.green,Color.red,Color.yellow,Color.white};
      String temp ;
    public MasterMindClient() {
        // initialize
        trial_num = 0;
        col_now = 0;
        //sub_notice is Panel where the heading labels are placed
        sub_notice.setLayout(new GridLayout(1,3)) ;
        L2 = new JLabel("  ") ;
        L3 = new JLabel("X");
        L3.setHorizontalAlignment(JTextField.CENTER);
        L4 = new JLabel("O");
        L4.setHorizontalAlignment(JTextField.CENTER);
        L3.setToolTipText("matching color and column");
        L4.setToolTipText("matching color but not matching column" );
        sub_notice.add(L2);
        sub_notice.add(L3);
        sub_notice.add(L4);
        notice.setLayout(new GridLayout(1,2)) ;
        notice.add(L1) ;
        notice.add(sub_notice) ;
        // Get the content pane of the frame
        Container c = getContentPane();
        // Set GridLayout, 4 rows, 3 columns, and gaps 5 between
        // components horizontally and vertically
        c.setLayout(new GridLayout(12, 1, 5, 5));
        c.add(notice);
         JPanel Display = new JPanel() ;
         Display.setLayout(new GridLayout(1,2,5,5)) ;
       //create a Panel for each row to accept use input
       // color[][] textfield is where the user input
       // Output[][] is where to display the number of X and O
        for (int i = 0; i <= A.length-1 ; i++)
        A[i] = new JPanel() ;
        A.setLayout(new GridLayout(1, 2,10,10));
    B1[i] = new JPanel();
    B1[i].setLayout(new GridLayout(1,6,5,5)) ;
    B2[i] = new JPanel();
    B2[i].setLayout(new GridLayout(1,3,5,5)) ;
    for (int j = 0; j <= color[i].length-1 ; j++)
    color[i][j] = new JTextField() ;
    color[i][j].setHorizontalAlignment(JTextField.CENTER);
    if (i == 0)
    {color[i][j].setEditable(true) ;
    else
    {color[i][j].setEditable(false);
    color[i][j].addMouseListener(this);
    B1[i].add(color[i][j]) ;
    } // j loop
    ok[i] = new JButton("SEND");
    if(i==0)
         ok[i].setEnabled(true);
    else
         ok[i].setEnabled(false);
    ok[i].addActionListener(this);
    B2[i].add(ok[i]) ;
    Output[i][0] = new JTextField();
    Output[i][1] = new JTextField();
    Output[i][0].setEditable(false);
    Output[i][1].setEditable(false);
    Output[i][0].setHorizontalAlignment(JTextField.CENTER);
    Output[i][1].setHorizontalAlignment(JTextField.CENTER);
    B2[i].add(Output[i][0]);
    B2[i].add(Output[i][1]);
    A[i].add(B1[i]);
    A[i].add(B2[i]) ;
    c.add(A[i]) ;
    } //for i loop
    //D panel is where we store the answer[][]
    D1 = new JPanel();
    D1.setLayout(new GridLayout(1,6)) ;
    D2 = new JPanel();
    D2.setLayout(new GridLayout(1,2)) ;
    for (int j = 0; j <= Answer[0].length-1 ; j++)
    Answer[0][j] = new JTextField(0) ;
    Answer[0][j].setHorizontalAlignment(JTextField.CENTER);
    Answer[0][j].setEditable(false) ;
    D1.add(Answer[0][j]) ;
    Display.add(D1) ;
    Display.add(D2) ;
    c.add(Display) ;
    public void runClient()
         try
    {      socket=new Socket("localhost",8000);
    DataInputStream in=new DataInputStream(socket.getInputStream());
    int x=0;
    int o=0;
    try{
    while(true)
         while(trial_num<10)
              x=in.readInt();
              //System.out.println(x);
              Output[trial_num][0].setText(String.valueOf(x));
              o=in.readInt();
              //System.out.println(o);
              Output[trial_num][1].setText(String.valueOf(o));
              for(int i=0;i<6;i++)
              color[trial_num][i].setEnabled(false);
         ok[trial_num].setEnabled(false);
         trial_num++;
         col_now=0;
         if(x==6)
                   JOptionPane.showMessageDialog( null, "Congratulation, you've won the game !! " );
                   //ok[trial_num].setEnabled(false);
    break;
         if(trial_num<10)
         {  for(int i=0;i<6;i++)
              color[trial_num][i].setEditable(true);
              count[i]=5;
         ok[trial_num].setEnabled(true);
         if(x!=6)
         {  JOptionPane.showMessageDialog( null, "sorry you did not win the game");
         temp=in.readUTF();
         System.out.println(temp);
         //temp=in.readUTF();
         //System.out.println("can");
         for(int i=0;i<6;i++)
         System.out.println(i);
         char a=temp.charAt(i);
         int index=colorRange.indexOf(String.valueOf(a));
         Answer[0][i].setBackground(colorName[index]);
         trial_num=0;
         for(int j=0;j<10;j++)
         for(int k=0;k<6;k++)
         color[j][k].setBackground(Color.white);
         for(int j=0;j<10;j++)
         for(int k=0;k<2;k++)
         Output[j][k].setText(null);
         for(int i=0;i<6;i++)
              color[trial_num][i].setEditable(true);
              count[i]=5;
         ok[0].setEnabled(true);
         catch(EOFException em){}
         }catch(IOException ex){
              System.out.println("Error:"+ex.toString());}
    public void mouseClicked(MouseEvent e)
    for(int i=0;i<6;i++)
         if(e.getComponent()==color[trial_num][i])
         {         col_now=i;
         break;
    count[col_now]=(count[col_now]+1)%6;
    color[trial_num][col_now].setBackground(colorName[count[col_now]]);
    public void mouseEntered(MouseEvent e)
    public void mouseExited(MouseEvent e)
    public void mouseReleased(MouseEvent e)
    public void mousePressed(MouseEvent e)
    public void actionPerformed(ActionEvent e)
         try{
              send();
         }catch(IOException et){System.out.println("Error:"+et);}
    public void send()throws IOException
         DataOutputStream out=new DataOutputStream(socket.getOutputStream());
         char cbuf[]=new char[6];
         for(int i=0;i<6;i++)
              cbuf[i]=colorRange.charAt(count[i]);
    System.out.println(cbuf);
         out.writeUTF(new String(cbuf));
    /** Main method */
    public static void main(String[] args) {
    MasterMindClient frame = new MasterMindClient();
    frame.setTitle("Master Mind");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setLocation(300,300) ;
    frame.setSize(450, 450);
    frame.setVisible(true);
    frame.runClient();
    } // end of class

    I notice that you have several hundred lines of GUI code there. None of them have anything to do with the problem you are trying to solve. So put them all aside and write a SMALL test program that does nothing but the little loop you are having a problem with. Shouldn't be more than 20 lines of code.

  • One last question about apple tv!! viewing movies in movies folder

    thanks to those who have responded to my previous questions.
    thinking of buying an apple TV this weekend, but here's my last question (which I just thought of!)
    i've got a collection of movies in various formats, usually .mov or .dv of home videos i've made in FCE and iMovie over the years, some of them several GB in size (oops!)
    what's the best way of viewing these on the apple tv. for instance
    1. does apple TV let you look into your 'movies' folder in the home folder to play any movies it finds there
    2. will it play .dv or .mov files, or does it need to be a specific format
    3. i've noticed an 'export to apple tv' in quicktime pro, do i need to do this for all my movies before apple tv will play them. and after i do an 'export to apple tv' where do the files need to be? imported into itunes, or just sat in my 'movies' folder?
    cheers, looking forward to visiting the apple store tomorrow!

    1. does apple TV let you look into your 'movies' folder in the home folder to play any movies it finds there.
    No, the tv uses itunes for its source of movies.
    2. will it play .dv or .mov files, or does it need to be a specific format
    DV, no. MOV, maybe. MOV is a container type not a compression type, if the MOV container has the correct compression formats in it then it will play. Movies for the tv need to be either mpeg4/2 or mpeg4/10 (H264/AVC)
    3. i've noticed an 'export to apple tv' in quicktime pro, do i need to do this for all my movies before apple tv will play them. and after i do an 'export to apple tv' where do the files need to be? imported into itunes, or just sat in my 'movies' folder?
    Yes 'export to tv' will do the job for you. You need to be aware though that DV with the wrong field dominance will cause it a problem, and some cameras do use the wrong field dominance. It won't work with muxed files (mpeg2 for example) and on SD movies it can be a little wasteful on space. I've always used mpegstreamclip to convert from DV.
    Of course from now on you'll be using FCE with this in mind and exporting accordingly.

  • One last question about Apple IDs

    I thought id asked the lot but there is one last question. How does one delete an Apple ID?
    Many thanks again
    Anthony

    Hello Again Anthony!
    "How does one delete an Apple ID?"
    You can't.
    After you quit using an account, it's posts, will be archived. What that means is, that if there are no additional responses in the Threads they reside in, the Topics will get continually pushed down on the Topics list. After a certain amount of time, maybe 2 to 6 months, the Threads will be locked, so no responses can be entered. But the Threads will not disappear.
    Threads in heavily trafficked Forums, may be archived more rapidly than those in areas, with less activity.
    The Topics that you started using the account, will show your the Alias, in the Author field of a main forum page, but eventually, readers will have to keep going to the succeeding pages to view them.
    If someone were to do a Discussions Search, using these parameters:
    Restrict by Category or Forum: All Categories
    Restrict by Date Range: All
    Restrict by Username: Your Old Alias
    all of your posts, created since about 11/13/05, would be found.
    ali b

  • RoboDemo skipping last question

    Well, we still have a few RoboDemo files that we are still
    updating using RoboDemo. But, the OS on my computer was upgraded to
    XP and my copy of RoboDemo was removed. I have a couple of RoboDemo
    5 cds (different builds) but they are all having an issue with the
    questions, where it just skips the last question. The Display score
    at end of movie checkbox is checked. So, for instance if I have 20
    questions, after the 19th question, the question stats (# wrong, #
    correct) comes up. The build that I have installed right now is
    Version 5 Build 760.
    I would appreciate any RoboDemo expertise out there.
    Thanks.

    The last version of RoboDemo was/is Build #777.
    The change in OS shouldn't have anything to do with it, to
    the extent that WinXP is supported - though other changes made at
    the same time may be impacting the installation of RoboDemo. I
    doubt that is the problem, as it should either work - or not - when
    started, and your installation appears to be working.
    I'll bow out now, as I've already told you what the "fix" is
    (assuming that the correct build is installed). I've worked with RD
    from the beginning of time, so it will surprise me if someone has a
    different fix, but I certainly hope you do have luck in finding
    another solution ...
    ... best of luck.

  • Reinstalling AE and PP due to an error with dynamic link. Where do i find the program install? And tips on how to reinstall without messing things up? last question is, does my recent files and saves work after the reinstall?

    I have allready bought the programs, but need to reinstall AE and PP due to an error with dynamic link.
    Where do i find the program install?
    And tips on how to reinstall without messing things up?
    last question is, does my recent files and saves work after the reinstall?
    Thank you

    karianne wrote:
    I have allready bought the programs, but need to reinstall AE and PP due to an error with dynamic link.
    Where do i find the program install?
    Which versions? Which operating system?
    Try Download and Installation Help

  • Okay, so please disregard my last question.  I had the page set up in vector view.  Hmmmm, ridiculous.

    okay, so please disregard my last question.  I had the page set up in vector view.  Hmmmm, ridiculous.  THanks, though, if you took the time to research my idiocy, I appreciate it.

    So this is not the computer that the device normally syncs with, iTunes is working exactly as designed.

  • Canon HG20 One Last Question

    Before I buy my Canon HG20, I have one last question.
    I have seen warnings various places on the net about having a powerful enough computer to work with the data produced by this camera.
    I have an iMac 24 2.16 2GHz Intel Core 2 Duo with 2 MHz Memory, NVIDIA GeForce 7300 card, running OS X 10.5.6 with FCE 4.0.1.
    Am I OK?
    Thanks,
    Jim

    That is a perfect machine for AVCHD editing. i use a puny Macbook and I have experienced no problems, everything is very fast. To work with AVCHD, you need an Intel processor and to have at least FCE4. 2GB of RAM is also a good idea to have (I assume that's what you meant you had when you said you had "2 MHz Memory"). From what you have said of your specs, I can't foresee any problems. If a Macbook can do it well, you can expect an iMac to do it amazingly.
    Enjoy your new camcorder, I definitely am pleased with my HG21 (basically the same thing, just more memory and a viewfinder).
    Message was edited by: skalicki`

  • Forget the last Question. Figured it out.

    Forget the last Question. Figured it out. Sorry!

    It would be very useful to post your solution here for others who have the same problem (I've seen several threads on this subject).
    Matt

Maybe you are looking for