Page 1 of 1

[Solved] Single public IP on server for redirect gateway

Posted: Wed Feb 03, 2016 1:03 pm
by sp1dergeek
I've moved an installation to server (Debian) which has a single public IP, and uses UFW (Uncomplicated Firewall) to block all but port 1194. (Previously I've only ever had experience with a private IP range behind an external firewall).

Trying to get my head around if this should work or not - with a "push" route surely the VPN wouldn't be able to communicate, but without it how does the client know to send all the traffic over the VPN?

Can anyone clarify this for me? What's the best practice in this environment?

Re: Single public IP on server?

Posted: Wed Feb 03, 2016 8:11 pm
by Traffic
sp1dergeek wrote:Trying to get my head around if this should work or not
It will work .. the public IP of the server does not influence --push "redirect-gateway" as the gateway is set to the server VPN IP.

Re: Single public IP on server?

Posted: Wed Feb 03, 2016 9:26 pm
by sp1dergeek
That's great, working nicely, thank you.

Re: Single public IP on server?

Posted: Wed Feb 03, 2016 9:55 pm
by Traffic
Great .. thanks for letting us know 8-)