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
Access to Single IP and Single Door, push parameter
-
- OpenVpn Newbie
- Posts: 5
- Joined: Wed Mar 29, 2017 1:40 am
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: Access to Single IP and Single Door, push parameter
> 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.
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.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.
-
- OpenVpn Newbie
- Posts: 5
- Joined: Wed Mar 29, 2017 1:40 am
Re: Access to Single IP and Single Door, push parameter
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?
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 Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: Access to Single IP and Single Door, push parameter
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.
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.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: Access to Single IP and Single Door, push parameter
Ohh I get it now. When you say "single door" you mean "single PORT". So yeah, use those instructions I gave you.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: Access to Single IP and Single Door, push parameter
Open the gates.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.
-
- OpenVpn Newbie
- Posts: 5
- Joined: Wed Mar 29, 2017 1:40 am
Re: Access to Single IP and Single Port, push parameter
It was an single port thank you.