summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin/ovpn-linkup
Commit message (Collapse)AuthorAgeFilesLines
* Use env var provided by openvpn to determine if it's tun or tap, it should ↵Renato Botelho2014-02-201-3/+1
| | | | fix #3475
* Fix test for tun device, -f fails because it's a char device, not a regular ↵jim-p2011-07-061-1/+1
| | | | file. -e works.
* Do not add an automatic gateway on openvpn tap case since its only the netmask.Ermal2011-07-011-4/+10
|
* Fix ovpn-linkup so it writes out the proper gateway IP in all cases.jim-p2011-06-201-2/+2
| | | | (For some reason -n wasn't working properly, plus $5 is the right parameter for the remote IP here)
* Test the existence of route_vpn_gateway variable and if set use it as a ↵Ermal2011-03-281-1/+5
| | | | gateway. Recommended-by: http://forum.pfsense.org/index.php/topic,24436.msg158589.html#msg158589
* fix text (remove entirely, comment is related to an open feature request). ↵Chris Buechler2011-02-081-2/+0
| | | | ticket #1262
* Ticket #1152. Call rc.newwanip even on openvpn linkup event to do the ↵Ermal2011-01-031-1/+1
| | | | correct reloading of gateways and services. Add a safe belt to avoid a recursion in openvpn itself from rc.newwanip.
* Ticket #876. Actually the event to send is interface newip $ip rather ↵Ermal2010-09-151-1/+1
| | | | interface configure! also use the fact that now we have a /tmp/$if_defaultgw rather than relying in route get default which might block.
* Reload dns and interface properly on dynamic types.Ermal2010-09-151-1/+1
|
* Use the new events mechanisms to dispatch events.Ermal2010-09-071-2/+2
|
* Add scpecific scripts for when ovpn goes up and down so we get neccessary ↵Ermal2010-05-071-0/+11
values for used in varius areas of pfSense. TODO is find out how to get DNS info form openvpn.
OpenPOWER on IntegriCloud