LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-29-2008, 04:53 PM   #1
Lantzvillian
Member
 
Registered: Oct 2007
Location: BC, Canada
Distribution: Fedora, Debian
Posts: 210

Rep: Reputation: 41
Question OpenVPN forward through firewall to VPN endpoint and rerouted back in?


Hey everyone,
I have just come across a networking problem/layout that has me absolutely scratching my head.

What I think we are going to do is as follows:

We have one connection in that is going to a router/firewall with a certain IP lets call it 142.2.2.20. That is going in on WAN1,and it is going to go through a port forward ( :6333 for example ) to 192.168.3.2 ( the Open VPN server or a VPN server such as ENDIAN community)

From that point it is going to be forwarded back and into the 192.168.2.x network that is in the Router box and connect to all the machines. Is this the way to do it?

Will a Roadwarrior/ client on the outside be able to connect then to the VPN server? and then from there connect to the correct box?


thanks,
Ronnie
 
Old 02-01-2008, 09:52 PM   #2
TheMadIndian
Member
 
Registered: Dec 2007
Distribution: Fedora Slackware CentOS slax RHEL
Posts: 117

Rep: Reputation: 23
Quote:
Originally Posted by Lantzvillian View Post
Hey everyone,
I have just come across a networking problem/layout that has me absolutely scratching my head.

What I think we are going to do is as follows:

We have one connection in that is going to a router/firewall with a certain IP lets call it 142.2.2.20. That is going in on WAN1,and it is going to go through a port forward ( :6333 for example ) to 192.168.3.2 ( the Open VPN server or a VPN server such as ENDIAN community)

From that point it is going to be forwarded back and into the 192.168.2.x network that is in the Router box and connect to all the machines. Is this the way to do it?

Will a Roadwarrior/ client on the outside be able to connect then to the VPN server? and then from there connect to the correct box?


thanks,
Ronnie
Using OpenVPN server I open a port in the firewall that I define config file of the OpenVPN server and port forward to the server. Then enable IP forwarding on the VPN server so the private vpn network can reach the internal lan and on the internal lan's router I add a route to the private vpn network via the internal lan IP of the vpn server
 
Old 02-17-2008, 06:32 PM   #3
Lantzvillian
Member
 
Registered: Oct 2007
Location: BC, Canada
Distribution: Fedora, Debian
Posts: 210

Original Poster
Rep: Reputation: 41
The current idea for the network is this: using a linksys/cisco RV082 ( I think thats what its model is) and portforwarding all 1194 udp/tcp to the openvpn server which is an Endian Firewall.

Here is where things start to go wrong I think. The OpenVPN server on Endian is on the same network located at 192.168.2.203..... as the red interface. The green is 192.168.2.15 and the open VPN users use that as the gateway for the OpenVPN.

Using another client on an outside network, I start a OpenVPN connection to the rotuer which then forwards me correctly to the Endian box. On the Endian box I can see the user trying to connect, but on the client all I get is TLS handshake timeouts. Now looking at the Endian logs it looks liek it is workign correctly btu it can't find the clienet host..

This looks like a routing problem to me.. any help would be great.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVpn Cisco VPN... stuff... war1025 Debian 1 10-05-2007 11:45 AM
Trying to connect to Cisco VPN using OpenVPN Wynd Linux - Networking 9 07-09-2007 08:38 PM
OpenVPN setup - can ping only one way across VPN tunnel rob_xx17 Linux - Networking 3 04-14-2006 06:36 AM
OpenVPN and CISCO VPN smiley_lauf Linux - Software 1 02-23-2006 11:11 AM
What can I do with a VPN endpoint??? lsgko Linux - Networking 0 08-12-2003 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration