HTTP Tunnel

My Webmin server is in the USA and I wanted to know if it is possible to use my server as a proxy server so that when I am in France my internet traffic goes through my USA server. I noticed that Webmin includes an HTTP Tunnel so I thought that, perhaps, this functionality is already running on my server? (although HTTP Tunnel seems very slow).

If I need to set up proxy server software, perhaps you could make a suggestion?

Thanks, Martyn

Status: 
Closed (fixed)

Comments

I'd recommend using Squid as a proxy - it is available on all Linux distributions, and there is a Webmin module for configuring it.

I tried to install the module, but it won't let me because my Webmin is version 1.660. How do i update Webmin? Some documentation online (http://www.webmin.com/updates.html) says: " To have updates installed automatically, go to the Webmin Configuration module, click on Upgrade Webmin and use the form in the Update Modules section." BUT there is no such option in my Webmin administration.

It sounds like Webmin may not have been updated in awhile.

When you initially installed Webmin/Virtualmin, was that done using the install.sh script?

Also, what is the output of these two commands:

ls /etc/yum.repos.d
cat /etc/yum.repos.d/virtualmin.repo

Yep, it's been a while.

CentOS-Base.repo software_collections_php54.repo virtualmin.repo CentOS-Media.repo virtualmin-bleed.repo

[virtualmin] name=Red Hat Enterprise $releasever - $basearch - Virtualmin baseurl=http://5556633:SSZBTLQ7KMP@software.virtualmin.com/rhel/$releasever/$basearch/ enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin gpgcheck=1

[virtualmin-universal] name=Virtualmin Distribution Neutral baseurl=http://5556633:SSZBTLQ7KMP@software.virtualmin.com/universal/ enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin gpgcheck=1

So just to verify -- if you run "yum update" on the command line, is Webmin showing up as an upgrade option?

yum update responds:

Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: centos.chi.host-engine.com * base: repos.dfw.quadranet.com * extras: mirror.team-cymru.org * updates: centos.mirror.lstn.net addons | 1.9 kB 00:00 base | 1.1 kB 00:00 extras | 2.1 kB 00:00 http://people.redhat.com/rcollet/php54/rhel/5/i386/repodata/repomd.xml: [Errno 1 4] HTTP Error 404: Not Found Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: php54. P lease verify its path and try again

It looks like one of your repositories, the php54 repo, is causing problems and causing the other repos to not function properly.

I'd suggest removing that one repository, and then trying the update again.

Okay, could you remind me how I remove it?

Well, I'm not sure which repo file it is that's causing the problem, though if I had to guess I'd guess the " software_collections_php54.repo" one.

You could try moving that file to say, /tmp, and see if that resolves the problem.

Okay, that seems to have done the trick as far as updates. Plus I can now install squid in the Webmin modules. After installation I get:

The following modules have been successfully installed and added to your access control list :

Squid Proxy Server in /usr/libexec/webmin/squid (3044 kB) under category Servers

But when I go to servers, Squid is not listed. It is listed in 'Ăšnused modules' but when I click on it I get:

The Squid executable squid does not exist. If you have Squid installed, adjust your module configuration to use the correct path.

The Squid Proxy Server package can be automatically installed by Webmin. Click here to have it downloaded and installed using YUM.

It looks like the installation did not take place correctly?

What happens when you click the option "The Squid Proxy Server package can be automatically installed by Webmin. Click here to have it downloaded and installed using YUM."

That should perform the Squid package installation for you.

If that's not working though, what error does it give you?

Yes, that worked fine. Thanks. I just had to adjust the firewall.

Yes, that worked fine. Thanks. I just had to adjust the firewall.