Assign Public IP's through Ovpn

Scripts which allow the use of special authentication methods (LDAP, AD, MySQL/PostgreSQL, etc).

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
User avatar
imjebran
OpenVPN Power User
Posts: 75
Joined: Tue Jul 03, 2012 10:38 am

Assign Public IP's through Ovpn

Post by imjebran » Thu Aug 23, 2012 8:02 am

Hello,

We have successfully configured Open VPN server on a windows server OS, almost every thing is configured successfully and working fine for us.

Just one thing still pending that we want to assign public IP's to each session of OpenVPN, wouldn't want to use NAT, is it possible that OpenVPN server give Public IPs to each client who and established connection via dialing OpenVPN, We have 60 additional IP with the server where OpenVPN installed.

Awaiting for you reply.

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Assign Public IP's through Ovpn

Post by maikcat » Thu Aug 23, 2012 8:07 am

hi there,

the routing for public ips is done bi ISPs...are you ISP?

AFAIK nat is the only way you can go....

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"

User avatar
imjebran
OpenVPN Power User
Posts: 75
Joined: Tue Jul 03, 2012 10:38 am

Re: Assign Public IP's through Ovpn

Post by imjebran » Tue Aug 28, 2012 7:54 pm

Hello maikcat,

Yes We are ISP providing internet through cable locally, we using VPN to authenticate our clients and providing public IP's to each VPN session, Already providing via PPTP windows RRAS.

Some of our clients are asking that we want to use OPEN VPN to authenticate our services and using internet.

Do you know how can we assign PUBLIC IP's without NAT to Openvpn clients?


Regards,
Jebran.

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Assign Public IP's through Ovpn

Post by maikcat » Wed Aug 29, 2012 11:19 am

hi there,

assigning ips to your openvpn clients is openvpns job (ccd files)

NAT on the other hand it depends on how you will design your network topology...

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"

User avatar
imjebran
OpenVPN Power User
Posts: 75
Joined: Tue Jul 03, 2012 10:38 am

Re: Assign Public IP's through Ovpn

Post by imjebran » Wed Aug 29, 2012 12:56 pm

Hi,

Thanks for suggestion.

I have also tried (ccd) files process this will be assigning public IPs, but it was assigning IP's to specific username or client certificate, we need to assign IP randomly from our IP range.

I think you got my point. :)

Jebran

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Assign Public IP's through Ovpn

Post by maikcat » Mon Sep 03, 2012 8:29 am

hi there,

please read about "server" directive... ;)

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"

User avatar
imjebran
OpenVPN Power User
Posts: 75
Joined: Tue Jul 03, 2012 10:38 am

Re: Assign Public IP's through Ovpn

Post by imjebran » Tue Sep 04, 2012 12:58 pm

Hello,

I will check "server" directive then update you, :)


Regards,
Jebran.

User avatar
imjebran
OpenVPN Power User
Posts: 75
Joined: Tue Jul 03, 2012 10:38 am

Re: Assign Public IP's through Ovpn

Post by imjebran » Fri Sep 07, 2012 8:09 am

Hello Michael,

Is the same thing possible if we configuring OpenVPN server on windows server 2008?

advise any tutorial if you have.


Regards,
Jebran.

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Assign Public IP's through Ovpn

Post by maikcat » Fri Sep 07, 2012 10:30 am

Is the same thing possible if we configuring OpenVPN server on windows server 2008?
yes , same things applies to windows also..

please check the documentation section on openvpn.net website,
there are examples manuals and howtos...

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"

Post Reply