Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Nov 19, 2004 6:32 pm 
Offline
Newbie

Joined: Fri Nov 19, 2004 6:00 pm
Posts: 2
Hi group,

Before I begin work on configuring OpenVPN for my application, I have a question on whether how I plan on setting it up is even feasble or not. You can see a diag at www.viser.net/~mariode/netdiag.jpg of my current network configuration as well as the other end of my proposed tunnel.

My question relates to the implementation based on my network configuration. What I would like to do is access the linux/FC2 file server (running samba/apache) both internally and from the other end of a tunnel. I would also like to host a small site accessable to th world.

Currently I forward port 80 requests through my hardware firewall/router and am able to access the site as expected. I can also access shares on the samba server within my internal network.

I wasn't sure if I could configure OpenVPN as I have outlined. All documentation refers to configurations where the samba server is within the internal network and a linux box is acting as gateway with two nics. In my case I am not. Will OpenVPN kill my website access? Do I need to set up another box with Linux and OpenVPN alone acting as a gateway? ????'s More information as requested.

Any recomendations, suggestions, or otherwise would be appreciated. Thanks

tonydm


Top
   
 Post subject:
PostPosted: Fri Nov 19, 2004 8:21 pm 
Offline
Senior Newbie

Joined: Fri Nov 12, 2004 7:58 pm
Posts: 6
Website: http://stephen.evilcoder.com
It's certainly possible to have an OpenVPN setup using only one network card. Many users have asked similar questions on the openvpn-users mailing; try searching the list archives on gmane.

To make things easier on yourself, why don't you install another network card into your Linux server? Have your router forward incoming packets to your OpenVPN "in" NIC, and use your other network card as the "out" NIC for remote users.

Since you're using Samba, I highly suggest using a bridged OpenVPN configuration. The routed configuration is a little tricker; you'll have to setup a WINS server.

And no, OpenVPN shouldn't conflict with your current configuration.


Top
   
 Post subject:
PostPosted: Fri Nov 19, 2004 9:59 pm 
Offline
Newbie

Joined: Fri Nov 19, 2004 6:00 pm
Posts: 2
Thanks zeroion,

I not sure I understand your suggestion. What would my IP addressing look like. ie the "in" nic assigned 172.16.0.100 and the "out" nic assigned "?". Visa versa? Would it not have to have the same internal addressing class?

I currently am not running a firewall on the Linux FC2 server as I have the hardware firewall device. Which at first glance causes some confusion to the configuration as ALL documents I've read deals with tunneling through the firewall. Which does raise the question, what port(s) would I need to forward through my hardware firewall device? And I concur, bridged is what I was planning.


Top
   
 Post subject:
PostPosted: Sat Nov 20, 2004 5:49 am 
Offline
Senior Newbie

Joined: Fri Nov 12, 2004 7:58 pm
Posts: 6
Website: http://stephen.evilcoder.com
The "out" NIC would have the same address class as the rest of your internal network. Almost all the guides on the Internet assume a computer with two NICs, so consider the "in" NIC as the external interface and the "out" NIC as the internal interface, even though they are on the same network.

Depending upon which mode you run OpenVPN in, you'll need to forward some TCP or UDP ports (or both). If you run the OpenVPN as one server process, you'll only need to forward one port, which you'll specify in the configuration. If you want to run one process per each client, you'll have to forward one port for every client.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group