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?
Help cannot configure connect FROM 10.0.0.0/8
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Jan 13, 2015 10:19 pm
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Help cannot configure connect FROM 10.0.0.0/8
you are joking right?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.

post your configs please, usually you need to change the server directive...
Michael.
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Help cannot configure connect FROM 10.0.0.0/8
Using the example server and client configs the only change you have to make is the server directive ..maikcat wrote:usually you need to change the server directive...
EG:
Code: Select all
server 192.168.110.0 255.255.255.0
EG:
Code: Select all
iptables -t nat -A POSTROUTING -s 192.168.110.0/24 -o ethX -j MASQUERADE
Does your head office really require 16,777,216 hosts or is this just a poorly configured network ..Abnorman wrote: This is our head office network. 10.0.0.0/8 is not available to be used by OpenVPN
Have you read this:
http://en.wikipedia.org/wiki/Private_network