Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need OpenVPN And NAT Help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Dark Light
n00b
n00b


Joined: 26 Jun 2008
Posts: 3

PostPosted: Thu Jun 26, 2008 2:24 pm    Post subject: Need OpenVPN And NAT Help Reply with quote

I am trying to set up a openVPN connection, that will provide secure internet acsess via the server's internet connection. The first thing I need to do is turn the server into a internet gateway by NATing the internet connection on LAN A to the virtual LAN V.

I am going to test the NAT by setting my a simple HOC wireless network with a stand alone PC. Then NAT LAN A with WIFI A, then when that works I am going to change the NAT for LAN V.

I need some NAT software that will allow me to do this. Does anyone know of any good NAT software?

I also am not sure if my OpenVPN config files are correct for doing this, I have managed to get a VPN connection.

I am using XP Home on the server.

Server config file.
Code:
dev tun
ifconfig 10.8.0.1 10.8.0.2
port 80
push "redirect-gateway"
push "dhcp-option DNS 192.168.1.254"
push "route 192.168.1.0 255.255.255.0"
secret static.key
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Fri Jun 27, 2008 9:09 am    Post subject: Re: Need OpenVPN And NAT Help Reply with quote

Dark Light wrote:
I am using XP Home on the server.


um... so which system are you running Gentoo on??
Back to top
View user's profile Send private message
Dark Light
n00b
n00b


Joined: 26 Jun 2008
Posts: 3

PostPosted: Fri Jun 27, 2008 1:06 pm    Post subject: Re: Need OpenVPN And NAT Help Reply with quote

richard.scott wrote:
Dark Light wrote:
I am using XP Home on the server.


um... so which system are you running Gentoo on??


Gentoo? Whats that?
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Fri Jun 27, 2008 4:03 pm    Post subject: Re: Need OpenVPN And NAT Help Reply with quote

Dark Light wrote:
Gentoo? Whats that?


eh! What's Gentoo.... I take it you don't fully understand what forum site your on?? 8O

Gentoo is a distribution of Linux.....

This forum site is a site dedicated to helping users of Gentoo Linux 8)

You'd be better asking your question on an OpenVPN site or mailinglist if Gentoo isn't involved anywhere in your setup.
Back to top
View user's profile Send private message
Dark Light
n00b
n00b


Joined: 26 Jun 2008
Posts: 3

PostPosted: Sun Jun 29, 2008 12:35 am    Post subject: Reply with quote

Sorry I thoaght this was a genral forum, lol.
Back to top
View user's profile Send private message
zeek
Guru
Guru


Joined: 16 Nov 2002
Posts: 480
Location: Bantayan Island

PostPosted: Mon Jun 30, 2008 6:07 am    Post subject: Re: Need OpenVPN And NAT Help Reply with quote

Dark Light wrote:
richard.scott wrote:
Dark Light wrote:
I am using XP Home on the server.

um... so which system are you running Gentoo on??

Gentoo? Whats that?

This could be my favorite series of posts on the forums ...
Back to top
View user's profile Send private message
Ph0eniX
Guru
Guru


Joined: 24 Sep 2004
Posts: 502
Location: New York, U.S.

PostPosted: Tue Jul 01, 2008 1:23 pm    Post subject: Re: Need OpenVPN And NAT Help Reply with quote

zeek wrote:
Dark Light wrote:
richard.scott wrote:
Dark Light wrote:
I am using XP Home on the server.

um... so which system are you running Gentoo on??

Gentoo? Whats that?

This could be my favorite series of posts on the forums ...


I could see that.
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3526

PostPosted: Tue Jul 01, 2008 3:52 pm    Post subject: Reply with quote

The original poster asked for NAT software in Gentoo forums. I think the answer is obvious, though nobody has told him yet:

iptables

Then to try and draw back a little relevance here, I run my own OpenVPN endpoint on my Gentoo (hardened) server. It's back of a Netgear router appliance which does my NAT, so the Gentoo box is acting as a bastion host (server/router/secondary firewall) running iptables. I had to specify a static route in the Netgear so return packets could find their way to my LAN, back of the bastion host, and had to forward the OpenVPN port to it, also.

Relevance? My laptop is dual boot, XP and Gentoo, and I have OpenVPN set up on both sides, and both sides can connect just fine.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum