<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Netastic</title>
	<link>http://www.netastic.co.uk</link>
	<description>IT Solutions &#38; Liaison</description>
	<pubDate>Mon, 10 Dec 2007 21:35:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3</generator>
	<language>en</language>
			<item>
		<title>Wow what a mission!</title>
		<link>http://www.netastic.co.uk/show/6</link>
		<comments>http://www.netastic.co.uk/show/6#comments</comments>
		<pubDate>Mon, 10 Dec 2007 21:35:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.netastic.co.uk/show/6</guid>
		<description><![CDATA[Today I tried to code on a project at work from home, i recently moved&#8230; so my new ip address haven&#8217;t been added to firewall rules etc etc.
Luckily for me one of my servers has been added to the fw before. Now to be a little bit creative I have setup a openvpn bridge to [...]]]></description>
			<content:encoded><![CDATA[<p>Today I tried to code on a project at work from home, i recently moved&#8230; so my new ip address haven&#8217;t been added to firewall rules etc etc.<br />
Luckily for me one of my servers has been added to the fw before. Now to be a little bit creative I have setup a openvpn bridge to force all my connections on my laptop trough my new openvpn gateway! I have used openvpn allot before as a non bridged gateway to an private subnet but never as a kinda proxy gateway.</p>
<p>Here is the configurations i ended using:</p>
<p>Server:<br />
<em>port 1234<br />
proto tcp<br />
dev tun<br />
ca keys/ca.crt<br />
cert keys/server.crt<br />
key keys/server.key<br />
dh keys/dh1024.pem<br />
ifconfig 192.168.2.1 192.168.2.2<br />
server 192.168.2.0 255.255.255.0<br />
client-config-dir ccd<br />
#########<br />
######### Put your Public DNS Servers here<br />
######### 0.1.2.3 &amp;&amp; 0.1.2.4 being your servers dns servers /etc/resolve.conf will reveal what they are. unless you have dhcp enabled&#8230; (queer)<br />
</em></p>
<p><em>push &#8220;dhcp-option DNS 0.1.2.3&#8243;<br />
push &#8220;dhcp-option DNS 0.1.2.4&#8243;</p>
<p>ifconfig-pool-persist ipp.txt<br />
push &#8220;redirect-gateway&#8221;<br />
keepalive 10 120<br />
comp-lzo<br />
persist-key<br />
persist-tun<br />
status server-tcp.log<br />
verb 3<br />
user nobody<br />
group nobody</em></p>
<p><strong>the client configuration:</strong></p>
<p>client<br />
dev tun<br />
proto tcp</p>
<p>#Change my.publicdomain.com to your public domain or IP address<br />
<em>remote my.server.com 1234<br />
resolv-retry infinite<br />
nobind<br />
persist-key<br />
persist-tun</p>
<p>ca ca.crt<br />
cert client.crt<br />
key client.key</p>
<p>ns-cert-type server</p>
<p>#DNS Options here, CHANGE THESE !!<br />
push &#8220;dhcp-option DNS 192.168.2.1&#8243;</p>
<p>comp-lzo</p>
<p>verb 3</em></p>
<p>it tooks a while but the reason why it didnt work at start was because i didnt have the right iptables rules&#8230; im such a nutter.</p>
<p><em> iptables -t nat -A POSTROUTING -s 192.168.2.6 -j SNAT &#8211;to 1.2.3.4<br />
1.2.3.4  - being your external ip address</em></p>
<p>oh yea and dont forget to enable ipv4 forwarding</p>
<p><em>echo 1 &gt; /proc/sys/net/ipv4/ip_forward</em></p>
<p>I am sure you will find allot of tutorials around but for some odd reason the 1st 3 i used didnt work properly&#8230; and well if time-capped like me i hope this saved you some time.</p>
<p>have fun ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netastic.co.uk/show/6/feed</wfw:commentRss>
		</item>
		<item>
		<title>jebus</title>
		<link>http://www.netastic.co.uk/show/3</link>
		<comments>http://www.netastic.co.uk/show/3#comments</comments>
		<pubDate>Sat, 10 Nov 2007 04:00:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.netastic.co.uk/show/3</guid>
		<description><![CDATA[so i went out and well it seems there is no nice girls left in london :(
]]></description>
			<content:encoded><![CDATA[<p>so i went out and well it seems there is no nice girls left in london :(</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netastic.co.uk/show/3/feed</wfw:commentRss>
		</item>
		<item>
		<title>Fresh start!</title>
		<link>http://www.netastic.co.uk/show/1</link>
		<comments>http://www.netastic.co.uk/show/1#comments</comments>
		<pubDate>Mon, 22 Oct 2007 20:30:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[fresh start]]></category>

		<guid isPermaLink="false">http://www.netastic.co.uk/?p=1</guid>
		<description><![CDATA[So its been a while since i have updated my blog and i comletely killed it off at some point too. I&#8217;m quite busy nowaday so dont be surprised if i dont update this blog to often,  I will try my best though!
For those who don&#8217;t know me my name is francois raubenheimer and [...]]]></description>
			<content:encoded><![CDATA[<p>So its been a while since i have updated my blog and i comletely killed it off at some point too. I&#8217;m quite busy nowaday so dont be surprised if i dont update this blog to often,  I will try my best though!</p>
<p>For those who don&#8217;t know me my name is francois raubenheimer and i am IT fanatic&#8230; I love anything and everything about computers, the internet and anything hacking related. That brings up the fact that you will mostly find hacking related articles on this blog and perhaps some rants about random things.</p>
<p>By the way I&#8217;m single and looking!!! for someone very hot and indy looking! anyone :?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netastic.co.uk/show/1/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
