Connecting to internet with OpenVPN through proxy

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
milosr
OpenVpn Newbie
Posts: 1
Joined: Fri Apr 07, 2017 6:31 am

Connecting to internet with OpenVPN through proxy

Post by milosr » Fri Apr 07, 2017 6:46 am

Hi !

I have estabilished connection from my workplace to my home PC using OpenVPN and this part works. I had to use port 443 because of my work network restrictions. Now i don't know how to enable it to route internet traffic and how to tell to my work PC to use TAP network adapter for internet instead of network card.

My config files:
Server Config
proto tcp-server
port 443
dev tun
ifconfig 10.8.0.1 10.8.0.2
secret static.key
push "redirect-gateway def1"
push "dhcp-option DNS 10.8.0.1"

Client Config
proto tcp-client
http-proxy 172.20.3.100 8080
remote x.x.x.x:443
dev tun
ifconfig 10.8.0.2 10.8.0.1
secret static.key
Please help !

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Connecting to internet with OpenVPN through proxy

Post by TinCanTech » Fri Apr 07, 2017 11:18 am


Post Reply