Advertisement
Guest User

Untitled

a guest
Apr 28th, 2014
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. vyos@DATACENTER:~$ sh configuration
  2. interfaces {
  3. ethernet eth0 {
  4. duplex auto
  5. smp_affinity auto
  6. speed auto
  7. }
  8. ethernet eth1 {
  9. duplex auto
  10. smp_affinity auto
  11. speed auto
  12. }
  13. ethernet eth2 {
  14. address LANIP/26
  15. duplex auto
  16. smp_affinity auto
  17. speed auto
  18. }
  19. ethernet eth3 {
  20. address 172.16.100.77/24
  21. duplex auto
  22. smp_affinity auto
  23. speed auto
  24. }
  25. tunnel tun0 {
  26. address 172.16.200.2/24
  27. encapsulation gre
  28. local-ip LANIP
  29. remote-ip WANIP
  30. }
  31. system {
  32. config-management {
  33. commit-revisions 20
  34. }
  35. console {
  36. }
  37. host-name DATACENTER
  38. login {
  39. user vyos {
  40. authentication {
  41. encrypted-password ****************
  42. }
  43. level admin
  44. }
  45. }
  46. ntp {
  47. server 172.16.100.1 {
  48. }
  49. }
  50. package {
  51. auto-sync 1
  52. repository community {
  53. components main
  54. distribution hydrogen
  55. password ****************
  56. url http://packages.vyos.net/vyos
  57. username ""
  58. }
  59. }
  60. syslog {
  61. global {
  62. facility all {
  63. level notice
  64. }
  65. facility protocols {
  66. level debug
  67. }
  68. }
  69. host 172.16.100.60 {
  70. facility all {
  71. level debug
  72. }
  73. }
  74. }
  75. }
  76. vpn {
  77. ipsec {
  78. esp-group foo {
  79. proposal 1 {
  80. }
  81. }
  82. ike-group foo {
  83. proposal 1 {
  84. }
  85. }
  86. ipsec-interfaces {
  87. interface eth2
  88. }
  89. site-to-site {
  90. peer WANIP {
  91. authentication {
  92. pre-shared-secret ****************
  93. }
  94. ike-group foo
  95. local-address LANIP
  96. tunnel 1 {
  97. esp-group foo
  98. local {
  99. prefix 172.16.100.0/24
  100. }
  101. remote {
  102. prefix 172.16.103.0/24
  103. }
  104. }
  105. }
  106. }
  107. }
  108. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement