Access to Single IP and Single Door, push parameter

Post Reply
chuck4forum
OpenVpn Newbie
Posts: 5
Joined: Wed Mar 29, 2017 1:40 am

Access to Single IP and Single Door, push parameter

Post by chuck4forum » Tue Oct 31, 2017 1:54 am

Hi,

I need to push an route only for an single server not an entire network at all.
How can I on the server side do that?
I have an openvpn server with access to other network servers.
Is possible to push "route 192.168.0.2/32"?

Case yes there is an possibility to push with the door too?

Thanks

novaflash
OpenVPN Expert
Posts: 493
Joined: Fri Apr 13, 2012 8:43 pm

Re: Access to Single IP and Single Door, push parameter

Post by novaflash » Tue Oct 31, 2017 8:05 am

> Is possible to push "route 192.168.0.2/32"?
Yes

> Case yes there is an possibility to push with the door too?
If it's a push door, you can open the door with a push.

chuck4forum
OpenVpn Newbie
Posts: 5
Joined: Wed Mar 29, 2017 1:40 am

Re: Access to Single IP and Single Door, push parameter

Post by chuck4forum » Wed Nov 29, 2017 1:18 am

hello I am trying to forward the network with the 80 service.
How can I do it with parameter push. push "route 192.168.1.0 255.255.255.0 80"? This command is valued? Is there something similar case not?

novaflash
OpenVPN Expert
Posts: 493
Joined: Fri Apr 13, 2012 8:43 pm

Re: Access to Single IP and Single Door, push parameter

Post by novaflash » Wed Nov 29, 2017 9:46 am

Routing works by IP, not by port.

What you can do is use group permissions on Access Server to push a route for 192.168.1.0/24:tcp/80 which will redirect all traffic for 192.168.1.0/24 to the VPN tunnel (assuming you don't have a subnet conflict, which is very likely with 192.168.1.0/24) and the Access Server will then block all traffic coming in to those IP addresses that isn't port 80.

novaflash
OpenVPN Expert
Posts: 493
Joined: Fri Apr 13, 2012 8:43 pm

Re: Access to Single IP and Single Door, push parameter

Post by novaflash » Wed Nov 29, 2017 9:47 am

Ohh I get it now. When you say "single door" you mean "single PORT". So yeah, use those instructions I gave you.

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 3348
Joined: Fri Jun 03, 2016 1:17 pm

Re: Access to Single IP and Single Door, push parameter

Post by TinCanTech » Wed Nov 29, 2017 11:13 am

novaflash wrote:
Wed Nov 29, 2017 9:47 am
you mean "single PORT".
Genius :twisted:

novaflash
OpenVPN Expert
Posts: 493
Joined: Fri Apr 13, 2012 8:43 pm

Re: Access to Single IP and Single Door, push parameter

Post by novaflash » Wed Nov 29, 2017 11:21 am

Open the gates.

chuck4forum
OpenVpn Newbie
Posts: 5
Joined: Wed Mar 29, 2017 1:40 am

Re: Access to Single IP and Single Port, push parameter

Post by chuck4forum » Wed Nov 29, 2017 10:11 pm

It was an single port thank you.

Post Reply