New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How do I route my internet connection from my pc through my VPS using OpenVPN
gowtham101
Member
I am using BuyVM's VPS.
I set up OpenVPN in both the client and my server, but my internet connection is not routed through my VPN, why ?
My Linux routing table
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.8.0.2 * 255.255.255.255 UH 0 0 0 tun0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
default * 0.0.0.0 U 0 0 0 venet0
Windows OpenVPN config
client
remote **************
port 1194
proto tcp
dev tun
dev-type tun
ns-cert-type server
reneg-sec 86400
auth-retry interact
comp-lzo
verb 3
ca ca.crt
cert client1.crt
key cert.key
auth-retry interact
My server config
Comments
add
to the windows openvpn config
Also check if tun/tap has been enabled in SolusVM.
Oh and follow what @TheHackBox said.
@TheHackBox LIFESAVER !! OMG THANK YOU !!!
Haha yeah my bad. Should of paid more attention. Stallion I think has tun/tap already enabled
Do not forget the following in your rc.local
>
>
Let me share my openvpn.conf / server :
And the VPNConfig.ovpn / client :
Create the user and password for loging into the vpn server
Could also use squid through vpn and set it in chrome browser as the web proxy.
Yes, and use Squid 3 if the server is having working IPv6 to surf the IPv6 website
@BoGs
o.O Too much iptables rules, you just need... two of them
And btw, ages ago that I haven't seen a distro with the ip_forward disabled.