Page 1 of 1

Help cannot configure connect FROM 10.0.0.0/8

Posted: Tue Jan 13, 2015 10:32 pm
by Abnorman
Hi. Apologies if this is a silly question, but I have not been able to configure OpenVPN.

The problem: Every example I can find of OpenVPN config assumes that it can distribute the 10.8.0.0/24 addresses as its own.

I may not do this. This is our head office network. 10.0.0.0/8 is not available to be used by OpenVPN.

All attempts I have made to change the OpenVPN network to 172 or 192.168 private network addresses I can use have failed. I can find no documentation at all for anything but the damned 10.8.0.0 setup.

How do I simply modify the network to a different one?

Re: Help cannot configure connect FROM 10.0.0.0/8

Posted: Wed Jan 14, 2015 7:02 am
by maikcat
All attempts I have made to change the OpenVPN network to 172 or 192.168 private network addresses I can use have failed. I can find no documentation at all for anything but the damned 10.8.0.0 setup.
you are joking right? :D

post your configs please, usually you need to change the server directive...

Michael.

Re: Help cannot configure connect FROM 10.0.0.0/8

Posted: Wed Jan 14, 2015 12:30 pm
by Traffic
maikcat wrote:usually you need to change the server directive...
Using the example server and client configs the only change you have to make is the server directive ..

EG:

Code: Select all

server 192.168.110.0 255.255.255.0
Later, you will probably need to change your iptables NAT rule ..

EG:

Code: Select all

iptables -t nat -A POSTROUTING -s 192.168.110.0/24 -o ethX -j MASQUERADE
Abnorman wrote: This is our head office network. 10.0.0.0/8 is not available to be used by OpenVPN
Does your head office really require 16,777,216 hosts or is this just a poorly configured network ..

Have you read this:
http://en.wikipedia.org/wiki/Private_network