Be your own VPN provider with OpenBSD
11–20 of 63 posts
Re: Be your own VPN provider with OpenBSD
#12If anyone's ever looking for an even quicker hack, ssh has built-in the ability to act as a SOCKS5 proxy, tunneling your traffic over ssh to whatever remote machine you might have access to: $ ssh -D 1080 myserver.myhost.net Then configure Chrome or Firefox or whatever to use a SOCKS5 proxy on localhost, port 1080. (N.B. that this does not tunnel DNS lookups by default.) The OpenVPN-based route is the way to go for s…
In firefox you want to go to about:config page and turn on network.proxy.socks_remote_dns
Re: Be your own VPN provider with OpenBSD
#13If anyone's ever looking for an even quicker hack, ssh has built-in the ability to act as a SOCKS5 proxy, tunneling your traffic over ssh to whatever remote machine you might have access to: $ ssh -D 1080 myserver.myhost.net Then configure Chrome or Firefox or whatever to use a SOCKS5 proxy on localhost, port 1080. (N.B. that this does not tunnel DNS lookups by default.) The OpenVPN-based route is the way to go for s…
Re: Be your own VPN provider with OpenBSD
#14https://github.com/Nyr/openvpn-install
You can turn off logging on the server with
/etc/openvpn/server.conf
log /dev/null
status /dev/null
Remember to restart the openvpn service after that.That said, this wouldn't deal with the VPS provider's logging etc.
Re: Be your own VPN provider with OpenBSD
#15I've been considering running all my mobile data through a VPN for better security, and saving all of it so I can analyze anything after the fact. Anyone doing anything like this?
Keeping a VPN connection alive doesn't do the battery any favors, and bringing up a VPN connection isn't that fast to do it on-demand.
(I bet the roaming between wifi and cellular data could be a problem, though.)
Re: Be your own VPN provider with OpenBSD
#16If anyone's ever looking for an even quicker hack, ssh has built-in the ability to act as a SOCKS5 proxy, tunneling your traffic over ssh to whatever remote machine you might have access to: $ ssh -D 1080 myserver.myhost.net Then configure Chrome or Firefox or whatever to use a SOCKS5 proxy on localhost, port 1080. (N.B. that this does not tunnel DNS lookups by default.) The OpenVPN-based route is the way to go for s…
network.proxy.socks_remote_dns
which you can toggle to prevent DNS leakage.Re: Be your own VPN provider with OpenBSD
#17If anyone's ever looking for an even quicker hack, ssh has built-in the ability to act as a SOCKS5 proxy, tunneling your traffic over ssh to whatever remote machine you might have access to: $ ssh -D 1080 myserver.myhost.net Then configure Chrome or Firefox or whatever to use a SOCKS5 proxy on localhost, port 1080. (N.B. that this does not tunnel DNS lookups by default.) The OpenVPN-based route is the way to go for s…
See "-w" option
Here are a few guides. This is more involved than just adding the -D option and setting a "proxy" field in some applications but this is more general as well:
http://sleepyhead.de/howto/?href=vpn
Re: Be your own VPN provider with OpenBSD
#18I use it along with the openvpn ios app on my phone when I'm on corporate wifi, or I connect to it with my laptop any time I'm in a coffee shop. Just note it's meant to tunnel traffic to a "safe" network, not anonymize you on the internet.
1. https://github.com/stephen-mw/raspberrypi-openvpn-auto-insta...
Re: Be your own VPN provider with OpenBSD
#19If anyone's ever looking for an even quicker hack, ssh has built-in the ability to act as a SOCKS5 proxy, tunneling your traffic over ssh to whatever remote machine you might have access to: $ ssh -D 1080 myserver.myhost.net Then configure Chrome or Firefox or whatever to use a SOCKS5 proxy on localhost, port 1080. (N.B. that this does not tunnel DNS lookups by default.) The OpenVPN-based route is the way to go for s…
sshuttle --dns -r root@XX.XX.XX.XX 0/0 --exclude 192.168.0.0/9
Exclude as used here stops local addresses being tunneled.Re: Be your own VPN provider with OpenBSD
#20https://pritunl.com https://medium.com/pritunl-tutorials/pritunl-tutorial-ed50a5...