Christopher Jenkins life of a software developer, musician and student.
Uncategorized
OpenVPN Access Server (AS) and NATing
Jun 29th
So you have your open vpn as server working nicely? But you want your clients to appear on a differnt ip address on your server.
So for example i have:
80.0.0.1 setup as my eth0 address
80.0.0.2 as my eth0:1 address
I want my my vpn clients to be NATed through to eth0:1 not eth0.
Simple but sweet command from OpenVPN-AS support solved the issue nicely.
Login to your command prompt and do the following:
Make sure your logged in as root/sudo etc (su – / sudo )
cd /usr/local/openvpn_as/scripts
./confdba --mod --key vpn.server.routing.snat_source.0 --value eth0:1 (or which ever device you want your users to appear as)
Restart your server job done!
/etc/init.d/openvpnas restart
Now your clients should appear as 80.0.0.1 not 80.0.0.2
Feel free to ask any questions!
Google Gears
Sep 1st
Been Playing with google gears recently and been having amazing fun. Bit of a challenge to design off-line apps but very cool potential.
New Theme
Oct 28th
Thought i would change the theme, Tis a bit nicer!
I am still looking for someone to create me a banner and avatar. Would be nice if it was anime stylie portrait of me.
Not much this week, I will add some of my happenings with the Wiimote and Java. Yes as dirty as that may seem it is possible!
As for now caio!