VPN problem

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: VPN problem

Post by Lantis »

Spy, the use case is basically determining where internet traffic gets routed to. For private network yes agreed it can all be one network. But for this use case it's essentially rearranging the network to create a different gateway. If I understand it correctly...


So the problem you're running into is designed to stop people shooting themselves in the foot by opening the vpn on a port that is already in use.

In your scenario, this is the case, but in the process you actually free up the port and use it again.

I'll have a think if there's anything that can be done to work around this.
Your use case is a little unusual, but I get it. :)
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: VPN problem

Post by ispyisail »

yeah....

I need a network diagram so I can see what he is trying to do.

ajliberty
Posts: 19
Joined: Sat Dec 31, 2016 3:01 am

Re: VPN problem

Post by ajliberty »

Yes - all use Gargoyle.
https://photos.app.goo.gl/QCcztA4ihqNyRQpz7

Site 1 - Server Only - USA
Site 3 - Client Only - Travel
Site 2, can be used as a Client to Site 1, or it can be used as a NEW VPN Server based in EU.

When I'm on the road, (on site 3), I can think of times when I'd like to route my traffic through site 1, or site 2...

If I'm in the office of site 2, I can log into the router (R2) and change the setup between client or server... but from the road, I can not.

Nothing critically important here... a bit of a luxury problem to have and I can certainly live with a simpler 3 site VPN based in just 1 location.

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: VPN problem

Post by ispyisail »

Now we have something to work with

Image

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: VPN problem

Post by ispyisail »

set up R2 as a client
Image

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: VPN problem

Post by ispyisail »

R3
Image

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: VPN problem

Post by ispyisail »

R4 - iphone

Image

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: VPN problem

Post by ispyisail »

Tip

Reset the Gargoyle server (factory reset) start again and only change the the essential settings.

In the past I changed the client internal IP (10.8.0.1) address and had nothing but problems, Default where possible.

Having said that just try first.

To test ping 192.168.15.1 from your iphone (assuming your router is 192.168.15.1)

ajliberty
Posts: 19
Joined: Sat Dec 31, 2016 3:01 am

Re: VPN problem

Post by ajliberty »

This is great!
Thank you for putting thought into it.
Super helpful.. this will keep me busy putting it together.

Best wishes!
AJ

ajliberty
Posts: 19
Joined: Sat Dec 31, 2016 3:01 am

Re: VPN problem

Post by ajliberty »

Loving this - thanks so much for you help!

Quick thought - is it possible to have a Gargoyle router run the VPN Server on the wired ports... while having No Server Running on Wifi? Or Vica Versa?

(I know I know - I feel like I'm looking a gift horse... but this sure would be cool)

Thanks in advance for your thoughts.

Post Reply