Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. cat /proc/sys/net/ipv4/ip_forward
  2. 1
  3. root@edge-01:~# iptables-save -c
  4. # Generated by iptables-save v1.6.0 on Wed Nov 20 15:04:16 2019
  5. *filter
  6. :INPUT ACCEPT [216226:418809810]
  7. :FORWARD ACCEPT [0:0]
  8. :OUTPUT ACCEPT [208925:424099720]
  9. [2:168] -A INPUT -i tun0 -j ACCEPT
  10. [457:61242] -A INPUT -i enp0s3 -p udp -m udp --dport 1194 -j ACCEPT
  11. [15:900] -A FORWARD -i enp0s3 -o tun0 -j ACCEPT
  12. [0:0] -A FORWARD -i tun0 -o enp0s3 -j ACCEPT
  13. COMMIT
  14. # Completed on Wed Nov 20 15:04:16 2019
  15. # Generated by iptables-save v1.6.0 on Wed Nov 20 15:04:16 2019
  16. *nat
  17. :PREROUTING ACCEPT [177:9185]
  18. :INPUT ACCEPT [177:9185]
  19. :OUTPUT ACCEPT [224:13904]
  20. :POSTROUTING ACCEPT [224:13904]
  21. [20:1200] -A PREROUTING -p tcp -m tcp --dport 88 -j DNAT --to-destination 10.8.0.3:88
  22. [0:0] -A POSTROUTING -s 10.8.0.0/24 -o enp0s3 -j MASQUERADE
  23. COMMIT
  24. # Completed on Wed Nov 20 15:04:16 2019
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement