Created
February 28, 2020 16:59
-
-
Save lattera/7ce19b4f3e913728514d3ef7276995f3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
table <nats> counters { \ | |
192.168.8.0/24, \ | |
192.168.7.0/24, \ | |
192.168.10.0/24, \ | |
192.168.20.0/24 \ | |
} | |
scrub in all | |
nat on em0 from {<nats>} to any -> (em0) | |
nat on wlan0 from {<nats>} to any -> (wlan0) | |
nat on ue0 from {<nats>} to any -> (ue0) | |
rdr on em0 proto tcp from any to (em0) port 80 -> 192.168.7.9 port 80 | |
# laptop-dev-03 | |
rdr on em0 proto tcp from any to (em0) port 2222 -> 192.168.8.10 port 22 | |
# ghidra-01 | |
rdr on em0 proto tcp from any to (em0) port 2223 -> 192.168.8.105 port 22 | |
# win10 | |
rdr on em0 proto tcp from any to (em0) port 3389 -> 192.168.8.100 port 3389 | |
pass in proto tcp from any to (em0) port 22 | |
pass out all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment