Guest User

Untitled

a guest
Jan 21st, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.10 KB | None | 0 0
  1. Linux xxx-X550LC 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
  2.  
  3. conjureup0 Link encap:Ethernet HWaddr de:6c:af:10:43:16
  4. inet addr:10.99.0.1 Bcast:0.0.0.0 Mask:255.255.255.0
  5. inet6 addr: fe80::dc6c:afff:fe10:4316/64 Scope:Link
  6. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  7. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  8. TX packets:373 errors:0 dropped:0 overruns:0 carrier:0
  9. collisions:0 txqueuelen:1000
  10. RX bytes:0 (0.0 B) TX bytes:67696 (67.6 KB)
  11.  
  12. docker0 Link encap:Ethernet HWaddr 02:42:4f:04:7a:6c
  13. inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
  14. inet6 addr: fe80::42:4fff:fe04:7a6c/64 Scope:Link
  15. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  16. RX packets:198 errors:0 dropped:0 overruns:0 frame:0
  17. TX packets:570 errors:0 dropped:0 overruns:0 carrier:0
  18. collisions:0 txqueuelen:0
  19. RX bytes:52783 (52.7 KB) TX bytes:90304 (90.3 KB)
  20.  
  21. enp2s0f1 Link encap:Ethernet HWaddr bc:ee:7b:19:f6:ff
  22. UP BROADCAST MULTICAST MTU:1500 Metric:1
  23. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  24. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  25. collisions:0 txqueuelen:1000
  26. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  27.  
  28. lo Link encap:Local Loopback
  29. inet addr:127.0.0.1 Mask:255.0.0.0
  30. inet6 addr: ::1/128 Scope:Host
  31. UP LOOPBACK RUNNING MTU:65536 Metric:1
  32. RX packets:16471 errors:0 dropped:0 overruns:0 frame:0
  33. TX packets:16471 errors:0 dropped:0 overruns:0 carrier:0
  34. collisions:0 txqueuelen:1
  35. RX bytes:103617080 (103.6 MB) TX bytes:103617080 (103.6 MB)
  36.  
  37. vboxnet0 Link encap:Ethernet HWaddr 0a:00:27:00:00:00
  38. inet addr:192.168.99.1 Bcast:192.168.99.255 Mask:255.255.255.0
  39. inet6 addr: fe80::800:27ff:fe00:0/64 Scope:Link
  40. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  41. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  42. TX packets:270 errors:0 dropped:0 overruns:0 carrier:0
  43. collisions:0 txqueuelen:1000
  44. RX bytes:0 (0.0 B) TX bytes:50604 (50.6 KB)
  45.  
  46. veth86607c2 Link encap:Ethernet HWaddr 76:05:f3:47:87:0f
  47. inet6 addr: fe80::7405:f3ff:fe47:870f/64 Scope:Link
  48. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  49. RX packets:198 errors:0 dropped:0 overruns:0 frame:0
  50. TX packets:624 errors:0 dropped:0 overruns:0 carrier:0
  51. collisions:0 txqueuelen:0
  52. RX bytes:55555 (55.5 KB) TX bytes:96370 (96.3 KB)
  53.  
  54. wlp3s0f0 Link encap:Ethernet HWaddr 48:5a:b6:03:28:7f
  55. inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
  56. inet6 addr: fe80::e6a5:9e76:34f8:fe45/64 Scope:Link
  57. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  58. RX packets:657207 errors:0 dropped:0 overruns:0 frame:0
  59. TX packets:370496 errors:0 dropped:0 overruns:0 carrier:0
  60. collisions:0 txqueuelen:1000
  61. RX bytes:883579787 (883.5 MB) TX bytes:38367961 (38.3 MB)
  62.  
  63. Chain PREROUTING (policy ACCEPT)
  64. target prot opt source destination
  65. DOCKER all -- 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type LOCAL
  66.  
  67. Chain INPUT (policy ACCEPT)
  68. target prot opt source destination
  69.  
  70. Chain OUTPUT (policy ACCEPT)
  71. target prot opt source destination
  72. DOCKER all -- 0.0.0.0/0 !127.0.0.0/8 ADDRTYPE match dst-type LOCAL
  73. DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 to:192.168.99.100:32150
  74.  
  75. Chain POSTROUTING (policy ACCEPT)
  76. target prot opt source destination
  77. MASQUERADE all -- 172.17.0.0/16 0.0.0.0/0
  78. MASQUERADE tcp -- 172.17.0.2 172.17.0.2 tcp dpt:5000
  79. MASQUERADE all -- 10.99.0.0/24 !10.99.0.0/24
  80.  
  81. Chain DOCKER (2 references)
  82. target prot opt source destination
  83. RETURN all -- 0.0.0.0/0 0.0.0.0/0
  84. DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:5000 to:172.17.0.2:5000
  85.  
  86. Dec 22 20:14:41 xxx-X550LC kernel: [ 8848.624645] TRACE: raw:OUTPUT:policy:2 IN= OUT=lo SRC=127.0.0.1 DST=127.0.0.1 LEN=60 TOS=0x10 PREC=0x00 TTL=64 ID=47705 DF PROTO=TCP SPT=51306 DPT=80 SEQ=1122574632 ACK=0 WINDOW=43690 RES=0x00 SYN URGP=0 OPT (0204FFD70402080A00209B710000000001030307) UID=1000 GID=1000
  87. Dec 22 20:14:41 xxx-X550LC kernel: [ 8848.624659] TRACE: mangle:OUTPUT:policy:1 IN= OUT=lo SRC=127.0.0.1 DST=127.0.0.1 LEN=60 TOS=0x10 PREC=0x00 TTL=64 ID=47705 DF PROTO=TCP SPT=51306 DPT=80 SEQ=1122574632 ACK=0 WINDOW=43690 RES=0x00 SYN URGP=0 OPT (0204FFD70402080A00209B710000000001030307) UID=1000 GID=1000
  88. Dec 22 20:14:41 xxx-X550LC kernel: [ 8848.624667] TRACE: nat:OUTPUT:rule:2 IN= OUT=lo SRC=127.0.0.1 DST=127.0.0.1 LEN=60 TOS=0x10 PREC=0x00 TTL=64 ID=47705 DF PROTO=TCP SPT=51306 DPT=80 SEQ=1122574632 ACK=0 WINDOW=43690 RES=0x00 SYN URGP=0 OPT (0204FFD70402080A00209B710000000001030307) UID=1000 GID=1000
  89. Dec 22 20:14:42 xxx-X550LC kernel: [ 8849.622139] TRACE: raw:OUTPUT:policy:2 IN= OUT=lo SRC=127.0.0.1 DST=127.0.0.1 LEN=60 TOS=0x10 PREC=0x00 TTL=64 ID=47706 DF PROTO=TCP SPT=51306 DPT=80 SEQ=1122574632 ACK=0 WINDOW=43690 RES=0x00 SYN URGP=0 OPT (0204FFD70402080A00209C6B0000000001030307) UID=1000 GID=1000
  90. Dec 22 20:14:42 xxx-X550LC kernel: [ 8849.622169] TRACE: mangle:OUTPUT:policy:1 IN= OUT=lo SRC=127.0.0.1 DST=127.0.0.1 LEN=60 TOS=0x10 PREC=0x00 TTL=64 ID=47706 DF PROTO=TCP SPT=51306 DPT=80 SEQ=1122574632 ACK=0 WINDOW=43690 RES=0x00 SYN URGP=0 OPT (0204FFD70402080A00209C6B0000000001030307) UID=1000 GID=1000
  91. Dec 22 20:14:42 xxx-X550LC kernel: [ 8849.622180] TRACE: nat:OUTPUT:rule:2 IN= OUT=lo SRC=127.0.0.1 DST=127.0.0.1 LEN=60 TOS=0x10 PREC=0x00 TTL=64 ID=47706 DF PROTO=TCP SPT=51306 DPT=80 SEQ=1122574632 ACK=0 WINDOW=43690 RES=0x00 SYN URGP=0 OPT (0204FFD70402080A00209C6B0000000001030307) UID=1000 GID=1000
  92.  
  93. sudo sysctl -w net.ipv4.conf.all.route_localnet=1
  94. sudo iptables -t nat -A POSTROUTING -j MASQUERADE
Add Comment
Please, Sign In to add comment