[plug] Linux VPN Router

Paul Antoine pma-la at milleng.com.au
Tue Jan 8 16:29:46 WST 2008


Chris,

If you'd like to set up a dedicated Linux box for a router I can suggest 
DD-WRT for x86.  It has a nice web interface that looks just like a 
Linksys router :-P

Seriously though, it does VPN client and server on the box, has routing, 
does DHCP if you need it, DDNS, can be a wireless access point, does 
WDS, port-forwarding, etc. etc. etc.

I have it running on an old P3 with two network cards to a DSL modem... fab!

http://www.dd-wrt.com

P.

Chris Watt wrote:
> Hi Guys,
> 
> The reason I want to use the Linux box is it means I can have the
> temps who come and go have direct access without needing individual
> accounts and junk.
> 
> Also, this is the output of route -n:
> osx-cwa:~ Chris$ route -n
> usage: route [-dnqtv] command [[modifiers] args]
> 
> Not at all what I think you where expecting!
> 
> Cheers
> Chris
> 
> 
> 
> 
> 
> 
> On Jan 8, 2008 11:08 AM, Richard Meyer <meyerri at westnet.com.au> wrote:
>> On Tue, 2008-01-08 at 09:55 +1100, Chris Watt wrote:
>>> Hi Guys,
>>>
>>> I have an old Linux box laying around that I want to try and put to
>>> good use as a bit of a router for my ADSL in my office.  My company
>>> have a VPN that connects us to the server in Germany for access to the
>>> intranet, file servers, etc. etc.
>>>
>>> However, at the moment when I connect to that VPN I can not use
>>> anything else (Using OSX with built in VPN software) as the DNS times
>>> out trying to route through Germany.  Unfortunately, as far as I can
>>> tell, there is no way to tell OS X to use the VPN *only* for certain
>>> web addresses and let all else use the normal gateway setup.
>>>
>>> So what I want to do is have the linux box (that I also want to use as
>>> a wiki/cal server and stick some files on there) route this VPN
>>> traffic for me.  I would like to have the Linux box either create the
>>> connection on demand or keep it alive permanently for the web
>>> addresses that need to connect through it.  Basically I want the linux
>>> box to route all *.mobotix.net and etc. through to the VPN and ensure
>>> that all other data is router through the DSL connection as per
>>> normal.  This will allow me to use the VPN and the internet at the
>>> same time, making my life about 3.000 times easier!
>>>
>>> IF anyone can point me in the direction of a good
>>> tutorial/walk-through/etc. for this, I would be greatly appreciative.
>>> I have not settled on an OS yet, but preferably something easy to
>>> maintain and update.
>>>
>>> Cheers
>>> Chris
>> Not directly related, but I have to do something similar on TWO
>> different networks with 2 different VPN agents, (both windows-only) and
>> I ended up creating two M$ VMs under VMWare. Only way I could get both
>> working together.
>>
>> This may or may not be useful to you .....   ;-)
>>
>> --
>> Richard Meyer <meyerri at westnet.com.au>
>> Necessity is the plea for every infringement of human freedom.
>> It is the argument of tyrants; it is the creed of slaves.
>> William Pitt, 1783
>>
>> Linux Counter user #306629
>>
>>
>>
>> _______________________________________________
>> PLUG discussion list: plug at plug.org.au
>> http://www.plug.org.au/mailman/listinfo/plug
>> Committee e-mail: committee at plug.linux.org.au
>>
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au



More information about the plug mailing list