Re: passing origin through nat?

From: Nathan Kinkade (nkinkade_at_ub.edu.bz)
Date: 10/04/04

  • Next message: Kevin D. Kinsey, DaleCo, S.P.: "Magical HDD Space Doubling! <wonky bsdlabel?>"
    Date: Mon, 4 Oct 2004 10:48:42 -0600
    To: Anthony Philipp <philipp1@lupin.angrypanda.net>
    
    
    

    On Mon, Oct 04, 2004 at 03:29:38AM -0500, Anthony Philipp wrote:
    > Hello,
    >
    > When I log in to my computer from a remote location, it still says
    > that I am coming from my nat box. Is it possible to have my nat box
    > forward where I am logging in from? I would also like to be able to
    > forward where apache connections are coming from. Right now all the
    > logs say is that their coming from my nat box. So if anyone knows how
    > to solve this that would be great.
    >
    > Thanks Anthony Philipp

    The only way that I can think of that you may be able to have your sshd
    box know your non-NATed IP address, or hostname, would be to have the
    ssh client set an environment variable when you first login. You could
    then consult that variable as needed. Check the sshd man page. Here is
    a snip:

    Additionally, ssh reads $HOME/.ssh/environment, and adds lines of the
    format ``VARNAME=value'' to the environment if the file exists and if
    users are allowed to change their environment. See the
    PermitUserEnvironment option in sshd_config(5).

    I doubt that you will be able to find an acceptable resolution to your
    question regarding Apache logging.

    Nathan

    -- 
    PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=get&search=0xD8527E49
    
    


    • application/pgp-signature attachment: stored

  • Next message: Kevin D. Kinsey, DaleCo, S.P.: "Magical HDD Space Doubling! <wonky bsdlabel?>"

    Relevant Pages

    • Re: [fw-wiz] iChat A/V and Cisco PIX 501 (6.3)
      ... implement a solution to accommodate DHCP clients in my environment? ... How If I was setting this up in an office environment (which I ... IP that I have available as a global address for NAT. ... >> through the Internet and through a friends Linksys router to their ...
      (Firewall-Wizards)
    • Re: routing and pinging
      ... How did you set up IP addresses for this environment? ... My guess would be that there is a problem with routing (probably on NAT ... You should probably add route for client east subnet that point ... from client east where x.x.x.x is IP address of NAT router west? ...
      (microsoft.public.windows.server.networking)
    • SMS 2003 and NAT firewall
      ... Planning and Deployment Guide documents are mute about SMS operations in a NAT ... How does the SMS site servers behaves in a NAT environment? ...
      (microsoft.public.sms.setup)
    • SMS 2003 and NAT firewall
      ... Planning and Deployment Guide documents are mute about SMS operations in a NAT ... How does the SMS site servers behaves in a NAT environment? ...
      (microsoft.public.sms.admin)
    • SMS 2003 and NAT firewall
      ... Planning and Deployment Guide documents are mute about SMS operations in a NAT ... How does the SMS site servers behaves in a NAT environment? ...
      (microsoft.public.sms.misc)