| 1 | = Overriding a pushed "route" in the client's config throws an error = |
| 2 | |
| 3 | When connecting to server that pushes routes using this: |
| 4 | |
| 5 | {{{ |
| 6 | ... |
| 7 | # Pushed routes |
| 8 | push "route 10.1.0.0 255.255.255.0" |
| 9 | }}} |
| 10 | |
| 11 | and when the client overrides them in its config: |
| 12 | |
| 13 | {{{ |
| 14 | ... |
| 15 | # Options |
| 16 | client |
| 17 | route-nopull |
| 18 | route 10.1.0.0 255.255.255.128 |
| 19 | route-metric 50 |
| 20 | ... |
| 21 | }}} |
| 22 | |
| 23 | This works but the client's log have this: |
| 24 | |
| 25 | {{{ |
| 26 | Options error: option 'route' cannot be used in this context |
| 27 | }}} |
| 28 | |
| 29 | This issue materializes because "route-nopull" option takes away the permission from the client to install server-pushed routes, effectively telling the option parser "no, this option is not valid here". |
| 30 | |
| 31 | [wiki:FAQ Return to FAQ] |