leemklove I do not know the correct title Forgive me for my stupidity internet | | Hub(Company A) | | |__openvpn(A) eth0 (220.8x.6x.250) | |__ PC 220.8x.6x.1 ~32 use, PC 220.8x.6x.94 ~ 249 use spare IP adress ( 220.8x.6x.33 ~ 93) inetnet | | Hub((Company B) | | |__openvpn(B) eth0 (112.2x.3x.120) I want openvpn(B) windows client connect allocation for ==> 220.8x.6x.33 ~ 93
leemklove internet -- openvpn(A) eth0 (220.8x.6x.250) internet -- openvpn(B) eth0 (112.2x.3x.120) I want openvpn(B) windows client connect allocation for ==> 220.8x.6x.33 ~ 93 Mimiko wroteServer-bridge 220.8x.6x.250 255.255.255.0 220.8x.6x.33 220.8x.6x.93
mmiller Sorry to necro bump, but I am in a similar boat for two very different locations needing to assign clients to a specific subnet. I would benefit from this being resolved, and I'll give it my best: So you want B to assign IP addresses that are outside its own subnet? (And in fact belong to A's network?) I think in conjunction with Mimiko's directive (the two locations must be able to communicate, and I'm assuming A and B have connectivity) Where is traffic for 220.8x.6x.33 ~ 93 normally routed to? Setup static routes to forward that address range to Server B. server_b.conf: ifconfig-pool 220.8x.6x.33 220.8x.6x.93 ; network netmask gateway [metric] push "route 112.2x.3x.x 255.x.x.x 112.2x.3x.120" push "route 220.8x.6x.x 255.x.x.x 112.2x.3x.120" ; should this last entry's gateway be 220.8x.6x.33? Aslo, won't windows clients each use a /30 IP range because of Windows TUN limitations, so you'll only get 15 connections from the 60 available IPs?
Mimiko Nope. On the site A, leemklove wants to assign to the OpenVPN clients IPs from the same pool and netmask as the local LAN, in which case it must be a bridged configuration. The routing and net 30 implies another pool of IPs.