LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Traffic doesn't route through OpenVPN server while connecting by squid (https://www.linuxquestions.org/questions/linux-networking-3/traffic-doesnt-route-through-openvpn-server-while-connecting-by-squid-4175648950/)

excitement 02-24-2019 04:49 AM

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


All times are GMT -5. The time now is 05:06 PM.