LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-24-2019, 04:49 AM   #1
excitement
LQ Newbie
 
Registered: Feb 2019
Posts: 1

Rep: Reputation: Disabled
Question Traffic doesn't route through OpenVPN server while connecting by squid


Setup:

ubuntu server 18.04 with squid installed and working
--> installed openvpn client on ubuntu server


raspberry pi in my home network with openvpn server installed and working (can connect and use connection with any device)


objective:
"anydevice" using HTTP proxy --> external server with squid proxy (openvpn client) ---> RPi (openvpn server with dyn.dns public address) ---> using home internet connection

problem:

if i connect to the squid proxy i can use it and everything works fine... as soon as i establish the openvpn connection the traffic from "anydevice" isn't routed through the openvpn connection or at least i get a timeout error

routing table without openvpn established

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 172.xx.yy.1 0.0.0.0 UG 100 0 0 eth0
172.xx.yy.0 0.0.0.0 255.255.240.0 U 0 0 0 eth0
172.xx.yy.1 0.0.0.0 255.255.255.255 UH 100 0 0 eth0

if futher input is need i will provide asap
thanks
 
  


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
Packet going out of wrong interface due to OS adding cache route - OS trying to route through default route msr1981 Linux - Networking 2 10-11-2017 02:58 PM
Packet going out of wrong interface due to OS adding cache route - OS trying to route through default route msr1981 Red Hat 1 10-09-2017 05:45 AM
OpenVPN Access Server Route All Traffic Through Local Squid Proxy? squidvpn Linux - Networking 1 05-18-2016 05:15 PM
Directing OpenVPN client's traffic through the OpenVPN server mohtasham1983 Linux - Networking 1 01-17-2012 06:44 PM

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

All times are GMT -5. The time now is 06:43 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