Skip to content

Instantly share code, notes, and snippets.

@ipkpjersi
Created June 11, 2023 00:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ipkpjersi/04fb75f9d67f795ffd062659a82a8819 to your computer and use it in GitHub Desktop.
Save ipkpjersi/04fb75f9d67f795ffd062659a82a8819 to your computer and use it in GitHub Desktop.
openvpn-server iptables
Chain INPUT (policy ACCEPT 227K packets, 16M bytes)
pkts bytes target prot opt in out source destination
19M 8921M ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:1194
4181M 8007G ufw-before-logging-input all -- * * 0.0.0.0/0 0.0.0.0/0
4181M 8007G ufw-before-input all -- * * 0.0.0.0/0 0.0.0.0/0
3210M 6346G ufw-after-input all -- * * 0.0.0.0/0 0.0.0.0/0
3210M 6346G ufw-after-logging-input all -- * * 0.0.0.0/0 0.0.0.0/0
3210M 6346G ufw-reject-input all -- * * 0.0.0.0/0 0.0.0.0/0
3210M 6346G ufw-track-input all -- * * 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy ACCEPT 60995 packets, 3381K bytes)
pkts bytes target prot opt in out source destination
34M 25G ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
1069K 61M ACCEPT all -- * * 10.8.0.0/24 0.0.0.0/0
60995 3381K ufw-before-logging-forward all -- * * 0.0.0.0/0 0.0.0.0/0
60995 3381K ufw-before-forward all -- * * 0.0.0.0/0 0.0.0.0/0
60995 3381K ufw-after-forward all -- * * 0.0.0.0/0 0.0.0.0/0
60995 3381K ufw-after-logging-forward all -- * * 0.0.0.0/0 0.0.0.0/0
60995 3381K ufw-reject-forward all -- * * 0.0.0.0/0 0.0.0.0/0
60995 3381K ufw-track-forward all -- * * 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy ACCEPT 4700K packets, 955M bytes)
pkts bytes target prot opt in out source destination
2460M 7830G ufw-before-logging-output all -- * * 0.0.0.0/0 0.0.0.0/0
2460M 7830G ufw-before-output all -- * * 0.0.0.0/0 0.0.0.0/0
1584M 6186G ufw-after-output all -- * * 0.0.0.0/0 0.0.0.0/0
1584M 6186G ufw-after-logging-output all -- * * 0.0.0.0/0 0.0.0.0/0
1584M 6186G ufw-reject-output all -- * * 0.0.0.0/0 0.0.0.0/0
1584M 6186G ufw-track-output all -- * * 0.0.0.0/0 0.0.0.0/0
Chain ufw-after-forward (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-after-input (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-after-logging-forward (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-after-logging-input (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-after-logging-output (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-after-output (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-before-forward (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-before-input (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-before-logging-forward (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-before-logging-input (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-before-logging-output (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-before-output (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-reject-forward (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-reject-input (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-reject-output (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-track-forward (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-track-input (1 references)
pkts bytes target prot opt in out source destination
Chain ufw-track-output (1 references)
pkts bytes target prot opt in out source destination
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment