LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-18-2015, 08:49 AM   #1
l1nkers
LQ Newbie
 
Registered: Jun 2015
Posts: 4

Rep: Reputation: Disabled
Squid SSL routing traffic


Good day,

I have a setup in which I am routing my received packets at router to my squid server.

I also can see the incoming traffic with Tcpdump that it is actually ariving @ the correct port (443) on Squid Proxy server.

On the next step I have
iptables -t nat -A PREROUTING -p tcp --dport 443 -j DNAT --to 10.0.2.51:3127
(that is all I have on iptable rules)

Which routes the received 443 traffic to port 3127 which is my squid SSL port.

I am getting page not found error on my browser.

Now I know that my Squid is setup correctly, because when I input the proxy server adress manually 10.0.2.51:3127 for SSL in the Mozilla browser all is working great, all SSL pages are logged with SSLbump.

Could someone please help with figuring out why this isn't working correctly, I am quite new to proxies?
 
Old 06-19-2015, 06:00 AM   #2
l1nkers
LQ Newbie
 
Registered: Jun 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
It seems that I solved the problem myself. It turns out you need a Squid Proxy version 3.4 + for transparent SSL, all is working good now.

Except I am having some problems with my logs, all I see is one IP adress.
Aunt google doesn't seem to give me any help with this.

Please help.
 
  


Reply

Tags
squid, ssl


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
Squid Accepting SSL traffic l1nkers Linux - Security 1 06-19-2015 10:45 AM
Trying to decipher HTTPS traffic using Squid's SSL-BUMP doron Linux - Networking 8 01-16-2012 04:12 PM
Routing return traffic based on the NIC of the incoming traffic? adamk75 Linux - Networking 3 12-11-2011 04:27 AM
squid - virus scanning SSL traffic JackDante Linux - Networking 2 12-09-2005 07:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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