Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-10-2013, 10:22 AM
|
#1
|
LQ Newbie
Registered: Dec 2012
Posts: 21
Rep: 
|
PPTPD and Squid proxy Routing
Hello,
I have a pptpd server and a squid server in to the same machine.
I want to send all internet traffic for VPN Clients 172.16.36.0/32 through Squid server
Until now Squid server working ok for internal lan, but only if i set to client the proxy settings.
Also the pptpd working ok. Clients may connect and access the internet normaly but not through Squid proxy.
The Server is a VPS on A KVM node with Bridge networking.
Thanks
|
|
|
02-11-2013, 05:04 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
I don't understand where you want help here. You want the clients to use the server side proxy right? so can they reach it or not? You've not actualyl said anythign about trying to use it once connected on pptp
|
|
|
02-11-2013, 05:16 AM
|
#3
|
LQ Newbie
Registered: Dec 2012
Posts: 21
Original Poster
Rep: 
|
Quote:
Originally Posted by acid_kewpie
I don't understand where you want help here. You want the clients to use the server side proxy right? so can they reach it or not? You've not actualyl said anythign about trying to use it once connected on pptp
|
My clients are able to connect to the PPTPD server and access the internet just fine. But not through the Squid!
Thanks
|
|
|
02-11-2013, 05:20 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
so what does "not through squid" mean? What do your logs say? can you connect to it via telnet from the client?
|
|
|
02-11-2013, 05:26 AM
|
#5
|
LQ Newbie
Registered: Dec 2012
Posts: 21
Original Poster
Rep: 
|
Quote:
Originally Posted by acid_kewpie
so what does "not through squid" mean? What do your logs say? can you connect to it via telnet from the client?
|
The Squid access.log doesnt write anything, but from the client iam able to connect to the internet normal. And yes, i can connect just fine. I forgot to mention that the Squid server is in transparent mode.
Last edited by linuxakias; 02-11-2013 at 05:27 AM.
|
|
|
02-11-2013, 05:48 AM
|
#6
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
hmm, slightly relevant that it's transparent...
so I guess your rewrite rule for squid is only listening on eth1 not pptp0 or whatever the interfaces are?
Transparent proxies suck. You should stop doing it transparently if AT ALL possible.
|
|
|
02-11-2013, 06:16 AM
|
#7
|
LQ Newbie
Registered: Dec 2012
Posts: 21
Original Poster
Rep: 
|
Quote:
Originally Posted by acid_kewpie
hmm, slightly relevant that it's transparent...
so I guess your rewrite rule for squid is only listening on eth1 not pptp0 or whatever the interfaces are?
Transparent proxies suck. You should stop doing it transparently if AT ALL possible.
|
Thats correct ! the ports is eth0 for the squid and pptp0 for clients
Unfortunately i need in transparent mode. Its absolutely necessary for the clients to be up and running at the time connected to the VPN server without extra settings.
|
|
|
02-11-2013, 06:48 AM
|
#8
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
right, so you need to change the iptables rule, right?
no extra settings? You can provide proxy details over DHCP. I've seen so so few instances where things have egnuinely had to be transparent.
|
|
|
02-11-2013, 07:09 AM
|
#9
|
LQ Newbie
Registered: Dec 2012
Posts: 21
Original Poster
Rep: 
|
Yeap thats correct 
|
|
|
All times are GMT -5. The time now is 07:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|