Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
pfSense Forum
pfSense English Support
»
OpenVPN
»
Clientes getting same ip even with Duplicate Connections checked
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Home
Help
Search
Login
Register
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Clientes getting same ip even with Duplicate Connections checked (Read 762 times)
0 Members and 1 Guest are viewing this topic.
TLP
Jr. Member
Offline
Posts: 64
Clientes getting same ip even with Duplicate Connections checked
«
on:
May 07, 2012, 08:37:07 am »
Hello, my clients are getting the same ip from the same certificate, but i enabled Duplicate Connections on the server config
is anything else to do???
Logged
GruensFroeschli
Global Moderator
Hero Member
Offline
Posts: 4901
No i will not fix your computer!
Re: Clientes getting same ip even with Duplicate Connections checked
«
Reply #1 on:
May 07, 2012, 08:40:41 am »
You have to
disable
the "Duplicate Connections" checkbox.
Otherwise you get the behaviour you're observing.
Also: Dont assign multiple clients the same certificate.
Every client has to have his own key/certificate pair.
Logged
We do what we must, because we can.
(Except when you PM me to help you directly - DONT: keep your issues in the forum)
TLP
Jr. Member
Offline
Posts: 64
Re: Clientes getting same ip even with Duplicate Connections checked
«
Reply #2 on:
May 07, 2012, 08:44:02 am »
It says
"Allow multiple concurrent connections from clients using the same Common Name."
and that is what I need
I need to generate a certificate for each branch, and every branch has 2 or 3 computers
so i created a certificate and a Client Specific Override for each cert, setting the ip to 192.168.xxx.0/24
but they all get the ip 192.168.xxx.2
Logged
TLP
Jr. Member
Offline
Posts: 64
Re: Clientes getting same ip even with Duplicate Connections checked
«
Reply #3 on:
May 07, 2012, 08:51:37 am »
Also, the clients are getting mask 255.255.255.252
and i configured /24
I am doomed
Logged
cmb
Administrator
Hero Member
Online
Posts: 6028
Re: Clientes getting same ip even with Duplicate Connections checked
«
Reply #4 on:
May 07, 2012, 09:48:20 am »
The clients always get a /30 mask, the /24 just defines the range. If you are allowing concurrent connections (you need that checked), and clients are getting the same IP, then I suspect you have a client specific override that assigns a static IP which you can't have in such scenarios.
Logged
pfSense Commercial Support
Paying customers receive support priority and as in depth of assistance as desired through the official commercial support channels at portal.pfsense.org. Forum users receive as much help as time permits.
TLP
Jr. Member
Offline
Posts: 64
Re: Clientes getting same ip even with Duplicate Connections checked
«
Reply #5 on:
May 07, 2012, 10:01:45 am »
I have a custom for every certificate, so each branch gets an unique IP range
so Branch 1 i created an override with Tunnel Network = 192.168.101.0/24
Branch 2 Tunnel Network = 192.168.102.0/24
This cant be done???
Logged
cmb
Administrator
Hero Member
Online
Posts: 6028
Re: Clientes getting same ip even with Duplicate Connections checked
«
Reply #6 on:
May 07, 2012, 10:08:15 am »
You can't and don't want to do that. Only the iroute goes in the override in that case.
Logged
pfSense Commercial Support
Paying customers receive support priority and as in depth of assistance as desired through the official commercial support channels at portal.pfsense.org. Forum users receive as much help as time permits.
TLP
Jr. Member
Offline
Posts: 64
Re: Clientes getting same ip even with Duplicate Connections checked
«
Reply #7 on:
May 07, 2012, 10:15:41 am »
Why I dont wanna do this??
All the hosts are trusted managed computers, there is no workaround to this??
Logged
cmb
Administrator
Hero Member
Online
Posts: 6028
Re: Clientes getting same ip even with Duplicate Connections checked
«
Reply #8 on:
May 07, 2012, 03:24:20 pm »
Every client on a single OpenVPN server must have an address within the server's tunnel network. One server isn't able to use multiple subnets there. If you're trying to route that network to that branch, then you need an iroute.
Logged
pfSense Commercial Support
Paying customers receive support priority and as in depth of assistance as desired through the official commercial support channels at portal.pfsense.org. Forum users receive as much help as time permits.
TLP
Jr. Member
Offline
Posts: 64
Re: Clientes getting same ip even with Duplicate Connections checked
«
Reply #9 on:
May 10, 2012, 01:39:45 pm »
On the previous post u said "You [...] don't want to do that"
I did some research and found this can be done with tap, but tap generetes a lot of overhead, this isnt a real problem to me, can I do what I described before with tap???
I also found "topology subnet", is this possible??
Logged
cmb
Administrator
Hero Member
Online
Posts: 6028
Re: Clientes getting same ip even with Duplicate Connections checked
«
Reply #10 on:
May 10, 2012, 09:33:31 pm »
you don't want tap either, that's only very, very rarely desirable, and pretty much never for site to site.
Take out the hard coded tunnel network, add iroute as needed, and you're set.
Logged
pfSense Commercial Support
Paying customers receive support priority and as in depth of assistance as desired through the official commercial support channels at portal.pfsense.org. Forum users receive as much help as time permits.
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Administrative
-----------------------------
=> Forum rules
=> Messages from the pfSense Team
=> Feedback
-----------------------------
pfSense English Support
-----------------------------
=> Installation and Upgrades
=> General Questions
=> 2.1 Snapshot Feedback and Problems
=> Post a bounty
===> Completed Bounties
===> Expired/Withdrawn Bounties
=> Hardware
=> Firewalling
=> NAT
=> CARP/VIPs
=> Routing and Multi WAN
=> Traffic Shaping
=> DHCP and DNS
=> IPv6
=> IPsec
=> PPTP
=> PPPoE Server
=> Captive Portal
=> webGUI
=> Wireless
=> SNMP
=> Packages
=> Virtualization installations and techniques
=> OpenVPN
=> Gaming
-----------------------------
Development/Documentation
-----------------------------
=> Documentation
=> Development
-----------------------------
General Category
-----------------------------
=> General Discussion
-----------------------------
International Support
-----------------------------
=> Indonesian
=> Deutsch
=> Español
=> Français
=> Italiano
=> Russian
=> Nederlands
=> Norwegian
=> Portuguese
=> Polish
=> Romanian
=> Swedish
=> Turkish
-----------------------------
Retired
-----------------------------
=> 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
=> 1.2.1-RC Snapshot Feedback and Problems-RETIRED
=> 2.0-RC Snapshot Feedback and Problems - RETIRED
=> DNS Server testing area - RETIRED
Loading...