summaryrefslogtreecommitdiff
path: root/docs/configuration/policy/local-route.rst
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2021-07-26 21:32:29 +0200
committerGitHub <noreply@github.com>2021-07-26 21:32:29 +0200
commitcb36772d25be42815a133d037a23899ca08f624a (patch)
tree6f3b3ebbee2269f49bb6dc61d4aafd2bc9b46bba /docs/configuration/policy/local-route.rst
parent9397b4fba4461a7a856a862d39f0dc7844888dd3 (diff)
parentfb2225147ee1cb822bafda1f4da7e2969c3a6379 (diff)
downloadvyos-documentation-cb36772d25be42815a133d037a23899ca08f624a.tar.gz
vyos-documentation-cb36772d25be42815a133d037a23899ca08f624a.zip
Merge pull request #578 from yocasquito/policy_docs_redo
Policy file updated/recreated. Added commands and descriptions. From …
Diffstat (limited to 'docs/configuration/policy/local-route.rst')
-rw-r--r--docs/configuration/policy/local-route.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/configuration/policy/local-route.rst b/docs/configuration/policy/local-route.rst
new file mode 100644
index 00000000..0b0122ab
--- /dev/null
+++ b/docs/configuration/policy/local-route.rst
@@ -0,0 +1,20 @@
+##################
+Local Route Policy
+##################
+
+Policies for local traffic are defined in this section.
+
+*************
+Configuration
+*************
+
+Local Route
+===========
+
+.. cfgcmd:: set policy local-route rule <1-32765> set table <1-200|main>
+
+ Set routing table to forward packet to.
+
+.. cfgcmd:: set policy local-route rule <1-32765> source <x.x.x.x|x.x.x.x/x>
+
+ Set source address or prefix to match.