sameenp565 0 Posted ... Hello, i am a new user and happily enjoying the great airvpn service i am Using CentOS 6 :My question is ,is it possible to restrict use of AirVPN to Firefox ? meaning i dont want to use VPN connection for other applications, i just want to use AirVPN with Firefox ? is it possible and how Thanks Quote Share this post Link to post
InactiveUser 188 Posted ... Certainly possible but not trivial, it's quite a bit of work. You would needto add the option "route-nopull" to the openvpn config file (preventing openvpn to set a default route)a separate user account (let's call it: vpnuser) to run Firefox etc. (through sudo or su)iptables rules to mark vpnuser's packetsa bash script to create a route for vpnuser, executed whenever the tun0 interface goes updisable reverse path filteringAn example of something like this can be found in this blog post but it's not tailored to CentOS. Another (not very elegant, but much simpler) solution would be:run OpenVPN on another box (could even be a lightweight virtual machine! Also, don't forget to firewall it against non-VPN traffic)ssh into that box: "ssh -D 12345 user@the_other_box" (opening the local port 12345 as a SOCKS proxy)configure Firefox to use the SOCKS5 proxy at 127.0.0.1:12345 (sending Firefox' traffic to the other box which is running OpenVPN) Quote Hide InactiveUser's signature Hide all signatures all of my content is released under CC-BY-SA 2.0 Share this post Link to post
rainmakerraw 94 Posted ... Another reason it would be great if AirVPN offered HTTP and SOCKS5 proxies! So much simpler. Quote Share this post Link to post