Advertisement
cstk421

Router Config

Dec 18th, 2014
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.12 KB | None | 0 0
  1. !
  2. class-map match-all VOIP_RTP
  3. match access-group name VOIP_RTP
  4. class-map match-all VOIP_SIGNAL
  5. match access-group name VOIP_SIGNAL
  6. !
  7. !
  8. policy-map SHAPE_INNER
  9. class VOIP_RTP
  10. priority 450
  11. class VOIP_SIGNAL
  12. bandwidth 80
  13. class class-default
  14. fair-queue
  15. policy-map SHAPE_OUTER
  16. class class-default
  17. shape peak 7000000
  18. service-policy SHAPE_INNER
  19. !
  20. !
  21. !
  22. !
  23. interface Loopback0
  24. ip address 10.10.10.10 255.255.255.0
  25. !
  26. interface FastEthernet0/0
  27. ip address 172.16.0.1 255.255.252.0
  28. ip nat inside
  29. duplex auto
  30. speed auto
  31. !
  32. interface FastEthernet0/1
  33. ip address XXX.XXX.XXX.XXX 255.255.255.248
  34. ip nat outside
  35. duplex auto
  36. speed auto
  37. service-policy output SHAPE_OUTER
  38. !
  39. interface Serial0/0/0
  40. no ip address
  41. shutdown
  42. !
  43. ip default-gateway XXX.XXX.XXX.XXX
  44. ip route 0.0.0.0 0.0.0.0 XXX.XXX.XXX.XXX 10
  45. !
  46. no ip http server
  47. ip http authentication local
  48. no ip http secure-server
  49. ip nat pool pbx 172.16.0.3 172.16.0.3 netmask 255.255.252.0 type rotary
  50. ip nat inside source list 1 interface FastEthernet0/1 overload
  51. ip nat inside source static tcp 172.16.0.2 22 interface FastEthernet0/1 98
  52. ip nat inside source static udp 172.16.0.6 4500 interface FastEthernet0/1 4500
  53. ip nat inside source static udp 172.16.0.6 500 interface FastEthernet0/1 500
  54. ip nat inside source static tcp 172.16.0.6 5555 interface FastEthernet0/1 5555
  55. ip nat inside source static tcp 172.16.0.6 1194 interface FastEthernet0/1 1194
  56. ip nat inside source static tcp 172.16.0.6 443 interface FastEthernet0/1 443
  57. ip nat inside source static tcp 172.16.0.6 992 interface FastEthernet0/1 992
  58. ip nat inside source static tcp 172.16.0.6 3389 interface FastEthernet0/1 3392
  59. ip nat inside source static tcp 172.16.0.203 3389 interface FastEthernet0/1 3394
  60. ip nat inside source static tcp 172.16.0.122 3389 interface FastEthernet0/1 3393
  61. ip nat inside source static udp 172.16.0.4 25 interface FastEthernet0/1 25
  62. ip nat inside source static tcp 172.16.0.135 3389 interface FastEthernet0/1 3391
  63. ip nat inside source static tcp 172.16.0.2 443 interface FastEthernet0/1 4443
  64. ip nat inside source static tcp 172.16.0.4 3389 interface FastEthernet0/1 3390
  65. ip nat inside source static tcp 172.16.0.4 5222 interface FastEthernet0/1 5222
  66. ip nat inside source static udp 172.16.0.3 4569 interface FastEthernet0/1 4569
  67. ip nat inside source static tcp 172.16.0.4 1723 interface FastEthernet0/1 1723
  68. ip nat inside source static tcp 172.16.0.3 22 interface FastEthernet0/1 95
  69. ip nat inside source static tcp 172.16.0.1 22 interface FastEthernet0/1 99
  70. ip nat inside source static 172.16.0.4 XXX.XXX.XXX.XXX
  71. ip nat inside destination list 100 pool pbx
  72. ip nat inside destination list 101 pool pbx
  73. ip nat inside destination list 102 pool pbx
  74. !
  75. ip access-list extended VOIP_RTP
  76. permit udp any range 16384 65535 any range 16384 65535
  77. ip access-list extended VOIP_SIGNAL
  78. permit tcp any any range 5060 5061
  79. permit udp any any range 5060 5061
  80. permit udp any any eq 4569
  81. !
  82. access-list 1 permit 172.16.0.0 0.0.3.255
  83. access-list 100 permit udp any any range 10000 20000
  84. access-list 102 permit udp any any range 5060 5061
  85. access-list 103 permit tcp any any eq 47
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement