hello here is a sample log
e Oct 25 20:10:25 2011 Notified TAP-Win32 driver to set a DHCP IP/netmask of 9.9.0.6/255.255.255.252 on interface {E444161E-CD78-4AA1-8609-31D953996D89} [DHCP-serv: 9.9.0.5, lease-time: 31536000]
Tue Oct 25 20:10:25 2011 Successful ARP Flush on interface [24] {E444161E-CD78-4AA1-8609-31D953996D89}
Tue Oct 25 20:10:25 2011 settings.bat Local Area Connection 2 2000 2026 9.9.0.6 9.9.0.5 init
how can i make settings.bat the last script to be executed?? i want all the routes first to be done, then after it, settings.bat will run
PS: settings.bat has only certain commands like running another exe program(no routes) tnx
control up script
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: control up script
use a 'route-up' script instead of an 'up' script:
Code: Select all
route-up settings.bat
-
- OpenVpn Newbie
- Posts: 16
- Joined: Sun Oct 16, 2011 12:33 pm
Re: control up script
hmm. still the same problem
after successful arp flush, the script runs, but i lose internet connectivity (my pings timeout), then it resumes after completing the script

how can i make it have it push through initialization seqeunce completed, then right after initialization sequence completed, the script will run.
after successful arp flush, the script runs, but i lose internet connectivity (my pings timeout), then it resumes after completing the script

how can i make it have it push through initialization seqeunce completed, then right after initialization sequence completed, the script will run.
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: control up script
the 'tun-mtu' inconsistency needs to be fixed first - if this is not fixed the VPN itself will never work properly.
-
- OpenVpn Newbie
- Posts: 16
- Joined: Sun Oct 16, 2011 12:33 pm
Re: control up script
fixed the tun mtu problem, but still, the problem persists
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: control up script
Under normal circumstances the 'route-up' script is launched only AFTER all routes have been added.
Add
to the client config, make sure the 'up' line is change to 'route-up' and then reconnect the client; post the sanitized log file here so we can see what is going on.
Add
Code: Select all
verb 5