Setup this network/VPN

Need help configuring your VPN? Just post here and you'll get that help.

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.
Post Reply
riahc3
OpenVPN User
Posts: 46
Joined: Tue Jun 26, 2012 9:04 am

Setup this network/VPN

Post by riahc3 » Mon Jun 23, 2014 2:25 pm

Im seeing if I can set up this network with a VPN connection.

Basically we have one network (top in the following diagram) where are headquarters are. This one has a 192.168.100.x range. That's all great. The problem is when we set up a VPN connection with a client.

(All WAN IPs are fake/made up on the spot)

Image

The diagram would be that.

I am physically at the top half of the diagram. As you can see, my VPN server is 192.168.100.199 In the VPN tunnel it has a IP of 10.10.10.1

On the bottom half, there is a remote client which I do not have physical access to NOR do I have networking access to (basically impossible to touch any networking configuration on that side).

Those remote VPN clients should never have access to my network or other networks on that VPN network. That is why there is a 172.16.x.x network. This network has 172.16.9.x and another client would have 172.16.7.x, 172.16.2.x and so on....

I split the networks so they cannot see each other while I can see them (thru the 10.10.10.x tunnel and routing).

The bottom side would be the typical example of a client. He has a machine running Windows Embedded Standard 7 with 2 NICS: His network is set up as 192.168.10.x and one of the machines would be 192.168.10.9 and the OpenVPN client running on that machine would have the assigned IP of 10.10.10.9 BUT I would also like it to have a IP of 172.16.9.1 on ANOTHER NIC (NIC2) on that WES7 machine. Below it would be another machine running Windows CE with 172.16.9.10 directly connected to that NIC2.

When I generate the client configuration using Webmin on the OpenVPN server, I do something like this:

Image

I have been able to configure this network before but we are now using WES7 machines while before we were using this: http://www.netmodule...ine-router.html I cant change the configuration for "better" as it all has to stay compatible between the NB1600 and the WES7

I hope some of you have some great ideas to implement so I can try them out. Thank you.

riahc3
OpenVPN User
Posts: 46
Joined: Tue Jun 26, 2012 9:04 am

Re: Setup this network/VPN

Post by riahc3 » Tue Jun 24, 2014 8:06 am

debbie10t wrote:Duplicate post:
topic16176.html

Do not post duplicates !

You can *Bump* your post if you think it has been overlooked.
I actually saw this section and it was better to post it over here. My apologies.
debbie10t wrote:
riahc3 wrote:before we were using this: http://www.netmodule...ine-router.html
Unfortunately, you have posted an incorrectly formatted URL and so this link is unresolvable.
http://www.netmodule.com/products/indus ... outer.html
debbie10t wrote:
riahc3 wrote:When I generate the client configuration using Webmin on the OpenVPN server
This forum does not provide support for third party management consoles such as webmin. Instead you are advised to edit the OpenVPN configuration files manually.
I was posting that so the configuration could be seen, not to use Webmin. I imagine that this could be done manually.

debbie10t wrote:
riahc3 wrote:I hope some of you have some great ideas to implement so I can try them out
Personally, I do not understand your objective.

This forum provides support for OpenVPN not networking in general.
My objective is basically to make the WES7 connecting as a OpenVPN client to use it as a router and connect different IP devices to it while using different subnets to separate clients. I tried to explain it the best I could.

I think my question is more OpenVPN related than network related personally...

Post Reply