NoPaste

Netzwerkkonfiguration Hetzner Server - Vorlagenrechner

von heisenberg
SNIPPET_DESC:
Netzwerkkonfiguration Hetzner Server - Vorlagenrechner
SNIPPET_CREATION_TIME:
19.01.2024 01:38:27
SNIPPET_PRUNE_TIME:
Unendlich

SNIPPET_TEXT:
  1. ip addr show dev vmbr0
  2.  
  3. 3: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
  4.     link/ether 4e:fd:2d:bf:28:2c brd ff:ff:ff:ff:ff:ff
  5.     inet 10.10.0.0/31 scope global vmbr0
  6.        valid_lft forever preferred_lft forever
  7.     inet6 2a01:xxx:xxx:zzz::56/127 scope global
  8.        valid_lft forever preferred_lft forever
  9.     inet6 fe80::4cfd:2dff:febf:282c/64 scope link
  10.        valid_lft forever preferred_lft forever
  11.  
  12. # ip addr show dev enp0s31f6
  13.  
  14. 2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
  15.     link/ether 90:1b:0e:b8:18:6c brd ff:ff:ff:ff:ff:ff
  16.     inet w.x.y.z/26 scope global enp0s31f6
  17.        valid_lft forever preferred_lft forever
  18.     inet6 2a01:xxx:xxx:zzz::25:57/128 scope global
  19.        valid_lft forever preferred_lft forever
  20.     inet6 fe80::921b:eff:feb8:186c/64 scope link
  21.        valid_lft forever preferred_lft forever
  22.        
  23. # ip -6 r | sort
  24.  
  25. 2a01:xxx:xxx:zzz::25:57 dev enp0s31f6 proto kernel metric 256 pref medium
  26. 2a01:xxx:xxx:zzz::56/127 dev vmbr0 proto kernel metric 256 pref medium
  27. 2a01:xxx:xxx:zzz::/64 via 2a01:xxx:xxx:zzz::57 dev vmbr0 metric 1024 pref medium
  28. 2a01:xxx:xxx:zzz::80/125 dev vmbr9 proto kernel metric 256 pref medium
  29. default via fe80::1 dev enp0s31f6 proto kernel metric 1024 onlink pref medium
  30. fe80::/64 dev enp0s31f6 proto kernel metric 256 pref medium
  31. fe80::/64 dev vmbr0 proto kernel metric 256 pref medium
  32. fe80::/64 dev vmbr10 proto kernel metric 256 pref medium
  33. fe80::/64 dev vmbr1 proto kernel metric 256 pref medium
  34. fe80::/64 dev vmbr2 proto kernel metric 256 pref medium
  35. fe80::/64 dev vmbr3 proto kernel metric 256 pref medium
  36. fe80::/64 dev vmbr4 proto kernel metric 256 pref medium
  37. fe80::/64 dev vmbr5 proto kernel metric 256 pref medium
  38. fe80::/64 dev vmbr6 proto kernel metric 256 pref medium
  39. fe80::/64 dev vmbr7 proto kernel metric 256 pref medium
  40. fe80::/64 dev vmbr8 proto kernel metric 256 pref medium
  41. fe80::/64 dev vmbr9 proto kernel metric 256 pref medium
  42.  
  43. # brctl show vmbr0
  44. bridge name     bridge id               STP enabled     interfaces
  45. vmbr0           8000.4efd2dbf282c       no              fwpr102p0
  46.                                                         tap100i0
  47. # iptables -t nat -L -v -n
  48. Chain PREROUTING (policy ACCEPT 7877 packets, 759K bytes)
  49.  pkts bytes target     prot opt in     out     source               destination        
  50.  1181 54892 DNAT       6    --  enp0s31f6 *       0.0.0.0/0            0.0.0.0/0            multiport dports  !22,8006,10042,6556 to:10.10.0.1
  51.  177K   17M DNAT       17   --  enp0s31f6 *       0.0.0.0/0            0.0.0.0/0            to:10.10.0.1
  52.  
  53. Chain INPUT (policy ACCEPT 412 packets, 28608 bytes)
  54.  pkts bytes target     prot opt in     out     source               destination        
  55.  
  56. Chain OUTPUT (policy ACCEPT 3064 packets, 189K bytes)
  57.  pkts bytes target     prot opt in     out     source               destination        
  58.  
  59. Chain POSTROUTING (policy ACCEPT 3977 packets, 234K bytes)
  60.  pkts bytes target     prot opt in     out     source               destination        
  61. 5766K  423M MASQUERADE  0    --  *      enp0s31f6  10.10.0.0/31         0.0.0.0/0

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN