Any solution to automatic :
route add abc.def.ghi.klm MASK 255.255.255.252 192.168.159.1
enter
route delete abc.def.ghi.klm MASK 255.255.255.252 192.168.159.1
enter
and then obtain the share on server ?
Thanks
Ping only at the opening of VPN
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Ping only at the opening of VPN
if you need to run such route commands on the client, use an 'up' script/batch file:
where "up.bat" contains the route/net use commands you want
Instead of using "up up.bat" you can also use
Code: Select all
script-security 2
up up.bat
Instead of using "up up.bat" you can also use
Code: Select all
route-up up.bat
-
- OpenVpn Newbie
- Posts: 14
- Joined: Thu Feb 17, 2011 2:20 pm
[Resolved] Re: Ping only at the opening of VPN
I have only 8 IP but the diffused lan
Must be : 178.uvw.xyz.0/24
and NOT : 178.uvw.xyz.88/30
Now, everything is OK now
Must be : 178.uvw.xyz.0/24
and NOT : 178.uvw.xyz.88/30
Now, everything is OK now