![]() You need to circumvent some restrictive firewall (in a school or corporate network).You don’t want to expose your local IP to X or Y website.You trust SSH more than a VPN secured by OpenSSL.You’ve deployed a bunch of management web services (UIs) in a secure network, you have SSH access to the network, but do not want to make those management services publicly available (and a VPN is too heavy to run).You’ve run into the craziest VPN connection issue of your life, but it works fine when you run the VPN from an EC2 instance in the cloud… setup a SOCKS proxy on the EC2 instance to route some of your HTTP traffic thru the VPN (via the SOCKs proxy).There are lots of reasons, here are a few I run into periodically: add localhost and 9999 into SOCKS Host and Port in the form.your-machine-public-ip : IP of your machine from where you are doing SSH. route add -host your-machine-public-ip gw Server-gatway-ip dev eth0. So to avoid this run the following command before connecting VPN. click Settings… next to Configure how Firefox connects to the Internet Once after connecting VPN, ssh getting disconnected because, ssh traffic from the server going via VPN server.There are other ways, but to configure a specific profile: Pass those to chromium when opening it from the shell. This doc has the details, but here they are in short: -proxy-server="socks5://localhost:9999" -host-resolver-rules="MAP * 0.0.0.0, EXCLUDE myproxy" proxy references the host:port we told SSH to use when setting up the tunnel, and curl will send the request thru that tunnel. There are a few ways to tell curl about the tunnel, but for our purposes, the -proxy cli flag will do: ᐅ curl -proxy socks5h://localhost:9999 -v Flint is perfect for heavy-duty data transmission, mass device connectivity or ultra-low latency gaming. It can run VPN encryption speed of up to 667Mbps and host VPN servers. GL.iNet GL-AR750 (Creta) Travel AC VPN Router, 300Mbps(2.4GHz)+433Mbps(5GHz) Wi-Fi, 128MB RAM, MicroSD Storage Support, Repeater Bridge, OpenWrt/LEDE pre-Installed, Power Adapter and Cables Included 4. The simplest test from the command line is to use curl to send an HTTP request through the tunnel. Flint (GL-AX1800) is a dual-band Wi-Fi 6 router with connection speed of up to 600Mbps (2.4GHz) + 1200Mbps (5GHz). OK, with the SOCKS proxy tunnel setup, let’s use it. and even with aggressive tweaking over SSH and the far more appealing Luci. Mudi keeps your Internet connection private with multiple VPN protocols. It’s on by default, but in case you run into issues, check that /etc/ssh/sshd_config has AllowTcpForwarding yes to allow the proxy. GL.iNet GL-MT1300 (Beryl) VPN Secure Travel Gigabit Wireless Router, AC1300 400Mbps (2.4GHz) + 867Mbps(5GHz) Wi-Fi, Pocket-Sized Hotspot, IPv6, Tor, MicroSD Slot, USB3.0 for Wi-Fi Repeater. is the of the remote SSH server you will route HTTP traffic throughĬaveat: ensure AllowTcpForwarding is enabled.localhost:9999 is the host:port on the local end of the tunnel you will point your browser at.-N tells SSH you won’t run a remote, interactive shell, it is useful for tunnels.How do you set this up? Create an SSH tunnel that supports SOCKS5 ᐅ ssh -fN -D localhost:9999 this case: Let’s say that, for one reason or another, you want to open a website in the browser running on your local laptop/desktop, but you want that HTTP traffic to pass through some server/VM running in the cloud.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |