Koozali.org: home of the SME Server

Routing external websites through an ibay

Offline Uncle

  • *
  • 20
  • +0/-0
Routing external websites through an ibay
« on: March 05, 2009, 02:48:47 PM »
Say for example there is website A and ibay B. There is also location C and location D.

Now location C can only access ibay B and no other sites (they access ibay B externally). Location D hosts the SME server and can access website A, ibay B and any other site like you normally would.

Is it possible to use SME to redirect website A through ibay B either as something to do with the ibay itself or as it's own ibay? Or does SME have some sort of forwarding that allows this to happen?

I have a server in one city and people who can access it's domain but cannot access any other sites (due to super strict firewalling and policies, etc.). Is there some way I can let them access other sites through my server??

I know there are things like YourFreedom which let you download things, etc. through them, even though they are blocked normally, as though you were linking to them directly so I know this kinda stuff exists, I just have NO clue how to do it! :3 Any ideas?

EDIT: And no it's not something dodgy! Just some friends that need to access their campus portal while out of town.
« Last Edit: March 05, 2009, 02:50:52 PM by Uncle »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Routing external websites through an ibay
« Reply #1 on: March 05, 2009, 05:24:26 PM »
EDIT: And no it's not something dodgy! Just some friends that need to access their campus portal while out of town.
Typically this is setup using VPN.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Uncle

  • *
  • 20
  • +0/-0
Re: Routing external websites through an ibay
« Reply #2 on: March 06, 2009, 11:26:57 AM »
If people from location C can't VPN into the server, then what??

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Routing external websites through an ibay
« Reply #3 on: March 06, 2009, 11:56:51 AM »
ok.. so, what can do people form location C? https? ssh? openvpn?

Ciao
Stefano

Offline Uncle

  • *
  • 20
  • +0/-0
Re: Routing external websites through an ibay
« Reply #4 on: March 06, 2009, 01:21:51 PM »
All people at location C can do is access the sites hosted by the server at location D :3

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: Routing external websites through an ibay
« Reply #5 on: March 06, 2009, 01:49:53 PM »
I can think of 4 ways to do this:
  • Have the users VPN into your SME, then configure their browsers to use the SME proxy on port 3128
  • Create an ssh tunnel to port 3128 on your SME, then configure the users' browsers to use the tunnel to access the proxy server.  (smeserver-remoteuseraccess lets you grant ssh access to user accounts, and this how-to describes how to create an ssh tunnel)
  • Insecure: add the IP address of the remote users to your "local networks", and have them configure their browsers to use the SME as a proxy server
  • Configure ProxyPass to provide access to the external domain through your SME (Here are my notes on setting up proxypass using a custom template fragment for access to Outlook Web Access.  I have successfully tested proxyass configured to pass requests to an off-site server, but not since SME 7.0)