+ Post New Thread
Results 1 to 4 of 4
*nix Thread, Destination NAT in Technical; I've setup a server to be a proxy for the network with two interfaces a external one and a internal ...
  1. #1

    Join Date
    Jan 2007
    Location
    Durham, UK
    Posts
    328
    Thank Post
    33
    Thanked 17 Times in 12 Posts
    Rep Power
    20

    Destination NAT

    I've setup a server to be a proxy for the network with two interfaces a external one and a internal one. Im using destination nat on iptables to allow traffic in for web servers and stuff but the problem is in all the logs im getting the proxy ip for the accessing client which isnt ideal.

    How can i fix this so it shows the real ip to the webserver

    Thanks
    Jack

  2. #2

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    You can't, AFAIK.

  3. #3

    Join Date
    Jan 2007
    Location
    Durham, UK
    Posts
    328
    Thank Post
    33
    Thanked 17 Times in 12 Posts
    Rep Power
    20
    Smoothwall could do it or something similar where it could destination nat and the ip was fine in the logs. Might not be the same.

    Is there any way to accomplish that.

    Jack

  4. #4

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    The logging engine on your web server doesn't know where the original request came from, because your proxy mangles it. If you want to log them, either log it on the proxy or have it mangle the user agent or something to show the IP in there.

SHARE:
+ Post New Thread

Similar Threads

  1. Re-Directing ISA destination sets
    By acrobson in forum How do you do....it?
    Replies: 1
    Last Post: 27th June 2007, 06:39 AM
  2. NAT ntfs
    By mudcow007 in forum Hardware
    Replies: 2
    Last Post: 4th June 2007, 09:35 AM
  3. Copy a file to many destination folders.
    By fooby in forum Windows
    Replies: 1
    Last Post: 14th June 2006, 02:18 PM
  4. Setting up NAT using IPTABLES
    By ChrisH in forum *nix
    Replies: 23
    Last Post: 9th November 2005, 01:54 PM
  5. Recommend NAT box please
    By mark in forum Wireless Networks
    Replies: 21
    Last Post: 13th September 2005, 08:01 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •