LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-26-2018, 07:13 AM   #1
darktic
LQ Newbie
 
Registered: Jan 2018
Posts: 3

Rep: Reputation: Disabled
Creating an vpn server and routing all trafic to remote vpn server


Hi There,

I am hanging since 2 days on a specific project:
I want to create openvpn server on my dedicated root, that routes all vpn traffic to an external vpn server.
diagramm:

clients --- dedicated server with vpn (root access) ---> external vpn Server (no access)

I am searchin since 2 days for any clue to set this up.
I Have it running, that the clients are connected to the 1st server (dedicated server), but when I start the client side on it, to connect to
the external vpn server, my whole internet on th ededicated server is gone, and i have to connect through the recovery console of my provider.
I think i have to start the server and a client on my dedicated at the same time?
can anybody can give me a push in to the right direction pls ?
bye
Jimmy
 
Old 02-10-2018, 11:42 AM   #2
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
Here is a write up on how I am doing what (I think) you are trying to do. Let me know if it helps and feel free to ask questions if something is not clear.

https://www.linuxquestions.org/quest...ch-4175618851/

Ken
 
Old 02-18-2018, 05:31 PM   #3
Nour M
LQ Newbie
 
Registered: Feb 2018
Posts: 4

Rep: Reputation: Disabled
thank you taylorkh so much

but in that way, i can't make my plan because of the destination not clear and modified
I need something to read the real destination from net and replay and take the date and resed it to clients.
 
Old 02-19-2018, 09:57 AM   #4
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
Can you provide more details of what you are trying to accomplish? In general terms.

Is the dedicated server a physical machine which you control?

What operating systems are running on the clients and the dedicated server?

Ken
 
Old 02-19-2018, 10:11 AM   #5
darktic
LQ Newbie
 
Registered: Jan 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi, sorry for the late reply.
@taylorkh:
This is not a solution i am looking for.

What I want to do:
I want a dedicated root server with debian to redirect a vpn connection to an commercial vpn service. The dedicated root would be like an access node and redirect it to the other service. Clients would be windows, raspbian etc.

Thx
 
Old 02-19-2018, 12:49 PM   #6
Nour M
LQ Newbie
 
Registered: Feb 2018
Posts: 4

Rep: Reputation: Disabled
First thank you so much for your time @taylorkh

I have DNS server ( Debian ) I installed bind9 on it for clients
I have another one ( Centos ), I have control on it and I can install anything.


For special reasons, I must forward certain websites to centos server via DNS server that I configured to do that, and the centos server must redirect the request to the real destination and replay the clients

Please if you need more details tell me.

Thank you so much again.
 
Old 02-19-2018, 12:52 PM   #7
Nour M
LQ Newbie
 
Registered: Feb 2018
Posts: 4

Rep: Reputation: Disabled
Hi @darktic

I don't want to use VPN connection, for that I configured the DNS to forward the clients to my Centos server.

thanks
 
Old 02-19-2018, 01:13 PM   #8
darktic
LQ Newbie
 
Registered: Jan 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
@Nour M
This was a reply to my problem(as you did'nt noticed, I am the threadstarter)

Last edited by darktic; 02-20-2018 at 12:35 PM.
 
  


Reply



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
VPN not routing through server but still local routing pptpd narnie Linux - Server 1 01-21-2014 06:03 PM
VPN server to VPN server IP Address auto route cheesewizz Linux - Networking 0 06-26-2012 07:01 PM
Creating a VPN server compatible with Cisco VPN hardware? illuminatedwax Linux - Networking 0 08-14-2011 09:56 PM
Routing problem on Debian server from Cisco VPN concentrator feloniousj Linux - Networking 1 11-26-2009 03:10 PM
VPN Question Win98->internet->Router->Linux VPN Server->Win2k Server patrickrea Linux - Networking 1 08-10-2004 02:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:40 PM.

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