Hi, I have a question regarding configuration that might not be OpenVPN specific but definitely seems like a networking issue.
I posted it here:
http://superuser.com/questions/904616/a ... gh-openvpn
Does anyone have any idea?
Accessing MongoDB after connecting through OpenVPN
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Apr 21, 2015 8:52 am
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Accessing MongoDB after connecting through OpenVPN
the link is broken...
can you write what your problem is?
Michael.
can you write what your problem is?
Michael.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Mon Feb 18, 2019 6:31 pm
Re: Accessing MongoDB after connecting through OpenVPN
Configuring the VPN to Forward to Private IP Addresses
If you followed the prerequisite OpenVPN article, you most likely configured your server to forward requests to the public network interface, but not the private one. In this tutorial, we're going to configure the MongoDB server so it can only be accessed on its private interface, which we'll only be able to access via our VPN connection. We need to modify the IP fowarding rules on the VPN server so that traffic from VPN clients gets routed to the private network too.Connect to your OpenVPN server.
If you followed the prerequisite OpenVPN article, you most likely configured your server to forward requests to the public network interface, but not the private one. In this tutorial, we're going to configure the MongoDB server so it can only be accessed on its private interface, which we'll only be able to access via our VPN connection. We need to modify the IP fowarding rules on the VPN server so that traffic from VPN clients gets routed to the private network too.Connect to your OpenVPN server.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm