LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-19-2017, 02:45 AM   #1
Herzel71
LQ Newbie
 
Registered: Dec 2014
Location: Israel
Distribution: CentOs RHEL
Posts: 8

Rep: Reputation: Disabled
tproxy configure at squid


Hi
my name is herzel and i am trying to configure tproxy at squid to display the ip address i am using to internet and not the ip address of the squid server.
I did read the wiki from the squid web site and acted upon.
the environment i am using is test and i will need to deploy it into producton when test will work and all the subject will be clear to me.
so the server is ubunty 14.04.
squid was compiled with netfilter prefix.
the kernel is new and seems to have built in support in the tproxy. iptables rules where created as the wiki request.
route option had been applied and the sysctl was configured as requested by the wiki.
the client is windows 7 vmware vm and also the server is vmware vm with 2 ethernet adapters.
one of the interfaces connect the windows 7 and one having ip from the built in dhcp server at the router and it is the internet interface.
the server and the client both behind router and all have private ip.
till now the setup.
the problem is when I try to surf with this configuration i get time out.
at the wiki it says it is routing problem.
but digging the logs i do not understand where is my mistake.
can i use this configuration? lets say can i send ip like 10.0.0.2 to be discovered at internet?
is this configuration is legal?
do not i need public ip on all the interfaces?
if not what is wrong.
i will be happy to supply any log or conf file.
please try to help me.
 
  


Reply



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
tproxy implementation on squid Herzel71 Linux - Server 0 09-10-2017 11:46 PM
Squid TPROXY firask317 Linux - Server 4 07-18-2013 12:38 PM
how to enable tproxy mode in squid ?? dr.x Linux - Server 6 02-09-2013 07:09 PM
Tproxy squid issues fahadabdillahi Linux - Server 0 12-17-2010 10:19 AM
Squid, TPROXY and SquidGuard toure32 Linux - Server 3 08-09-2010 09:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:48 AM.

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