Scripts which allow the use of special authentication methods (LDAP, AD, MySQL/PostgreSQL, etc).
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
-
Contact:
Post
by maikcat » Tue Feb 19, 2013 12:53 pm
IP: xxx.145.50.1 Netmask 255.255.255.0
As you know I am using public IP pool so xxx.145.50.1 already configured at router side as gateway.
please advise.
unfortunately you have to divide your subnet....
how good is your subneting skills?
the downside is that you will lose some ips on the way....
your problem is purely ip subnetting...
regards
Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
-
imjebran
- OpenVPN Power User
- Posts: 75
- Joined: Tue Jul 03, 2012 10:38 am
Post
by imjebran » Tue Feb 19, 2013 1:20 pm
unfortunately you have to divide your subnet....
So If i divide my subnet IP: xxx.145.50.128 Netmask 255.255.255.128
OpenVPN server will take xxx.145.50.129 rest xxx.145.50.130 to xxx.145.50.254 for incoming VPN client.
problem is again that IP xxx.145.50.129 is gateway of this subnet am i right.
how good is your subneting skills?
I don't know
the downside is that you will lose some ips on the way
no issue if I lose few IPs.
-
maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
-
Contact:
Post
by maikcat » Tue Feb 19, 2013 1:34 pm
So If i divide my subnet IP: xxx.145.50.128 Netmask 255.255.255.128
OpenVPN server will take xxx.145.50.129 rest xxx.145.50.130 to xxx.145.50.254 for incoming VPN client.
problem is again that IP xxx.145.50.129 is gateway of this subnet am i right.
yes you are,
yes you need ip address re-assignment also
I don't know
i guess its time you will find out
no issue if I lose few IPs.
it depends of the number of subnets you intend to create,
using .128 mask you only lose extra 2 ips....
the problem is that you are assinging 126 ips to your clients,
if you want to assign 30 (+2) you need to brake your range by 8 (32*8)
meaning that you will loose 8*2 16 ips along the way...
Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
-
Douglas
- Forum Team
- Posts: 285
- Joined: Wed Aug 27, 2008 2:41 am
Post
by Douglas » Tue Feb 19, 2013 1:46 pm
Have your provider give you a /30 and route the /25 to it. No IP's lost then
-
imjebran
- OpenVPN Power User
- Posts: 75
- Joined: Tue Jul 03, 2012 10:38 am
Post
by imjebran » Wed Feb 20, 2013 9:08 am
Hi Michael, Douglas,
Thanks for advise, I have provided static route information to our provider.
I will update you once they done it.
Regards,
Jebran.
-
imjebran
- OpenVPN Power User
- Posts: 75
- Joined: Tue Jul 03, 2012 10:38 am
Post
by imjebran » Fri Feb 22, 2013 7:19 am
Hello Michael,
I want to say thanks to you for understanding my case.
As I open this case name "TUN can assign public IPs?" answer is YES.
It is working fine I have configure OpenVPN on windows server OS it is working, after putting static routes for subnet which assigned by OpenVPN on our router side.
Regards,
Jebran.
-
maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
-
Contact:
Post
by maikcat » Fri Feb 22, 2013 7:50 am
t is working fine I have configure OpenVPN on windows server OS it is working
glad to know that things worked out for you...
closing topic.
Best regards
Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"