It is currently Wed Sep 08, 2010 10:59 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: VPN and Internet Browsing
PostPosted: Sun Jan 17, 2010 4:05 pm 
Offline

Joined: Tue Dec 29, 2009 1:07 pm
Posts: 9
Hi everyone. I recently successfully installed my Amahi home server. My server is located in the US and I am living in the UK. Using the HDAConnect VPN client I have been able to access my HDA and all file shares remotely. I was also hoping to use my HDA as an internet proxy so I can surf the web as-if I was still located in the US. Is this possible? If so, can you provide me with instructions for doing so?

Thanks!


Top
 Profile  
 
 Post subject: Re: VPN and Internet Browsing
PostPosted: Mon Jan 18, 2010 1:12 am 
Offline
Administrator
User avatar

Joined: Wed Dec 03, 2008 7:40 am
Posts: 1727
it certainly is possible, however, not out of the box. :(

one possible solution is to set up your default gateway in your client to be your router in the network of your HDA.

i am not sure how to do that in windows for all connections.

there may even be a way to custom setup your VPN configuration to do that automatically when connecting (and undo it when disconnecting). not sure myself how to do this either, sorry.

_________________
My HDA: 2.2GHz Dual Core on Asus MB, 8GB RAM, 740GB+400GB+400GB+1TB


Top
 Profile  
 
 Post subject: Re: VPN and Internet Browsing
PostPosted: Mon Jan 18, 2010 10:48 am 
Offline

Joined: Fri Aug 14, 2009 11:56 am
Posts: 10
I do this at work to bypass our web filter, works great. The answer is posted at the OpenVpn website
http://openvpn.net/index.php/open-source/documentation/howto.html#redirect

Procedure:
1. Use putty to ssh into the hda

2. Copy and paste the following into the ssh
nano /etc/openvpn/amahi.conf

3.add the line below to the bottom of the file (copy and paste)
push "redirect-gateway def1"

4. press ctrl+x then y enter

5. copy and paste
service openvpn restart

6. you will have to disconnect and reconnect your hdaconnect.

That should be it.

The only problem I have with this setup is that everytime there is an update to my hda I loose all my custom settings in /etc/openvpn/amahi.conf
as described in http://forums.amahi.org/viewtopic.php?f=3&t=25. The RPM listed is no longer valid and it dosn't appear that the fix for this issue is working as I keep loosing my settings.

Also my internal DNSing doesn't appear to work either at the moment. It worked great until 5.1. There was a bug fix released with 5.1 but It doesn't appear to work either. I think I will go submit a bug while I'm thinking of it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: