I agree

On Thursday, April 7, 2016, /dev/rob0 <[email protected]> wrote:

> On Thu, Apr 07, 2016 at 01:14:37AM -0400, Samuel Seidel wrote:
> > I believe I took this a bit further than I needed.
> >
> > Right now I have two public IP's on a VPS. I have a single
> > openvpn client that I wish to connect. I want this client to
> > get the secondary IP.
>
> This looks like a case for old-fashioned p2p mode:
>
> [static peer, "server"]
> # your primary VPS IP here
> local primary.vps.ip.addr
> # don't set remote
> float
> # file generated by "openvpn --genkey --file /path/to/shared/key"
> # DO THAT ON A PHYSICAL MACHINE, not on the VPS
> secret "/path/to/shared/key"
> # first address is just any old unused RFC 1918 address
> # second address is your secondary IP
> ifconfig 172.28.28.28 secondary.vps.ip.addr
> ... (other settings as needed/desired)
>
> [dynamic peer, "client"]
> # don't set "local"
> remote primary.vps.ip.addr
> secret "/path/to/shared/key"
> # first address is your secondary IP
> # second address is that RFC 1918 address from above
> ifconfig secondary.vps.ip.addr 172.28.28.28
> ... (other settings as needed/desired)
>
> Do NOT bind the secondary IP on the VPS
> DO enable proxy ARP
>
> This is not a complete example; you can fill it in from JJK's book.
>
> Yes, you can do the NAT as JJK suggested, but ugh, NAT is bad.
> --
>   http://rob0.nodns4.us/
>   Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Openvpn-users mailing list
> [email protected] <javascript:;>
> https://lists.sourceforge.net/lists/listinfo/openvpn-users
>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to