Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-16-2005, 12:46 PM   #1
Registered: Oct 2004
Location: Germany
Distribution: Slackware
Posts: 158

Rep: Reputation: 30
Transperant Proxy and web server on one machine = issue ...

Well here's my situation. I have setuped an iptables firewall + transperant proxy on my local router (Slackware 10). Then I installed apache web server on the same box. But ... now when someone from the internal network browses the web server i.e. his ip is the same as the servers ip .... ... and so in the apache log files every single machine (from network who browses the web server is with the same ip ... as the server because its gettin through the transperant proxy ... Is there an option in squid or rule in the firewall ...when someone tries from the internal network to browse http://internalserver.lan for example.... to avoid the transperant proxy and get to it directly ???

Thanks in advance ......

Last edited by sys7em; 06-16-2005 at 01:07 PM.
Old 06-16-2005, 03:12 PM   #2
Registered: Sep 2002
Location: lahore pakistan
Distribution: slackware,redhat, FreeBSD,openbsd
Posts: 219

Rep: Reputation: 30
to avoide redirection for specific webserver or client , add a rule before the redirection one
you just need

iptables -t nat -I PREROUTING -d -j ACCEPT
Old 06-16-2005, 03:29 PM   #3
Registered: Oct 2004
Location: Germany
Distribution: Slackware
Posts: 158

Original Poster
Rep: Reputation: 30
10x m8. That's the thing I needed



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
transperant proxy not working saugato Linux - Security 3 03-16-2005 01:30 PM
Single Web Server Do I Really Need To Proxy ?? wylie1001 Linux - Networking 3 08-22-2004 09:27 PM
Proxy web server RH9 deWin Linux - Software 4 04-26-2004 06:23 PM
Will this machine do for a web server? TheSwine Linux - General 6 01-05-2004 08:14 PM
Sharing Proxy server by another Linux machine to configure sendmail joson Linux - Networking 7 12-16-2003 02:05 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration