Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat /proc/sys/net/ipv4/ip_forward
- 1
- root@edge-01:~# iptables-save -c
- # Generated by iptables-save v1.6.0 on Wed Nov 20 15:04:16 2019
- *filter
- :INPUT ACCEPT [216226:418809810]
- :FORWARD ACCEPT [0:0]
- :OUTPUT ACCEPT [208925:424099720]
- [2:168] -A INPUT -i tun0 -j ACCEPT
- [457:61242] -A INPUT -i enp0s3 -p udp -m udp --dport 1194 -j ACCEPT
- [15:900] -A FORWARD -i enp0s3 -o tun0 -j ACCEPT
- [0:0] -A FORWARD -i tun0 -o enp0s3 -j ACCEPT
- COMMIT
- # Completed on Wed Nov 20 15:04:16 2019
- # Generated by iptables-save v1.6.0 on Wed Nov 20 15:04:16 2019
- *nat
- :PREROUTING ACCEPT [177:9185]
- :INPUT ACCEPT [177:9185]
- :OUTPUT ACCEPT [224:13904]
- :POSTROUTING ACCEPT [224:13904]
- [20:1200] -A PREROUTING -p tcp -m tcp --dport 88 -j DNAT --to-destination 10.8.0.3:88
- [0:0] -A POSTROUTING -s 10.8.0.0/24 -o enp0s3 -j MASQUERADE
- COMMIT
- # Completed on Wed Nov 20 15:04:16 2019
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement