LinuxQuestions.org
Help answer threads with 0 replies.
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 03-13-2017, 06:16 PM   #1
Hammo
Member
 
Registered: Feb 2003
Posts: 31

Rep: Reputation: 1
PPTP VPN Server with 2 NICs


Hi all,

I have a PPTP VPN Server installed in my lab and I am successfully able to connect to it.

Now I want to further enhance the setup but I don't know really how to do it.
The VPN server connected to 2 LAN segments.
The VPN server accesses the internet via one LAN which has the gateway on it, and I want the incoming users to be part of the other LAN subnet and use the gateway of that other LAN to reach the internet, and not the gateway the VPN server is using.

Is there any way to configure that?

The system is on CentOS 7.3.
 
Old 03-13-2017, 06:31 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,801

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
I would start by sharing the current IP configuration (addresses and routes) of that VPN server.
 
Old 03-14-2017, 01:54 PM   #3
Hammo
Member
 
Registered: Feb 2003
Posts: 31

Original Poster
Rep: Reputation: 1
Hi,

attached is a diagram of what I am trying to achieve.

The VPN server itself has a gateway of 192.168.1.1.

I want the remote usrs to get on IP from the 172.16.1.0/24 subnet range and have their gateway as 172.16.1.1.

I hope the question is clear now.
Attached Thumbnails
Click image for larger version

Name:	PPTP VPN.JPG
Views:	18
Size:	34.2 KB
ID:	24507  

Last edited by Hammo; 03-14-2017 at 01:56 PM.
 
  


Reply

Tags
firewalld, iptables, pptp, routing



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
[SOLVED] PPTP VPN Server Issue w/VPN access AmberM Linux - Newbie 2 02-17-2014 10:34 AM
PPTP Packets from the VPN Client Cannot Reach the VPN server SubZeroJake Linux - Networking 1 05-14-2012 06:52 PM
pptp vpn server rehan21 Linux - Newbie 0 06-05-2011 05:24 AM
LXer: Linux Configure point to point tunneling PPTP VPN client for Microsoft PPTP vpn server LXer Syndicated Linux News 0 06-13-2007 08:46 AM
PPTP Vpn Server cmrnaidu Programming 1 07-12-2006 08:54 PM

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

All times are GMT -5. The time now is 04:34 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