Linux Blog

Reverse Proxy with ModProxy

Filed under: Linux Software — TheLinuxBlog.com at 3:30 am on Wednesday, February 2, 2011

Reverse Proxy with Mod Proxy

Mod proxy is a versatile module for apache that has many uses. One of its many uses is the reverse proxy feature. Lets say you have multiple web servers behind a router and want to give the outside world access to each server. Your router can only open port 80 for one host, but with modproxy you can direct users to different servers depending on which sub domain or directory they are requesting. This also works for external sites that may not be on your private network.

Hit the jump to see how.

(Read on …)

Setting up a VPN with pptpd

Filed under: General Linux,Linux Software — TheLinuxBlog.com at 9:00 am on Wednesday, January 19, 2011

Setting up a VPN with pptpd One of the things that was on my whiteboard for some time was to set up a VPN for home use. Sure, I can do some remote SSH port forwarding, use ssh as a proxy or perhaps even use some Linux Tunneling Techniques but they’re not quite the same as a full blown VPN. You can use the VPN for access to remote services, to secure communications on untrusted networks or use it for mobile devices. Whatever your use its easy to set a VPN up with pptpd that can be used with your mobile and remote devices. (Read on …)

Linux Tunneling Techniques

Filed under: Linux Software — TheLinuxBlog.com at 4:59 am on Wednesday, November 10, 2010


Video completely unrelated.
Ever tunneled or used tunneling for mobile Internet? Perhaps you have needed to otherwise tunnel to bypass a restrictive firewall or for a secure channel on an insecure wireless network. It seems that everyone knows how to tunnel using the ssh socks support and how to use Firefox’s about:config screen to set it to use a socks and remote DNS. While this is great for occasional web browsing it only takes you so far.

tsocks is a great application to let you tunnel other programs over socks. Its easy to install on most distributions and allows you to use many command line applications. I’ve used it on a number of occasions successfully and while it does its job its not the the best solution. This is because it was last updated in 2002 and doesn’t perform DNS lookups. I found myself using it to SSH to an IP address (memorized, or looked up through another SSH session) and using applications on the remote server.

proxychains is a bit of a better tunneling solution, it works the similarly to tsocks but It also resolves DNS and can chain multiple proxies. I’ve used it on numerous occasions with great success. ssh, lynx, lftp, irssi and a whole bunch of others work without any problems. Another plus is it has also been updated in the last 5 years (but not by much.)

One application I haven’t yet had the pleasure of trying on the desktop is 3proxy. I have used it on the iPhone but ended up using the ssh socks method more often. From its yum description and feature list, it sounds very promising and one definitely worth looking into.

Speaking from experience I know its kind of difficult to browse your distributions web repositories to find the files you need and install them (I had to do this since I didn’t have them) so I recommend you download these applications and save yourself some time before you need them on the road.