Hello,
I have a bridge server with dhcp settings . This ist my settings for server config file
#
local 192.168.0.16
port 1194
proto udp
dev tap
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
ifconfig-pool-persist ipp.txt
server-bridge 192.168.0.16 255.255.255.0 192.168.0.200 192.168.0.250
push "route 192.168.0.0 255.255.255.0"
client-config-dir ccd
route 192.168.0.16 255.255.255.252
keepalive 10 60
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
I will connect with 6 clients, now i connect but every client get IP address 192.168.0.200,
and my vpn connections work for a minute then break up.
I think maybe the DHCP is not working properly ad fixed IP address will lose problem.
WBR!
Adis
Clinet IP fixed IP adress, how to give it with bridge server
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: 13
- Joined: Fri Apr 22, 2011 7:26 am
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Clinet IP fixed IP adress, how to give it with bridge se
a few comments:
* use instead of 'tap'
* what is inside the 'ccd' directory
* is each client assigned its own certificate - this is a requirement
* what does the server log file show when the second client connects
also, ask yourself if you REALLY need bridging - 99% of the people don't
* use
Code: Select all
dev tap0
* what is inside the 'ccd' directory
* is each client assigned its own certificate - this is a requirement
* what does the server log file show when the second client connects
also, ask yourself if you REALLY need bridging - 99% of the people don't
-
- OpenVpn Newbie
- Posts: 13
- Joined: Fri Apr 22, 2011 7:26 am
Re: Clinet IP fixed IP adress, how to give it with bridge se
Every client has own certificate.
IN ccd file ist txt with the certificat name of client ((klijent6) in this case ) file with this line
ifconfig-push 192.168.0.16 192.168.0.209
also i have ipp.txt file with this lines
server,192.168.0.200
klijent6,192.168.0.209
I use a bridge connestions for remote printing, becouse I had a problems with remote printing.
IN ccd file ist txt with the certificat name of client ((klijent6) in this case ) file with this line
ifconfig-push 192.168.0.16 192.168.0.209
also i have ipp.txt file with this lines
server,192.168.0.200
klijent6,192.168.0.209
I use a bridge connestions for remote printing, becouse I had a problems with remote printing.
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Clinet IP fixed IP adress, how to give it with bridge se
change the CCD file syntax to
Comment out the 'ifconfig-pool-persist' line and restart the server - using both 'client-config-dir' and 'ifconfig-pool-persist' does not make sense and is asking for trouble.
Code: Select all
<IP> 255.255.255.0
-
- OpenVpn Newbie
- Posts: 13
- Joined: Fri Apr 22, 2011 7:26 am
Re: Clinet IP fixed IP adress, how to give it with bridge se
It helps, thank you!