So, I have a RPi2 with a working OpenVPN server running a Debian based Linux distro, and I would like to know if its possible to redirect a specific (only that one) web-site through a proxy when I'm connect to the OpenVPN outside my local network.
Here is my scenario, I'm at my university using my VPN to bypass their blockage and I want to access that specific web-site (that I'm only able to access trough a proxy server) since I own the VPN why not make it so that I can access it without the need off extra configuration on my computer or smartphone?
Here is my config file:
Code: Select all
local 192.168.1.100
dev tun
proto tcp
port 443
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key
dh /etc/openvpn/easy-rsa/keys/dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig 10.8.0.1 10.8.0.2
push "route 10.8.0.1 255.255.255.255"
push "route 10.8.0.0 255.255.255.0"
push "route 192.168.1.100 255.255.255.0"
push "dhcp-option DNS 192.168.1.1"
push "redirect-gateway def1"
client-to-client
duplicate-cn
keepalive 10 120
cipher AES-128-CBC
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status /var/log/openvpn-status.log 20
log /var/log/openvpn.log
verb 1
Thanks in advance.