Ok here's what I'm trying to achieve... I'm in IT (tech support), and my job lets me work remote from my home.
They have to input my home IP addresses on their servers, so that I can access certain internal web sites, and access their main SSH server where I then have access to other servers.
I have 2 ISP connections. The cable connection keeps it's IP for a long enough time that it's not a hassle to have my work add my new IP when it changes, as it doesn't happen that often (every month or so)
My other connection (Verizon broadband PC card, for my laptop) picks it up a new IP every time it disconnects, which can be several times per day! So here is what I'm trying to do:
I have a centos linux VPS server at a collocation center that has a dedicated IP. I've already given that IP to my work so they have granted it access.
I'm trying now to set up (not sure which will work best), either a PROXY server or VPN, so that when I am on my laptop, both Firefox and Putty will tunnel through my VPS server, so that I am accessing my work's internal web site and SSH service via my VPS IP address.
(by the way, I told my work I'm trying to set up a proxy server to tunnel through to solve the changing IP address issue, they are OK with this)
I did something but I think either I misunderstood that it would work or I didn't do it right. I set up squid on my VPS, and I set up Putty to use my SSH connection as a tunnel. I then set up Firefox to use my proxy server.
But I think it's only doing caching. The /var/log/squid/store.log on the server starts logging when I start using firefox with the proxy set. BUT - when I check my IP using www.whatismyip.com
, it's not showing my VPS server IP, it's showing my Verizon IP.
So, I'm not sure if I'm 95% of the way there and I can achieve what I'm trying to with Squid, or if should be doing something else, perhaps some kind of VPN connection to my VPS server?
Can I tunnel through squid so that my IP will be my VPS server?
If so, what solution and software do you recommend?