Basically I have OpenVPN server and I would like to configure it so that clients that connect to OpenVPN are then connected to the Tor network on the server are able to browse hidden services and access clearnet via exit nodes. Is this possible, if so how? I am now running OpenVPN and Tor on CentOS.
You will probably need to create a transparent proxy (which uses socks to forward traffic via Tor), and have traffic routed through that. You will also need to do something funky with DNS, to stop clearnet DNS traffic leaking out of your VPN server.
So it's technically possible, but difficult. Some other systems exist which do this, for example http://onionwrt.link/ - it's not clear how they achieve this. NB: I don't fancy running their install script as root on my own device
simple setup openvpn on local ip address eg. 10.10.10.1:1194 setup squid>>>privoxy>>>tor combination that open squid as vpn ip service eg. 10.8.8.1:3128 make a squid /etx/squid/tor.url config tell your browser to use squid on 10.8.8.1:3128 start openvpn --config client.ovpn start browser over squid