Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 172
  • Last Modified:

OSX Server L2TP VPN Router/Firewall Configuration

We have OSX Server running on a Mac Mini over here at the office, and would like to grant employees VPN access to it.  We also have an EDGEMax router.  I know very little about routing beyond the basics - and am having some difficulty getting it running.

Here's the port forwarding/firewall rules I've set up in the router:

Port Forwarding and Firewall Rules
...and I've set up OSX Server per these instructions.

https://www.julianevansblog.com/2016/03/os-x-server-5-0-x-how-to-configure-l2tp-vpn.html

--- but every time I attempt to log in to the server - it either says that the connection failed, authentication failed, or there was some error in the connection negotiation.

Am I missing something?  :)  Thanks in advance!
0
erzoolander
Asked:
erzoolander
  • 2
  • 2
1 Solution
 
jessbruffettCommented:
Im not familiar with your router but if you want to use the OS X server for VPN authentication and connection you will need to find or setup and firewall/NAT rule to allow VPN traffic to pass through and target the server. I generally don't recommend this, I recommend that the VPN server be the firewall itself. This link: https://help.ubnt.com/hc/en-us/articles/204959404-EdgeMAX-Set-up-L2TP-over-IPsec-VPN-server appears to show how to use your router as a VPN server. Id recommend this first. After you make the VPN connection to the router you will be able to access your mac server without any additional open ports.
0
 
erzoolanderAuthor Commented:
Great - thank you.  Are you familiar with OSX Server?  Because I'm going to post another question in a second.
0
 
jessbruffettCommented:
I do have some experience with them. The ones I've setup the clients basically wanted them as glorified file servers but I am familiar with their higher network functions such as DNS and DHCP, of course file sharing and user creation as well, but there are feature in there I've never touched.
0
 
erzoolanderAuthor Commented:
Well, I just posted another question.  Maybe you might know the answer to it...?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now